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!)
A030239 a(n) is the smallest number k such that k*2^(2^n) + 1 is prime. 2
1, 1, 1, 1, 1, 18, 12, 21, 102, 202, 826, 708, 502, 1522, 6223, 3493, 1063, 50655, 10051, 328426 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
The primality test for Proth numbers can be used. - Thomas Ordowski, Apr 13 2019
LINKS
FORMULA
a(n) = min{a : a > 0 and (a*2^2^n)! == -1 (mod a*2^2^n+1)}.
PROG
(PARI) isok(k, n) = isprime(k*2^(2^n) + 1);
a(n) = my(k=1); while (!isok(k, n), k++); k; \\ Michel Marcus, Apr 15 2019
CROSSREFS
Sequence in context: A194659 A194186 A033668 * A040308 A077810 A232505
KEYWORD
nonn,more
AUTHOR
Alar Leibak (aleibak(AT)cyber.ee)
EXTENSIONS
a(11)-a(17) from Donovan Johnson, Mar 26 2010
a(18)-a(19) from Donovan Johnson, Jan 14 2012
Name edited by Thomas Ordowski, Apr 13 2019
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 4 15:39 EDT 2024. Contains 372254 sequences. (Running on oeis4.)