A371961 Nonnegative integers ordered by A371944 and then by value, with offset 0.
0, 1, 3, 2, 6, 7, 4, 5, 12, 15, 13, 14, 9, 10, 8, 11, 24, 25, 30, 31, 26, 27, 28, 29, 18, 19, 20, 21, 16, 17, 22, 23, 48, 51, 60, 63, 49, 50, 61, 62, 53, 54, 57, 58, 52, 55, 56, 59, 36, 39, 40, 43, 37, 38, 41, 42, 33, 34, 45, 46, 32, 35, 44, 47, 96, 97, 102, 103, 120, 121, 126, 127
Offset: 0
Examples
The first terms, alongside A371944(a(n)), are: n a(n) A371944(a(n)) -- ---- ------------- 0 0 0 1 1 1 2 3 2 3 2 3 4 6 5 5 7 5 6 4 6 7 5 6 8 12 10 9 15 10 10 13 11 11 14 11 12 9 12 13 10 12 14 8 13 15 11 13 16 24 21 . As an irregular table, sequence begins: n n-th row A371944(T(n, k)) -- ---------------- ---------------- 0 [0] 0 1 [1] 1 2 [3] 2 3 [2] 3 4 [6, 7] 5 5 [4, 5] 6 6 [12, 15] 10 7 [13, 14] 11 8 [9, 10] 12 9 [8, 11] 13 10 [24, 25, 30, 31] 21 11 [26, 27, 28, 29] 22 12 [18, 19, 20, 21] 25 13 [16, 17, 22, 23] 26
Links
- Rémy Sigrist, Table of n, a(n) for n = 0..8191
- Rémy Sigrist, PARI program
- Index entries for sequences that are permutations of the natural numbers
Programs
-
PARI
\\ See Links section.
Comments