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.

A272571 Primes of the form n^4 + n + 1 with n positive.

Original entry on oeis.org

3, 19, 631, 1303, 6571, 14653, 20749, 38431, 331801, 457003, 1048609, 1679653, 3748141, 4879729, 12960061, 22667191, 26873929, 29986651, 35153119, 62742331, 65610091, 108243319, 131079709, 200534041, 252047503, 294500053, 454372003, 466949029, 639129121
Offset: 1

Views

Author

Vincenzo Librandi, May 03 2016

Keywords

Crossrefs

Programs

  • Magma
    [a: n in [0..200] | IsPrime(a) where a is n^4+n+1];
    
  • Mathematica
    Select[Table[n^4 + n + 1, {n, 100}], PrimeQ]
  • PARI
    lista(nn) = {for(n=1, nn, if(ispseudoprime(p=n^4+n+1), print1(p, ", "))); } \\ Altug Alkan, May 04 2016