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!)
A100339 Primes of the form 2^q + q where q is not a prime. 1
3, 521, 32783, 549755813927, 37778931862957161709643, 2417851639229258349412433 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The next term is 2^735+735 = 18073..35103, 222 digits long.
LINKS
EXAMPLE
For q = 9, 2^9+9 = 521 which is prime.
MATHEMATICA
Select[Table[If[!PrimeQ[n], 2^n+n, 0], {n, 1200}], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Feb 18 2011*)
PROG
(PARI) g1(p, n)=for(x=1, n, c=composite(x); y=p^c+c; if(gcd(y, c)==1, if(isprime(y), print1 (y", ")))) composite(n) = \ the n-th composite number { local(c, x); c=1; x=0; while(c <= n, x++; if(!isprime(x), c++); ); return(x) }
CROSSREFS
Sequence in context: A155852 A003392 A133026 * A195626 A332153 A158247
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jan 11 2005
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 7 11:37 EDT 2024. Contains 372302 sequences. (Running on oeis4.)