This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A282400 #35 Feb 27 2025 18:10:33 %S A282400 3,17,73,257,924844033,966367641601,9354438770689, %T A282400 468230246058455728129,12676506002282294014967032053760001, %U A282400 112418056545792871256481555812420390351647277057,462428252436731001462884654101636424188009906177,32113073085884097323811434312613640568611799040001 %N A282400 Primes of the form n^2*2^n + 1. %H A282400 Abhiram R Devesh, <a href="/A282400/b282400.txt">Table of n, a(n) for n = 1..15</a> %t A282400 Select[Table[n^2 2^n+1,{n,200}],PrimeQ] (* _Harvey P. Dale_, Mar 26 2023 *) %o A282400 (Python) %o A282400 import sympy %o A282400 n = 1 %o A282400 while n < 100: %o A282400 q = (n**2) * (2**n) + 1 %o A282400 if sympy.isprime(q): %o A282400 print(q) %o A282400 n += 1 %Y A282400 Subset of A248917. %Y A282400 Cf. A058780 Numbers n such that n^2 * 2^n + 1 is prime. %Y A282400 Cf. A279904 Primes of the form n^2*2^n - 1. %K A282400 nonn,easy %O A282400 1,1 %A A282400 _Abhiram R Devesh_, Feb 19 2017