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.

A058780 Numbers n such that n^2 * 2^n + 1 is prime.

Original entry on oeis.org

1, 2, 3, 4, 21, 30, 33, 57, 100, 142, 144, 150, 198, 225, 304, 513, 782, 858, 3638, 6076, 9297, 11037, 12135, 12876, 30180, 48470
Offset: 1

Views

Author

Robert G. Wilson v, Jan 02 2001

Keywords

Crossrefs

Programs

  • Mathematica
    Do[ If[ PrimeQ[ n^2*2^n + 1 ], Print[n] ], {n, 1, 5000} ]
  • PARI
    is(n)=ispseudoprime(n^2*2^n+1) \\ Charles R Greathouse IV, May 22 2017

Extensions

More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008