A260211 Irregular triangle read by rows, T(n,k) is the decimal number conversion from an n-bit symmetric binary table arranged in ascending order for n > 1.
0, 1, 0, 3, 0, 2, 5, 7, 0, 6, 9, 15, 0, 4, 10, 14, 17, 21, 27, 31, 0, 12, 18, 30, 33, 45, 51, 63, 0, 8, 20, 28, 34, 42, 54, 62, 65, 73, 85, 93, 99, 107, 119, 127, 0, 24, 36, 60, 66, 90, 102, 126, 129, 153, 165, 189, 195, 219, 231, 255
Offset: 1
Examples
The irregular triangle begins: n\k 0 1 2 3 4 5 6 7 ... 1 0 1 2 0 3 3 0 2 5 7 4 0 6 9 15 5 0 4 10 14 17 21 27 31 6 0 12 18 30 33 45 51 63 ...
Links
- Kival Ngaokrajang, Illustration of initial terms
Programs
-
Mathematica
Flatten[Table[Select[Range[0,2^k -1], #==IntegerReverse[#,2,k]&],{k,1,8}]] (* Ed Pegg Jr, May 03 2021 *)
Comments