login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A111193
Numbers k such that floor(Pi^k + e^k) is prime.
0
1, 2, 20, 21, 3087, 3284
OFFSET
1,2
COMMENTS
No more terms through 10000.
EXAMPLE
floor(Pi^20 + e^20) = 9255121991 is prime, hence 20 is a term.
MATHEMATICA
$MaxExtraPrecision = 10^6; Do[k = Floor[Pi^n + E^n]; If[PrimeQ[k], Print[n]], {n, 1, 10000}]
CROSSREFS
Cf. A061675.
Sequence in context: A024629 A235500 A319953 * A136906 A260570 A022372
KEYWORD
nonn,hard,more
AUTHOR
Ryan Propper, Oct 23 2005
STATUS
approved