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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024526 a(n) = sum of squares of p(j) - p(i), for 0 <= i < j <= n, where p(0) = 1. 0
1, 6, 35, 116, 413, 882, 1855, 3168, 5359, 9478, 14387, 22260, 32605, 44346, 59231, 79768, 107145, 137078, 175579, 220568, 269045, 329030, 397583, 480404, 585001, 701702, 824771, 961240, 1104749, 1263050, 1480879, 1717964, 1985889, 2264626, 2601603 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..35.

PROG

(PARI) p(n) = if (n==0, 1, prime(n));

a(n) = sum(i=0, n-1, sum(j=i+1, n, (p(j)-p(i))^2));

\\ Michel Marcus, Mar 23 2013

CROSSREFS

Sequence in context: A033578 A101077 A094952 * A213504 A089581 A132657

Adjacent sequences:  A024523 A024524 A024525 * A024527 A024528 A024529

KEYWORD

nonn

AUTHOR

Clark Kimberling

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 22:22 EDT 2019. Contains 322310 sequences. (Running on oeis4.)