OFFSET
1,3
EXAMPLE
The reversed binary expansion of 100 is (0,0,1,0,0,1,1), with zeros at positions {1,2,4,5}, so row 100 is (1,2,4,5).
Triangle begins:
1:
2: 1
3:
4: 1 2
5: 2
6: 1
7:
8: 1 2 3
9: 2 3
10: 1 3
11: 3
12: 1 2
13: 2
14: 1
15:
16: 1 2 3 4
MATHEMATICA
Table[Join@@Position[Reverse[IntegerDigits[n, 2]], 0], {n, 30}]
CROSSREFS
KEYWORD
nonn,base,tabf
AUTHOR
Gus Wiseman, May 26 2024
STATUS
approved