OFFSET
1,1
COMMENTS
Naturally all terms are even because (3-1)^(2n+1)+7 is divisible by 3. - Bruno Berselli, Oct 03 2012
LINKS
Keith Conrad, Square patterns and infinitude of primes, University of Connecticut, 2019.
Jon Grantham and Andrew Granville, Fibonacci primes, primes of the form 2^n-k and beyond, arXiv:2307.07894 [math.NT], 2023.
FORMULA
a(n) = 2*A217349(n). - Elmo R. Oliveira, Nov 12 2023
MAPLE
A057195:=n->if isprime(2^n+7) then n; fi; seq(A057195(n), n=1..1000); # Wesley Ivan Hurt, Dec 06 2013
MATHEMATICA
Do[ If[ PrimeQ[ 2^n +7 ], Print[n]], { n, 1, 15000 }]
PROG
(PARI) is(n)=isprime(2^n+7) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 15 2000
EXTENSIONS
a(37)-a(51) from Robert Price, Dec 06 2013
a(51), a(53), a(54) from Jon Grantham, Jul 29 2023
STATUS
approved