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”).

A098857
Numbers k such that 4^k*(2^k - 1) - 1 is prime.
1
1, 2, 18, 40, 50, 60, 62, 2688, 2880, 23678, 35076
OFFSET
1,2
PROG
(PARI) is(n)=ispseudoprime(4^n*(2^n-1)-1) \\ Charles R Greathouse IV, Jun 13 2017
(Magma) [k: k in [1..100] | IsPrime(4^k*(2^k-1)-1)]; // Jinyuan Wang, Mar 19 2020
CROSSREFS
Cf. A098856 ((4^k)*(2^k - 1) + 1 is prime).
Sequence in context: A099904 A137308 A050594 * A189333 A072278 A296266
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Oct 11 2004
EXTENSIONS
a(10) from Ray G. Opao, Sep 19 2005
a(11) from Michael S. Branicky, Oct 04 2024
STATUS
approved