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

A105182
Numbers k such that 2^(2*(k+1)) + 2^k + 1 is prime.
1
1, 5, 9, 49, 61, 81, 149, 413, 485, 661, 709, 1337, 2885, 2925, 3013, 7213, 9669, 10245
OFFSET
1,2
EXAMPLE
2^4 + 2^1 + 1 = 19 is prime so a(1)=1.
2^12 + 2^5 + 1 = 4129 is prime so a(2)=5.
PROG
(PARI) is(n)=ispseudoprime(2^(2*(n+1))+2^n+1) \\ Charles R Greathouse IV, Jun 13 2017
(Magma) [k: k in [0..200] | IsPrime(2^(2*(k+1))+2^k+1)]; // Jinyuan Wang, Mar 20 2020
CROSSREFS
Cf. A105181.
Sequence in context: A149502 A219701 A088974 * A100457 A080872 A328333
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Apr 11 2005
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008
STATUS
approved