login
A351912
Period of binary representation of 1/n, or 0 if 1/n terminates.
0
0, 0, 2, 0, 4, 2, 3, 0, 6, 4, 10, 2, 12, 3, 4, 0, 8, 6, 18, 4, 6, 10, 11, 2, 20, 12, 18, 3, 28, 4, 5, 0, 10, 8, 12, 6, 36, 18, 12, 4, 20, 6, 14, 10, 12, 11, 23, 2, 21, 20, 8, 12, 52, 18, 20, 3, 18, 28, 58, 4, 60, 5, 6, 0, 12, 10, 66, 8, 22, 12, 35, 6, 9, 36, 20, 18, 30, 12, 39, 4, 54, 20, 82, 6
OFFSET
1,3
COMMENTS
The difference from A007733 is that if n is a power of 2 this sequence has 0, whereas A007733(2^n) = 1.
CROSSREFS
Cf. A007733, which is the main entry for this problem.
Cf. A242595.
Cf. A249772 (base 6), A051626 (decimal), A246004 (base 12).
Sequence in context: A001100 A218831 A242595 * A136265 A066910 A094405
KEYWORD
nonn,base
AUTHOR
Herbert Eberle, Mar 15 2022
STATUS
approved