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.

Showing 1-2 of 2 results.

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}]

A117839 Primes of the form floor(Pi^k + e^k).

Original entry on oeis.org

2, 5, 17, 9255121991, 28870447577
Offset: 1

Views

Author

Jonathan Vos Post, Apr 30 2006

Keywords

Comments

Intersection of A000040 and A061675.
The next term has 1535 digits. - Harvey P. Dale, Apr 26 2011

Crossrefs

See also A059792 (Numbers k such that floor(Pi^k) is prime) and their corresponding primes A077547.
See also A059303 (Numbers k such that floor(e^k) + 1 is prime) and their corresponding primes A118840.

Programs

  • Mathematica
    Select[Table[Floor[\[Pi]^n+E^n],{n,0,5000}],PrimeQ]  (* Harvey P. Dale, Apr 26 2011 *)
Showing 1-2 of 2 results.