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.

A111193 Numbers k such that floor(Pi^k + e^k) is prime.

Original entry on oeis.org

1, 2, 20, 21, 3087, 3284
Offset: 1

Views

Author

Ryan Propper, Oct 23 2005

Keywords

Comments

No more terms through 10000.

Examples

			floor(Pi^20 + e^20) = 9255121991 is prime, hence 20 is a term.
		

Crossrefs

Cf. A061675.

Programs

  • Mathematica
    $MaxExtraPrecision = 10^6; Do[k = Floor[Pi^n + E^n]; If[PrimeQ[k], Print[n]], {n, 1, 10000}]