The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A296445 Numbers k such that 10^(2k)/2 - 10^k + 1 is prime. 1
1, 5, 10, 12, 24, 48, 960, 2217, 13045, 13140 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers of this form divide 10^(4k)+4.
LINKS
EXAMPLE
41, 4999900001, 49999999990000000001, and 499999999999000000000001 are prime, while 4901=13^2*29, 499001=17*149*197, etc.
MATHEMATICA
ParallelMap[If[PrimeQ[10^(2 #)/2 - 10^# + 1], #, Nothing] &, Range@ 4000] (* Robert G. Wilson v, Dec 13 2017 *)
PROG
(PARI) isok(k) = isprime(10^(2*k)/2-10^k+1); \\ Michel Marcus, Dec 13 2017
CROSSREFS
See A296446 for 10^(2k)/2 + 10^k + 1.
Sequence in context: A103676 A313375 A276606 * A313376 A129846 A194464
KEYWORD
nonn,more
AUTHOR
Patrick A. Thomas, Dec 13 2017
EXTENSIONS
a(7) from Michel Marcus, Dec 13 2017
a(8) from Robert G. Wilson v, Dec 13 2017
a(9)-a(10) from Michael S. Branicky, Apr 09 2024
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 14:11 EDT 2024. Contains 372552 sequences. (Running on oeis4.)