|
|
A100339
|
|
Primes of the form 2^q + q where q is not a prime.
|
|
1
|
|
|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|