Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A123250
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A123250 Primes of the form 2^n + 5. +0
2
7, 13, 37, 2053, 140737488355333, 9007199254740997, 2787593149816327892691964784081045188247557, 11150372599265311570767859136324180752990213 (list; graph; listen)
OFFSET

1,1

COMMENT

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.

PROGRAM

(PARI) g(n, p) = for(k=1, n, y=p+2^k; if(isprime(y), print1(y", ")))

CROSSREFS

Sequence in context: A094069 A052378 A090607 this_sequence A062591 A056249 A107207

Adjacent sequences: A123247 A123248 A123249 this_sequence A123251 A123252 A123253

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Oct 08 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research