login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A298223 The first of three consecutive primes the sum of which is equal to the sum of three consecutive squares. 10

%I

%S 1511,5923,6553,9791,11003,14153,14633,15121,22787,29231,36473,61991,

%T 62987,68111,89393,116273,137633,167267,212501,233279,292673,316957,

%U 426401,455603,579113,603719,717397,819017,938953,1018057,1022113,1292737,1399477,1510427

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

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

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

%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, p))); Vec(L)

%Y Cf. A000040, A000290, A054643, A298073, A298168, A298169, A298222.

%K nonn

%O 1,1

%A _Colin Barker_, Jan 15 2018

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 13 05:41 EDT 2020. Contains 336442 sequences. (Running on oeis4.)