OFFSET
1,1
EXAMPLE
a(0) = 2 = 2^(0-2)*(0+2)^2 + 1 = (1/4) * 4 + 1.
MATHEMATICA
Select[Table[2^(n - 2)*(n + 2)^2 + 1, {n, 0, 200}], PrimeQ] (* T. D. Noe, Apr 05 2013 *)
PROG
(PARI) for(n=0, 1e3, is(ispseudoprime(t=2^(n-2)*(n + 2)^2+1), print1(t", "))) \\ Charles R Greathouse IV, Mar 18 2014
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Irina Gerasimova, Feb 21 2013
STATUS
approved