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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062022 Let P(n) = { 2,3,5,7,...,p(n) } where p(n) is n-th prime; then a(1) =0 and a(n) = Sum [{p(i) - p(j)}^2], for all i and j from 1 to n. 0
0, 1, 14, 59, 256, 581, 1298, 2287, 4004, 7329, 11338, 17915, 26660, 36637, 49406, 67239, 91252, 117585, 151730, 191819, 235112, 289013, 350842, 425919, 521300, 628001, 740666, 865899, 997744, 1143501, 1345454, 1565639, 1815068, 2074761 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

LINKS

Matthew M. Conroy, Home page (listed instead of email address)

EXAMPLE

a(3) = (5-2)^2 + (5-3)^2 + (3-2)^2 = 14, P(3) = {2,3,5}.

CROSSREFS

Sequence in context: A143861 A100174 A120371 * A158058 A100171 A063492

Adjacent sequences:  A062019 A062020 A062021 * A062023 A062024 A062025

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 02 2001

EXTENSIONS

More terms from Matthew M. Conroy, Jun 11 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 21:56 EST 2012. Contains 205860 sequences.