cp's OEIS Frontend

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.

A282400 Primes of the form n^2*2^n + 1.

Original entry on oeis.org

3, 17, 73, 257, 924844033, 966367641601, 9354438770689, 468230246058455728129, 12676506002282294014967032053760001, 112418056545792871256481555812420390351647277057, 462428252436731001462884654101636424188009906177, 32113073085884097323811434312613640568611799040001
Offset: 1

Views

Author

Abhiram R Devesh, Feb 19 2017

Keywords

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.

Programs

  • Mathematica
    Select[Table[n^2 2^n+1,{n,200}],PrimeQ] (* Harvey P. Dale, Mar 26 2023 *)
  • Python
    import sympy
    n = 1
    while n < 100:
        q = (n**2) * (2**n) + 1
        if sympy.isprime(q):
            print(q)
        n += 1