login
A371961
Nonnegative integers ordered by A371944 and then by value, with offset 0.
3
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,3
COMMENTS
This sequence is a permutation of the nonnegative integers with inverse A371962.
This sequence can be seen as an irregular table where the n-th row contains the integers k such that A371944(k) equals the n-th integer belonging to A371944.
FORMULA
A070939(a(n)) = A070939(n).
EXAMPLE
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
PROG
(PARI) \\ See Links section.
CROSSREFS
Cf. A070939, A371944, A371962 (inverse).
Sequence in context: A154446 A154442 A375183 * A354225 A154445 A165199
KEYWORD
nonn,base,tabf
AUTHOR
Rémy Sigrist, Apr 14 2024
STATUS
approved