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.

A216432 Semiprimes that are sums of squares of two consecutive primes.

Original entry on oeis.org

34, 74, 458, 4058, 28898, 45002, 51218, 57818, 64802, 84122, 115202, 145802, 233978, 352802, 363002, 530522, 609458, 649802, 756458, 924818, 994082, 1391162, 1609418, 2179922, 2599442, 2832218, 3328202, 3484802, 3864362, 3942482, 5425418, 5746058, 6125018
Offset: 1

Views

Author

Zak Seidov, Sep 09 2012

Keywords

Comments

Semiprimes in A069484. - Zak Seidov, Apr 11 2014

Examples

			34 = 2*17 = 3^2+5^2, 74 = 2*37 = 5^2+7^2, 458 = 2*229 = 13^2+17^2.
		

Crossrefs

Subsequence of A100484.

Programs

  • Mathematica
    Select[(Total/@Partition[Prime[Range[500]]^2,2,1]),PrimeOmega[#]==2&] (* Harvey P. Dale, Sep 23 2012 *)
  • PARI
    v=List();p=3;forprime(q=5,1e4,if(isprime((p^2+q^2)\2),listput(v,p^2+q^2));p=q);Vec(v) \\ Charles R Greathouse IV, Sep 23 2012