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.

A126108 Numbers n such that n^2-2 and (n+2)^2-2 are primes.

Original entry on oeis.org

3, 5, 7, 13, 19, 27, 33, 35, 47, 61, 69, 75, 117, 119, 231, 237, 257, 265, 299, 301, 313, 335, 355, 357, 441, 447, 467, 489, 495, 523, 573, 607, 713, 761, 943, 993, 1021, 1069, 1071, 1141, 1147, 1175, 1231, 1239, 1251, 1265, 1287, 1357, 1363, 1365, 1391, 1461
Offset: 1

Views

Author

Zak Seidov, Mar 11 2007

Keywords

Comments

The number of such n's <= 10^n: 3, 12, 36, 216, 1279,... Cf A126334 for prime n's.

Crossrefs

Cf. A126334.

Programs

  • Mathematica
    Select[Range[10^5], PrimeQ[#^2-2] && PrimeQ[(#+2)^2-2]&]