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.

A298222 The first of three consecutive squares the sum of which is equal to the sum of three consecutive primes.

Original entry on oeis.org

1444, 5776, 6400, 9604, 10816, 13924, 14400, 14884, 22500, 28900, 36100, 61504, 62500, 67600, 88804, 115600, 136900, 166464, 211600, 232324, 291600, 315844, 425104, 454276, 577600, 602176, 715716, 817216, 937024, 1016064, 1020100, 1290496, 1397124, 1507984
Offset: 1

Views

Author

Colin Barker, Jan 15 2018

Keywords

Examples

			1444 is in the sequence because 1444+1521+1600 (consecutive squares) = 4565 = 1511+1523+1531 (consecutive primes).
		

Crossrefs

Programs

  • PARI
    L=List(); forprime(p=2, 400000, q=nextprime(p+1); r=nextprime(q+1); t=p+q+r; if(issquare(12*t-24, &sq) && (sq-6)%6==0, u=(sq-6)\6; listput(L, u^2))); Vec(L)