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”).

A248349
Numbers k such that 10^k + 123456789 is prime.
6
4, 11, 17, 23, 26, 79, 82, 221, 526, 821, 1204, 5392, 13139, 35879, 60991, 77669
OFFSET
1,1
COMMENTS
a(14) > 20000.
a(17) > 2*10^5. - Robert Price, Oct 26 2019
MATHEMATICA
Select[Range[10^4], PrimeQ[10^# + 123456789] &] (* Robert Price, Sep 08 2019 *)
PROG
(PARI) for(n=1, 10^4, if(ispseudoprime(10^n + 123456789), print1(n, ", ")))
(Magma) [n: n in [1..500] | IsPrime(10^n + 123456789)]; // Vincenzo Librandi, Oct 12 2014
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Derek Orr, Oct 05 2014
EXTENSIONS
a(14)-a(16) from Robert Price, Oct 26 2019
STATUS
approved