OFFSET
1,1
EXAMPLE
2^(2*3-3)-3=5, 2^(2*4-3)-3=29, 2^(2*6-3)-3=509,...
MATHEMATICA
q=3; For[i=q, i<=q, a={}; Do[x=2^(2*n-i)-i; If[PrimeQ[x], AppendTo[a, n]], {n, 10^2}]; Print["2^(2*n-", i, ")-", i, " ", a]; i=i+2]
Select[Range[400], PrimeQ[2^(2#-3)-3]&] (* Harvey P. Dale, Aug 10 2017 *)
PROG
(PARI) is(n)=isprime(2^(2*n-3)-3) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 13 2008
EXTENSIONS
More terms from Harvey P. Dale, Aug 10 2017
STATUS
approved