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.

This page as a plain text file.
%I A298222 #9 Jan 15 2018 09:40:05
%S A298222 1444,5776,6400,9604,10816,13924,14400,14884,22500,28900,36100,61504,
%T A298222 62500,67600,88804,115600,136900,166464,211600,232324,291600,315844,
%U A298222 425104,454276,577600,602176,715716,817216,937024,1016064,1020100,1290496,1397124,1507984
%N A298222 The first of three consecutive squares the sum of which is equal to the sum of three consecutive primes.
%H A298222 Colin Barker, <a href="/A298222/b298222.txt">Table of n, a(n) for n = 1..100</a>
%e A298222 1444 is in the sequence because 1444+1521+1600 (consecutive squares) = 4565 = 1511+1523+1531 (consecutive primes).
%o A298222 (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)
%Y A298222 Cf. A000040, A000290, A054643, A298073, A298168, A298169, A298223.
%K A298222 nonn
%O A298222 1,1
%A A298222 _Colin Barker_, Jan 15 2018