login
A092780
Sum(prime(k),k=1..n)^2-1.
0
3, 24, 99, 288, 783, 1680, 3363, 5928, 9999, 16640, 25599, 38808, 56643, 78960, 107583, 145160, 193599, 251000, 322623, 408320, 506943, 625680, 763875, 927368, 1123599, 1347920, 1597695, 1879640, 2190399, 2537648, 2958399, 3426200
OFFSET
1,1
FORMULA
a(n) = A007504(n)^2 - 1. - Michel Marcus, Jun 30 2013
MATHEMATICA
Accumulate[Prime[Range[40]]]^2-1 (* Harvey P. Dale, Feb 25 2017 *)
PROG
(PARI) a(n) = sum(k=1, n, prime(k))^2-1 \\ Michel Marcus, Jun 30 2013
CROSSREFS
Sequence in context: A362345 A274954 A156832 * A004282 A374488 A216725
KEYWORD
nonn
AUTHOR
Jorge Coveiro, Apr 14 2004
STATUS
approved