|
0, 1, 2, 4, 3, 5, 8, 9, 6, 7, 10, 16, 12, 17, 18, 20, 11, 13, 14, 19, 15, 21, 32, 33, 24, 25, 34, 36, 35, 37, 40, 41, 22, 23, 26, 28, 27, 29, 38, 39, 30, 31, 42, 64, 48, 65, 66, 68, 44, 49, 50, 67, 52, 69, 72, 73, 70, 71, 74, 80, 76, 81, 82, 84, 43, 45, 46, 51
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,3
|
|
COMMENTS
|
This sequence is a self-inverse permutation of the nonnegative integers.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
There are three numbers k such that A022290(k) = 11: 15, 19, 20,
- so a(15) = 20,
a(19) = 19,
a(20) = 15.
|
|
PROG
|
(PARI) See Links section.
|
|
CROSSREFS
|
See A360415 for a similar sequence.
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|