A079483 Array read by rows in which n-th row lists the periodic part of the base-n expansion of 1/7.
0, 0, 1, 0, 1, 0, 2, 1, 2, 0, 2, 1, 0, 3, 2, 4, 1, 2, 0, 5, 0, 1, 1, 2, 5, 1, 4, 2, 8, 5, 7, 1, 6, 3, 1, 8, 6, 10, 3, 5, 1, 11, 0, 2, 2, 4, 9, 2, 7, 4, 14, 9, 12, 2, 10, 5, 2, 13, 10, 16, 5, 8, 2, 17, 0, 3, 3, 6, 13, 3, 10, 6, 20, 13, 17, 3, 14, 7, 3, 18, 14
Offset: 2
Examples
In base 2, 1/111_2 = 0.001001001001 ..., where 111_2 = 7; the periodic part is 0 0 1, so these form the first three digits. The periodic portions in the next few bases are 010212 (base 3), 021 (base 4), etc. Array begins: 0, 0, 1; 0, 1, 0, 2, 1, 2; 0, 2, 1; 0, 3, 2, 4, 1, 2; 0, 5; ...
Extensions
More terms from Sean A. Irvine, Aug 16 2025