OFFSET
1,1
LINKS
Abhiram R Devesh, Table of n, a(n) for n = 1..15
MATHEMATICA
Select[Table[n^2 2^n+1, {n, 200}], PrimeQ] (* Harvey P. Dale, Mar 26 2023 *)
PROG
(Python3)
import sympy
n = 1
while n < 100:
q = (n**2) * (2**n) + 1
if sympy.isprime(q):
print(q)
n += 1
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Abhiram R Devesh, Feb 19 2017
STATUS
approved