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.

A104110 Nonnegative numbers k such that k^2 + 42 is prime.

Original entry on oeis.org

1, 5, 11, 13, 17, 23, 29, 41, 47, 53, 55, 89, 95, 101, 103, 107, 109, 115, 121, 125, 131, 145, 157, 169, 179, 181, 185, 191, 197, 211, 221, 233, 239, 247, 271, 277, 289, 299, 307, 311, 313, 325, 349, 355, 359, 361, 367, 403, 421, 425, 433, 443, 457, 467, 493
Offset: 1

Views

Author

Gerald McGarvey, Mar 04 2005

Keywords

Programs

  • Magma
    [ n: n in [0..500] | IsPrime(n^2 + 42) ] // Vincenzo Librandi, Nov 13 2010
  • Mathematica
    Select[Range[1,500,2],PrimeQ[#^2+42]&] (* Harvey P. Dale, May 25 2017 *)
  • PARI
    for(i=0,422,if(isprime(i^2+42),print1(i ",")))