OFFSET
1,1
COMMENTS
a(n) > 0 for n = 8, 10, 12, 14, 16124, 16126, ... and a(n) = 0 for n = 16120, 16161, 16937, ... - Michel Marcus, Feb 13 2019
FORMULA
a(n) = Sum_{k=1..n} (-1)^k*A000796(k).
a(n) = Sum_(k=1..floor(n/2)} A099817(k) - Sum_{k=1..floor((n+1)/2)} A099816(k). - Michel Marcus, Feb 16 2019
MATHEMATICA
Accumulate@ MapIndexed[(-1)^First[#2]*#1 &, First@ RealDigits[Pi, 10, 71]] (* Michael De Vlieger, Feb 15 2019 *)
CROSSREFS
KEYWORD
sign,base,easy
AUTHOR
Luca Petrone, Feb 12 2019
STATUS
approved