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
KEYWORD
nonn
AUTHOR
Jorge Coveiro, Apr 14 2004
STATUS
approved