cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A080053 Exp(n) is further from an integer than any previous exp(k) for 1 <= k < n.

Original entry on oeis.org

1, 2, 4, 5, 6, 10, 16, 21, 85, 115, 118, 136, 169, 177, 346, 1272, 2624, 8823, 12504, 13863, 36507, 51099, 63179, 111473, 143325, 153014, 255220, 476129
Offset: 1

Views

Author

Robert G. Wilson v, Jan 20 2003

Keywords

Examples

			Exp(4) = 54.59815... is closer to an integer than exp(2) = 7.389056... but not exp(3) = 20.085536...
The discrepancy at 111473 is 0.499991807891326554242475...
		

Crossrefs

Cf. A079490.

Programs

  • Mathematica
    a = 0; Do[ d = Abs[ Round[E^n] - N[E^n, Ceiling[ Log[10, E^n] + 10]]]; If[d > a, Print[n]; a = d], {n, 1, 1000000}]

Extensions

a(25)-a(28) from Martin Schlueter, Feb 08 2014