A355255 Irregular table read by rows: a(n,k) gives the number of distinct necklaces that appear in the following procedure: starting with the n-bead, (0,1)-necklace given by k written in binary, repeatedly take the first differences (mod 2) of the beads. 0 <= k < 2^n.
1, 1, 2, 1, 3, 3, 2, 1, 2, 2, 1, 2, 1, 1, 2, 1, 5, 5, 4, 5, 3, 4, 5, 5, 4, 3, 5, 4, 5, 5, 2, 1, 4, 4, 3, 4, 3, 3, 4, 4, 3, 3, 4, 3, 4, 4, 3, 4, 3, 3, 4, 3, 4, 4, 3, 3, 4, 4, 3, 4, 3, 3, 2, 1, 4, 4, 3, 4, 2, 3, 3, 4, 2, 2, 4, 3, 4, 3, 2, 4, 2, 2, 4, 2, 3, 4, 3, 3, 4, 4, 1, 3, 3, 2, 4, 4, 3, 2, 3, 2, 4, 4, 2, 2, 4, 3, 3, 4, 1, 3, 4, 3, 3, 4, 2, 4, 3, 1, 4, 3, 2, 3, 4, 2, 4, 4, 2
Offset: 0
Examples
Table begins: n\k | 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ----+----------------------------------------------- 0 | 1; 1 | 1, 2; 2 | 1, 3, 3, 2; 3 | 1, 2, 2, 1, 2, 1, 1, 2; 4 | 1, 5, 5, 4, 5, 3, 4, 5, 5, 4, 3, 5, 4, 5, 5, 2; ... | ... a(5,13) = 4 because 13 is 01101 in binary; the sequence of first differences is 01101, 10111, 11000, 01001, 11011, ...; and 10111 is the same necklace as 11011.
Links
- Peter Kagey, Rows n = 0..12 of the triangle, flattened
Comments