Breakable numbers
Smallest number k > n such that the binary Hamming distance between n and k is equal to the number of runs in the binary representation of n, and k has more runs than n.
Formal Definition
The smallest number k > n such that the binary Hamming distance between n and k is equal to the number of runs in the binary representation of n, and k has strictly more runs than n.
a(n) = min { k > n : dH(n, k) = R(n) and R(k) > R(n) }
Structural Analysis & Motivation
The designation "Breakable Numbers" stems from an intuition regarding the structural integrity of binary blocks. In computer science and combinatorics, a run defines a consecutive sequence of identical bits (either all 1s or all 0s).
Analytical Examples
- For n = 1: Binary representation is
1, which has exactlyR(1) = 1run. We look for the smallestk > 1such that changing 1 bit increases the run count.- Testing
k = 5(binary101): The Hamming distancedH(1, 5) = 1(since001to101requires flipping only the most significant bit). The number of runs in101is 3. Since 3 > 1, a(1) = 5.
- Testing
- For n = 2: Binary representation is
10, which hasR(2) = 2runs. We must flip exactly 2 bits to find akwith more than 2 runs.- Testing
k = 11(binary1011): The Hamming distancedH(2, 11) = 2(from0010to1011). The number of runs in1011is 3. Since 3 > 2, a(2) = 11.
- Testing
Sequence Chart
Data
5,11,11,13,22,10,23,11,21,45,18,20,20,22,47,19,22,43,20,45,90,37,26,27,40,41,41,44,37,46,95,35,38,45,36,43,86,41,41,53,85,181,82,69,74,53,53,51,54,74,52,69,82,83,58,59,73,75,75,92,77,94,191,67,70
Formula
a(n) = min { k > n : d_H(n, k) = R(n) and R(k) > R(n) }.
Cross-References
See also OEIS entries: Cf. A044813, A005811.