OFFSET
1,1
FORMULA
a(n) = Sum_{k=prime(n)..prime(n+1)} k. - Wesley Ivan Hurt, Apr 27 2021
MATHEMATICA
f[n_, x_]:=n*x+x*(x+1)/2; Table[Prime[n]+f[Prime[n], Prime[n+1]-Prime[n]-1]+Prime[n+1], {n, 5!}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Mar 21 2010
STATUS
approved