OFFSET
1,4
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = Numerator(Sum_{i=1..n} ((-1)^(i - 1))/(prime(i+1)-prime(i))).
a(n) = Numerator(Sum_{i=1..n} ((-1)^(i - 1))/A001223(i)).
MATHEMATICA
Table[Numerator@Sum[((-1)^(j - 1))/(Prime[j + 1] - Prime[j]), {j, 1, n}], {n, 1, 120}];
Accumulate[Times@@@Partition[Riffle[1/Differences[Prime[Range[60]]], {1, -1}, {2, -1, 2}], 2]]//Numerator (* Harvey P. Dale, Jun 22 2021 *)
CROSSREFS
KEYWORD
sign,frac
AUTHOR
Andres Cicuttin, Jul 14 2016
STATUS
approved