OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..5000
Chris K. Caldwell and G. L. Honaker,Jr., Prime Curios! 110
FORMULA
a(n) = ceiling(A007504(n) / n)
EXAMPLE
a(5) = ceiling( (2 + 3 + 5 + 7 + 11)/5) = ceiling(28/5) = 6.
a(6) = ceiling( (2 + 3 + 5 + 7 + 11 + 13)/6) = ceiling(41/6) = 7.
a(7) = ceiling( (2 + 3 + 5 + 7 + 11 + 13 + 17)/7) = ceiling(58/7) = 9.
MAPLE
A007504 := proc(n)
add(ithprime(i), i=1..n) ;
end proc:
A225804 := proc(n)
ceil(A007504(n)/n) ;
end proc: # R. J. Mathar, Jul 28 2013
MATHEMATICA
Table[Ceiling[(Plus@@Prime[Range[n]])/n], {n, 75}] (* Alonso del Arte, Jul 28 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
K. D. Bajpai, Jul 28 2013
STATUS
approved