login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A108264
Consider primes p and q such that p = 2^k + 9 and q = 2^(k+1) + 9 for some k; sequence gives values of p.
1
11, 13, 41, 73, 521
OFFSET
1,1
COMMENTS
No additional terms up to k=5000. - Harvey P. Dale, Mar 08 2015
MATHEMATICA
2^#+9&/@(Flatten[Position[Partition[If[PrimeQ[#], 1, 0]&/@(2^Range[10]+ 9), 2, 1], {1, 1}]]) (* Harvey P. Dale, Mar 08 2015 *)
PROG
(PARI) g(m, n, b) = { for(x=0, n, y=m+b^x+b%2; z=m+b^(x+1)+b%2; if(isprime(y)&isprime(z), print1(y", ") ) ) }
CROSSREFS
Cf. A108265.
Sequence in context: A132241 A329175 A045467 * A023268 A154292 A188386
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jun 29 2005
STATUS
approved