OFFSET
1,2
COMMENTS
FORMULA
a[n]=(a[n-1]+p[n])*p[n], a[0]=0.
EXAMPLE
a[4]=(70+p[4])*p[4]=(70+7)*7=490+49=539=
MATHEMATICA
f[x_] :=(f[x-1]+Prime[x])*Prime[x]; f[1]=0; Table[f[w], {w, 1, 25}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 19 2004
STATUS
approved