OFFSET
1,6
EXAMPLE
a(9) = 3, as the 9th digit in the base-4 expansion of 1/9 = 0.013013013013013013013013... is 3.
MATHEMATICA
a = {}; Do[a = Append[a, Mod[ Floor[1/n * 4^n], 4] ], {n, 1, 100} ]; a
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Derek J. Graves, Jan 18 2019, on behalf of Joseph A. Stocke
STATUS
approved