A209250 Numbers n such that (2^64 - 189)*10^n + 1 is prime.
38, 214, 425, 557, 713, 1322, 1330, 5061, 19090, 19876, 31954, 41012, 53924, 94455, 124516, 127326, 413500, 476124
Offset: 1
Examples
38 is in the sequence since (2^64 - 189)*10^38 + 1 is prime. 10 is not in the sequence since (2^64 - 189)*10^10 + 1 = 83639*2205519443526291733162759 is composite.
Links
- Edward A. Trice, Page for a(18) at The Prime Pages
- Edward A. Trice, Page for a(17) at The Prime Pages
Programs
-
Mathematica
Select[Range[725], PrimeQ[(2^64 - 189)*10^# + 1] &] (* G. C. Greubel, Jan 05 2018 *)
-
PARI
is(n)=ispseudoprime((2^64-189)*10^n+1) \\ Charles R Greathouse IV, Jun 13 2017
Comments