login
A361740
Right border of A362312.
2
0, 2, 1, 4, 3, 6, 5, 9, 7, 8, 11, 10, 13, 12, 15, 16, 14, 18, 17, 20, 19, 22, 21, 24, 23, 26, 25, 28, 27, 30, 29, 32, 31, 34, 33, 36, 35, 38, 37, 40, 39, 42, 41, 44, 43, 46, 45, 48, 47, 50, 49, 52, 51, 54, 53, 56, 55, 58, 57, 60, 59, 62, 61, 64, 63, 66, 65, 68
OFFSET
0,2
COMMENTS
This sequence is a permutation of the nonnegative integers.
EXAMPLE
The first terms, alongside the first rows of A362312, are:
n a(n) n-th row of A362312
- ---- -----------------------------
0 0 0
1 2 1 2
2 1 2 . 1
3 4 3 0 2 4
4 3 4 . . . 3
5 6 5 1 . . 0 6
6 5 6 . 0 . 1 . 5
7 9 7 3 4 2 5 8 6 9
PROG
(C++) See Links section.
CROSSREFS
Cf. A362312.
Sequence in context: A282665 A320283 A232805 * A073672 A306230 A071065
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Apr 16 2023
STATUS
approved