OFFSET
0,4
COMMENTS
A binary index of n is any position of a 1 in its reversed binary expansion. The binary indices of n are row n of A048793.
EXAMPLE
The binary indices of 27 are {1,2,4,5}, with maximal anti-runs ((1),(2,4),(5)), with lengths (1,2,1). After removing duplicates, this is our row 10.
The binary indices of 53 are {1,3,5,6}, with maximal anti-runs ((1,3,5),(6)), with lengths (3,1). After removing duplicates, this is our row 16.
Triangle begins:
0: .
1: 1
2: 1 1
3: 2
4: 1 1 1
5: 1 2
6: 2 1
7: 1 1 1 1
8: 3
9: 1 1 2
10: 1 2 1
11: 2 1 1
12: 1 1 1 1 1
13: 1 3
14: 2 2
15: 1 1 1 2
16: 3 1
17: 1 1 2 1
18: 1 2 1 1
19: 2 1 1 1
20: 1 1 1 1 1 1
MATHEMATICA
DeleteDuplicates[Table[Length/@Split[Join@@Position[Reverse[IntegerDigits[n, 2]], 1], #2!=#1+1&], {n, 0, 100}]]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Jul 14 2025
STATUS
approved
