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.

A147718 Primes of the form prime(x)^2 + (prime(x) - 1)^2.

Original entry on oeis.org

5, 13, 41, 313, 1013, 1861, 3613, 7321, 9941, 10513, 13613, 20201, 21013, 34061, 52813, 59513, 99013, 218461, 277513, 353641, 370661, 391613, 424121, 427813, 481181, 584281, 632813, 702113, 750313, 820481, 825613, 904513, 1073113
Offset: 1

Views

Author

Artur Jasinski, Nov 11 2008

Keywords

Comments

These primes are hypotenuses of right triangles in which all sides are natural numbers.

Crossrefs

Programs

  • Mathematica
    aa = {}; Do[If[PrimeQ[Prime[x]^2 + (Prime[x] - 1)^2], AppendTo[aa, Prime[x]^2 + (Prime[x] - 1)^2]], {x, 1, 1000}]; aa