OFFSET
1,3
COMMENTS
Integer part of 1, 3/2, 2, 9/4, 11/4, 3, 7/2, 15/4, 47/12, 53/12, 55/12, 29/6...
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = floor(Sum_{i=1..n} 1/A001223(i) ).
EXAMPLE
For n = 2 we have the first two prime gaps: 3-2=1 and 5-3=2, then the sum of the reciprocals is 1/1 + 1/2 = 3/2 and its integer part is 1, then a(2) = 1.
MAPLE
MATHEMATICA
Table[Floor@Sum[1/(Prime[j + 1] - Prime[j]), {j, 1, n}], {n, 1, 64}]
Floor[Accumulate[1/Differences[Prime[Range[90]]]]] (* Harvey P. Dale, May 10 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Andres Cicuttin, Jun 23 2016
STATUS
approved