Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131591
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131591 Sum of the squares of the first 3^n primes. +0
1
4, 38, 1556, 86606, 4083404, 171658094, 6716224724, 247782290006, 8763080657420, 299863491723614, 9990667099305740, 325847250824377382, 10445562407382412028 (list; graph; listen)
OFFSET

0,1

EXAMPLE

The sum of the squares of the first 3^1 primes = 4+9+25 = 38, the second entry in the sequence.

PROGRAM

(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: A084286 A001187 A093377 this_sequence A030259 A018860 A016484

Adjacent sequences: A131588 A131589 A131590 this_sequence A131592 A131593 A131594

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)hotmail.com), Aug 30 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 3 01:16 EST 2008. Contains 151161 sequences.


AT&T Labs Research