|
|
A152783
|
|
Values of p for which 2^p - 1 is prime and which are followed by a gap such that no 2^q - 1 is prime for p < q < 2*p.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
127 is in this sequence because 2^127-1 is prime, but no value of 2^q-1 is prime for q > 127 and q <= 254. (The next value of q to yield a prime is 521 and is outside the (127,254] interval.)
|
|
MATHEMATICA
|
s={}; Do[If[MersennePrimeExponent[k+1] > 2 * MersennePrimeExponent[k], AppendTo[s, MersennePrimeExponent[k]]], {k, 1, 44}]; s (* Amiram Eldar, Feb 03 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|