A358893 Irregular triangle T(n, k), n >= 0, k = 1..A193020(n), read by rows: the n-th row lists the numbers obtained by self-shuffling the binary expansion of n.
0, 3, 10, 12, 15, 36, 40, 48, 43, 45, 51, 53, 54, 58, 60, 63, 136, 144, 160, 192, 147, 149, 153, 163, 165, 169, 195, 197, 201, 170, 172, 178, 180, 202, 204, 210, 212, 175, 183, 187, 207, 215, 219, 204, 212, 216, 228, 232, 240, 219, 221, 235, 237, 243, 245
Offset: 0
Examples
Triangle T begins (in decimal): n n-th row -- -------- 0 0, 1 3, 2 10, 12, 3 15, 4 36, 40, 48, 5 43, 45, 51, 53, 6 54, 58, 60, 7 63, 8 136, 144, 160, 192, 9 147, 149, 153, 163, 165, 169, 195, 197, 201, ... Triangle T begins (in binary): n n-th row ---- -------- 0 0, 1 11, 10 1010, 1100, 11 1111, 100 100100, 101000, 110000, 101 101011, 101101, 110011, 110101, 110 110110, 111010, 111100, 111 111111, 1000 10001000, 10010000, 10100000, 11000000, ...
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..4768 (rows for n = 0..127 flattened)
- Rémy Sigrist, PARI program
- Index entries for sequences related to binary expansion of n
Programs
-
PARI
See Links section.
Comments