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!)
A123250 Primes of the form 2^k + 5. 21
7, 13, 37, 2053, 140737488355333, 9007199254740997, 2787593149816327892691964784081045188247557, 11150372599265311570767859136324180752990213 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A059242 is the main entry for this sequence.
If 2^n + 5 is prime then n is odd. Proof: Lemma 1: a^n+b^n = (a+b)(a^n-1 - a^(n-2)b + ... + b^(n-1)) 2^n + 5 = 2*(2^(n-1)+1) + 3. Then if n is even, n-1 is odd and by Lemma 1, 2+1 divides 2*(2^(n-1)+1) and thus divides 2^n+5 so it cannot be prime.
LINKS
FORMULA
a(n) = 2^A059242(n) + 5. - Elmo R. Oliveira, Nov 08 2023
PROG
(PARI) g(n, p) = for(k=1, n, y=p+2^k; if(isprime(y), print1(y", ")))
CROSSREFS
Sequence in context: A201597 A158375 A144729 * A062591 A056249 A107207
KEYWORD
nonn
AUTHOR
Cino Hilliard, Oct 08 2006
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 June 7 06:27 EDT 2024. Contains 373144 sequences. (Running on oeis4.)