OFFSET
0,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, BBP-Type Formula
FORMULA
a(k) = Floor[Mod[(1/2)*((-4)^k)*(6/(4*k + 1) - 3/(4*k + 3) - 1/(4*k + 4)), 3]].
MATHEMATICA
Table[Floor[Mod[(1/2)*((-4)^k)*(6/(4*k + 1) - 3/(4*k + 3) - 1/(4*k + 4)), 3]], {k, 0, 100}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Roger L. Bagula and Alexander R. Povolotsky, Nov 28 2008
STATUS
approved