A288793 a(n) = number of n-digit binary numbers in which the first k and last k digits have a Hamming distance of 1 or less, for all k from 1 to n.
1, 2, 4, 6, 8, 14, 18, 27, 36, 52, 65, 93, 113, 150, 188, 241, 279, 377, 427, 540, 632, 768, 870, 1082, 1210, 1455, 1656, 1974, 2153, 2594, 2822, 3315, 3724, 4260, 4668, 5461, 5851, 6763, 7362, 8445, 9028, 10416, 11117, 12595, 13639, 15177, 16251, 18574
Offset: 2
Keywords
Links
- E-Hern Lee, Table of n, a(n) for n = 2..62
- A. Kaseorg, Rust code used to generate values
Crossrefs
Cf. A005434 (a similar sequence but with Hamming distance = 0).
Comments