1,7

Table of n, a(n) for n=1..85.

Wikipedia, Senary

a(7)=2, because 1/7 has senary period 2 (0.0505050505...).

f[n_] := Length[ RealDigits[1/n, 6][[1, -1]]]; Array[f, 85] (* Robert G. Wilson v, Jan 09 2015 *)

Cf. A051626 (base 10), A246004 (base 12).

With ones instead of zeros: A007737, A066799 (all bases as columns).

Sequence in context: A289084 A193033 A318253 * A193531 A093492 A139380

Adjacent sequences: A249769 A249770 A249771 * A249773 A249774 A249775

nonn,base,easy

Michal Kaczmarczyk, Dec 03 2014

More terms from Robert G. Wilson v, Jan 09 2015

approved