|
|
A200819
|
|
Primes of the form (2^k - k)*2^k - 1.
|
|
7
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The corresponding indices k are 2, 4, 5, 8, 77, 377, 4547, ... (see A200818).
The generalization of this sequence is possible with the primes of the form (b^n +- k)*b^n +- 1.
For k = 377, a(6) contains 227 digits;
For k = 4547, a(7) contains 2738 digits;
For k = 8248, a(8) contains 4966 digits.
|
|
LINKS
|
|
|
EXAMPLE
|
191 is in the sequence because, for k=4, (2^4 - 4)*2^4 - 1 = 191 is prime.
|
|
MATHEMATICA
|
a={}; Do[p=(2^n-n)*2^n-1; If[PrimeQ[p], AppendTo[a, p]], {n, 10^3}]; Print[a]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,hard
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|