OFFSET
1,1
COMMENTS
This sequence is a self-inverse permutation of the positive integers with no fixed point.
LINKS
EXAMPLE
The infinite binary tree underlying A361144 starts as follows:
176
---------------------------------
43 133
----------------- -----------------
12 31 57 76
--------- --------- --------- ---------
3 9 13 18 25 32 35 41
----- ----- ----- ----- ----- ----- ----- -----
1 2 4 5 6 7 8 10 11 14 15 17 16 19 20 21
.
So a(1) = 2 and a(2) = 1, a(4) = 5 and a(5) = 4, etc.,
a(3) = 9 and a(9) = 3, a(13) = 18 and a(18) = 13, etc.,
a(12) = 31 and a(31) = 12, a(57) = 76 and a(76) = 57,
a(43) = 133 and a(133) = 43.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Mar 02 2023
STATUS
approved