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.

A151953 Primes of the form 6*n^2+17.

Original entry on oeis.org

17, 23, 41, 71, 113, 167, 233, 311, 401, 503, 617, 743, 881, 1031, 1193, 1367, 1553, 2417, 2663, 3191, 3767, 4073, 4391, 4721, 5417, 5783, 6551, 7793, 8231, 8681, 10103, 10601, 11633, 12713, 13841, 14423, 15017, 16871, 20201, 20903, 21617, 22343
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    select(isprime, [seq(6*n^2+17, n=0..1000)]); # Robert Israel, Feb 06 2018
  • Mathematica
    f[a_]:=6*a^2+17; lst={};Do[If[PrimeQ[f[n]],AppendTo[lst,f[n]]],{n,0,4!}];lst
    Select[(6 #^2 + 17) & /@ Range[0, 100], PrimeQ[#] &] (* Robert Price, Apr 15 2025 *)