OFFSET
0,1
COMMENTS
Look at all twin primes (p1, p2); if 2^p2 - 1 is composite print p2.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..420
MATHEMATICA
Transpose[Select[Partition[Prime[Range[300]], 2, 1], Last[#]-First[#] == 2&&!PrimeQ[2^Last[#]-1]&]][[2]] (* Harvey P. Dale, Oct 20 2013 *)
PROG
(PARI) twopm1(n) = { forprime(x=2, n, y=2^x-1; if(!isprime(y) && isprime(x-2), print1(x", ") ) ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Oct 25 2003
EXTENSIONS
Corrected and extended by Ray Chandler, Nov 07 2003
STATUS
approved