OFFSET
1,2
LINKS
Steven Harvey, Inverse Carol Primes
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
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Apr 11 2005
EXTENSIONS
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008
STATUS
approved