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.

A226070 Numbers k such that k^2-1 is a triangular number and k^2+1 is a prime.

Original entry on oeis.org

1, 2, 4, 134, 2174, 154634
Offset: 1

Views

Author

Alex Ratushnyak, May 25 2013

Keywords

Comments

Subsequence of A006452 that consists of the terms k such that k^2+1 is prime.
a(7) is too large to include here (see b-file). - Max Alekseyev, Jan 30 2014

Crossrefs

Corresponding primes: A226069.
Indices of corresponding triangular numbers: A226071.

Programs

  • C
    // see A226069.
  • Mathematica
    Select[Range[155000],PrimeQ[#^2+1]&&OddQ[Sqrt[8(#^2-1)+1]]&] (* Harvey P. Dale, Jul 19 2019 *)

Extensions

Terms a(7)-a(12) from Max Alekseyev, Jan 30 2014