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.

A171748 Primes of the form (2+n)*(1+2*n)+(1+n)*(2+2*n).

Original entry on oeis.org

17, 67, 149, 263, 409, 587, 797, 1039, 1619, 2729, 3163, 4127, 4657, 5813, 10867, 11717, 13513, 16447, 17489, 20807, 21977, 24413, 25679, 28307, 29669, 31063, 35437, 40099, 50287, 53939, 55813, 57719, 61627, 63629, 69827, 78539, 90149
Offset: 1

Views

Author

Keywords

Examples

			17=(1+2)*3+(1+3)*2.
		

Programs

  • Mathematica
    f[n_]:=(2+n)*(1+2*n)+(1+n)*(2+2*n); lst={};Do[If[PrimeQ[f[n]],AppendTo[lst,f[n]]],{n,6!}];lst