login
A323592
n-th digit in the base-4 expansion of 1/n.
3
0, 0, 1, 0, 0, 2, 0, 0, 3, 1, 0, 1, 0, 1, 0, 0, 0, 3, 0, 0, 3, 0, 0, 2, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 2, 0, 1, 0, 1, 1, 0, 0, 1, 2, 3, 1, 0, 0, 2, 2, 2, 1, 0, 0, 0, 0, 0, 1, 0, 3, 2, 0, 3, 0, 3, 0, 0, 0, 0, 1, 3, 0, 0, 0, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 2, 2, 0, 1, 3, 1
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
Column 4 of A322392.
Cf. A061480.
Sequence in context: A238128 A238121 A171380 * A170980 A330369 A309577
KEYWORD
nonn,base,easy
AUTHOR
Derek J. Graves, Jan 18 2019, on behalf of Joseph A. Stocke
STATUS
approved