OFFSET
2,1
COMMENTS
The smallest of these n consecutive primes is A132955(n).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 2..100
EXAMPLE
a(2)=36, because 2+3=5 is not a perfect square, 3+5=8 is not, 5+7=12 is not, 7+11 is not.. but 17+19=36=6^2 is.
PROG
(PARI) a(n) = {ip = 1; while (! issquare(v=sum(i=ip, ip+n-1, prime(i))), ip++); v; } \\ Michel Marcus, Jun 08 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Sep 06 2007
EXTENSIONS
Definition simplified, offset set to 2 by R. J. Mathar, Oct 30 2009
STATUS
approved