login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131592 Sum of the squares of the first n^n primes. 0
4, 4, 87, 86606, 204330315, 792563962432, 4719861842243387, 41451006295401961098 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
Define 0^0 = 1 for this sequence.
EXAMPLE
The sum of the squares of the first 2^2 primes = 4+9+25+49 = 87, the third entry in the sequence.
MATHEMATICA
Join[{4}, Table[Total[Prime[Range[n^n]]^2], {n, 7}]] (* Harvey P. Dale, Jun 13 2016 *)
PROG
(PARI) sumprimesq(n) = { local(x, y, s, a); for(y=0, n, s=0; for(x=1, y^y, s+=prime(x)^2; ); print1(s", "); ) }
CROSSREFS
Sequence in context: A351349 A222271 A068376 * A317868 A224092 A217188
KEYWORD
nonn
AUTHOR
Cino Hilliard, Aug 30 2007
EXTENSIONS
One additional term (a(7)) added by Harvey P. Dale, Jun 13 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 1 00:18 EDT 2024. Contains 372143 sequences. (Running on oeis4.)