Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A065762
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A065762 a(n) = (sum of first n primes)^2 + sum of (squares of first n primes). +0
1
8, 38, 138, 376, 992, 2058, 4030, 6956, 11556, 19038, 28958, 43536, 63052, 87218, 118050, 158436, 210356, 271478, 347590, 438328, 542280, 667258, 812342, 983756, 1189396 (list; graph; listen)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n=1,...,500

EXAMPLE

a(4) = 376 because (2 + 3 + 5 + 7)^2 + (2^2 + 3^2 + 5^2 + 7^2) = 17^2 + (4 + 9 + 25 + 49) = 289 + 87 = 376.

PROGRAM

(PARI) { s=ss=0; for (n=1, 500, p=prime(n); s+=p; ss+=p^2; write("b065762.txt", n, " ", s^2 + ss) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Oct 30 2009]

CROSSREFS

A065595

Sequence in context: A128246 A163832 A139798 this_sequence A034009 A038732 A038799

Adjacent sequences: A065759 A065760 A065761 this_sequence A065763 A065764 A065765

KEYWORD

easy,nonn,new

AUTHOR

Terrel Trotter, Jr. (ttrotter(AT)telesal.net), Dec 04 2001

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research