cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A351912 Period of binary representation of 1/n, or 0 if 1/n terminates.

Original entry on oeis.org

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

Views

Author

Herbert Eberle, Mar 15 2022

Keywords

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).
Showing 1-1 of 1 results.