login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A132957
a(n) = sqrt(A132956(n)).
4
6, 7, 6, 31, 60, 13, 38, 10, 372, 107, 48, 95, 22, 245, 84, 189, 94, 293, 160, 83, 200, 31, 34, 241, 84, 37, 180, 653, 246, 43, 86, 123, 278, 73, 140, 57, 198, 311, 180, 891, 704, 93, 558, 65, 1150, 233, 88, 429, 352, 329, 238, 485, 358, 307, 214, 163, 346, 709, 728
OFFSET
2,1
EXAMPLE
a(2)= sqrt(36)=6. a(3)=sqrt(49)=7.
PROG
(PARI) a(n) = {ip = 1; while (! issquare(v=sum(i=ip, ip+n-1, prime(i))), ip++); sqrtint(v); } \\ Michel Marcus, Jun 08 2014
CROSSREFS
Sequence in context: A340153 A368476 A115096 * A339135 A249539 A139726
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