OFFSET
0,6
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 182 are {2,3,5,6,8}, with maximal anti-runs ((2),(3,5),(6,8)) so row 182 is (1,2,2).
Triangle begins:
0: ()
1: (1)
2: (1)
3: (1,1)
4: (1)
5: (2)
6: (1,1)
7: (1,1,1)
8: (1)
9: (2)
10: (2)
11: (1,2)
12: (1,1)
13: (2,1)
14: (1,1,1)
15: (1,1,1,1)
MATHEMATICA
bpe[n_]:=Join@@Position[Reverse[IntegerDigits[n, 2]], 1];
Table[Length/@Split[bpe[n], #2!=#1+1&], {n, 0, 100}]
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Gus Wiseman, Jun 17 2025
STATUS
approved
