OFFSET
1,1
COMMENTS
A076304(n) are the Numbers n such that n^2 is a sum of three successive primes.
LINKS
Donovan Johnson and Charles R Greathouse IV, Table of n, a(n) for n = 1..10000 (first 1000 from Johnson)
EXAMPLE
MATHEMATICA
Select[Table[Sqrt[Sum[Prime[k], {k, n, n + 2}]], {n, 400000}], PrimeQ] (* Ray Chandler, Sep 26 2006 *)
PROG
(PARI) has(n)=my(p=precprime(n\3), q=nextprime(n\3+1), r=n-p-q); if(r>q, r==nextprime(q+2), r==precprime(p-1) && r)
list(lim)=my(v=List()); forprime(p=7, lim, if(has(p^2), listput(v, p))); Vec(v) \\ Charles R Greathouse IV, Jun 26 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Sep 20 2006
EXTENSIONS
Extended by Ray Chandler, Sep 26 2006
Name edited by Zak Seidov, May 07 2014
STATUS
approved