OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
MAPLE
N:= 100: # to get the first N terms
P:= [seq(ithprime(i), i=1..N+2)]:
E1:= ListTools:-PartialSums(P):
E2:= ListTools:-PartialSums([0, seq(P[i]*E1[i-1], i=2..N+2)]):
E3:= ListTools:-PartialSums([0, seq(P[i]*E2[i-1], i=2..N+2)]):
seq(floor(E3[n]/E1[n]), n=3..N+2); # Robert Israel, May 01 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved