OFFSET
1,3
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 sequence of terms together with their binary expansions and binary indices begins:
0: 0 ~ {}
1: 1 ~ {1}
2: 10 ~ {2}
4: 100 ~ {3}
6: 110 ~ {2,3}
8: 1000 ~ {4}
12: 1100 ~ {3,4}
14: 1110 ~ {2,3,4}
16: 10000 ~ {5}
18: 10010 ~ {2,5}
20: 10100 ~ {3,5}
22: 10110 ~ {2,3,5}
24: 11000 ~ {4,5}
28: 11100 ~ {3,4,5}
30: 11110 ~ {2,3,4,5}
32: 100000 ~ {6}
40: 101000 ~ {4,6}
44: 101100 ~ {3,4,6}
46: 101110 ~ {2,3,4,6}
48: 110000 ~ {5,6}
50: 110010 ~ {2,5,6}
MATHEMATICA
Select[Range[0, 100], !MatchQ[Join@@Position[Reverse[IntegerDigits[#, 2]], 1], {___, x_, y_, ___}/; Divisible[y, x]]&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Oct 21 2019
STATUS
approved