[go: up one dir, main page]

login
A282400
Primes of the form n^2*2^n + 1.
2
3, 17, 73, 257, 924844033, 966367641601, 9354438770689, 468230246058455728129, 12676506002282294014967032053760001, 112418056545792871256481555812420390351647277057, 462428252436731001462884654101636424188009906177, 32113073085884097323811434312613640568611799040001
OFFSET
1,1
LINKS
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
Subset of A248917
Cf. A058780 Numbers n such that n^2 * 2^n + 1 is prime.
Cf. A279904 Primes of the form n^2*2^n - 1.
Sequence in context: A342364 A049181 A248917 * A342365 A179596 A339647
KEYWORD
nonn,easy
AUTHOR
Abhiram R Devesh, Feb 19 2017
STATUS
approved