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.

A276196 Smallest prime >= decimal expansion of e truncated to n places (A011543).

Original entry on oeis.org

2, 29, 271, 2719, 27191, 271829, 2718281, 27182839, 271828199, 2718281831, 27182818309, 271828182863, 2718281828489, 27182818284617, 271828182845909, 2718281828459051, 27182818284590483, 271828182845904533, 2718281828459045269, 27182818284590452387, 271828182845904523609
Offset: 0

Views

Author

Ilya Gutkovskiy, Aug 24 2016

Keywords

Examples

			a(5) = 271829, since this is the smallest prime >= floor(e*10^5) = 271828.
e = 2.71828182845904523536028747135266249775724...
		

Crossrefs

Programs

  • Mathematica
    Table[NextPrime[Floor[E 10^n] - 1], {n, 0, 20}]

Formula

a(n) = A007918(A011543(n)).
a(n) = A000040(A000720(A011543(n)-1)+1).
a(A064118(n)-1) = A007512(n).