OFFSET
1,2
COMMENTS
Next term >= 10^4. - Jeppe Stig Nielsen, Mar 28 2014
LINKS
Jacques Basaldua, All Fermat and Mersenne numbers are squarefree.
FORMULA
a(n) = A006599(n) + 1.
MATHEMATICA
Do[ If[ PrimeQ[2^(2n - 1) + 2^n + 1], Print[n]], {n, 5500}] (* Robert G. Wilson v, Jun 03 2005 *)
PROG
(PARI) is(n)=ispseudoprime(2^(2*n-1)+2^n+1) \\ Charles R Greathouse IV, Jun 12 2017
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Alexandre Wajnberg, Jun 02 2005
EXTENSIONS
a(1) and a(12) from Robert G. Wilson v, Jun 03 2005
a(13) from Jeppe Stig Nielsen, Mar 28 2014
a(14)-a(16) from Michael S. Branicky, Jan 02 2025
STATUS
approved