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

%I #9 Jan 15 2018 09:40:05

%S 1444,5776,6400,9604,10816,13924,14400,14884,22500,28900,36100,61504,

%T 62500,67600,88804,115600,136900,166464,211600,232324,291600,315844,

%U 425104,454276,577600,602176,715716,817216,937024,1016064,1020100,1290496,1397124,1507984

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

%H Colin Barker, <a href="/A298222/b298222.txt">Table of n, a(n) for n = 1..100</a>

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

%o (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 Cf. A000040, A000290, A054643, A298073, A298168, A298169, A298223.

%K nonn

%O 1,1

%A _Colin Barker_, Jan 15 2018