login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A131590 Sum of the squares of the first 2^n primes. 0
4, 13, 87, 1027, 13275, 155995, 1789395, 19523155, 204330315, 2081006083, 20605602003, 199966727443, 1908356153955, 17942429101363, 166591116531123, 1529578004981731, 13917470067182067, 125565110929591171 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

EXAMPLE

The sum of the squares of the first 2^2 primes = 4+9+25+49 = 87, the third entry in the sequence.

PROG

(PARI) sumprimesq(n, b) = { local(x, y, s, a); for(y=0, n, s=0; for(x=1, b^y, s+=prime(x)^2; ); print1(s", "); ) }

CROSSREFS

Sequence in context: A012258 A012134 A088946 * A281182 A200850 A326565

Adjacent sequences:  A131587 A131588 A131589 * A131591 A131592 A131593

KEYWORD

nonn

AUTHOR

Cino Hilliard, Aug 30 2007

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 October 13 19:52 EDT 2019. Contains 327981 sequences. (Running on oeis4.)