login
This site is supported by donations 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

Table of n, a(n) for n=0..7.

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: A107053 A222271 A068376 * A317868 A224092 A217188

Adjacent sequences:  A131589 A131590 A131591 * A131593 A131594 A131595

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 02:06 EDT 2019. Contains 322291 sequences. (Running on oeis4.)