login
A087858
Lesser of twin primes p such that 2^p-1 is prime.
2
3, 5, 17, 107, 521
OFFSET
1,1
COMMENTS
If there are any further terms, they will be no smaller than 56220127 as the GIMPS project has tested and verified all exponents below 56220127. - David R. Kirkby, Jul 19 2021
MATHEMATICA
twinPrimeAboveQ[n_]:=PrimeQ[n+2]
Table[MersennePrimeExponent[n], {n, 47}] // Select[twinPrimeAboveQ]
(* David R. Kirkby, Jul 19 2021 *)
PROG
(PARI) twopm1(n) = { sr=0; forprime(x=2, n, y=2^x-1; if(isprime(x+2), y2=2^(x+2)-1, y2=0); if(isprime(y) && isprime(x+2), print1(x", "); sr+=1.0/y; sr+=1.0/y2; ) ); }
CROSSREFS
Sequence in context: A346791 A174722 A176131 * A191222 A084723 A288376
KEYWORD
nonn,hard,more
AUTHOR
Cino Hilliard, Oct 25 2003
STATUS
approved