OFFSET
0,2
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 53 are {1,3,5,6}, with maximal runs ((1),(3),(5,6)), with lengths (1,1,2). After removing duplicates, this is our row 16.
Triangle begins:
0: .
1: 1
2: 2
3: 1 1
4: 3
5: 2 1
6: 1 2
7: 4
8: 1 1 1
9: 3 1
10: 2 2
11: 1 3
12: 5
13: 2 1 1
14: 1 2 1
15: 4 1
16: 1 1 2
17: 3 2
18: 2 3
19: 1 4
20: 6
21: 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
