login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A234024
Self-inverse permutation of nonnegative integers, A059893-conjugate of blue code: a(n) = A059893(A193231(A059893(n))).
6
0, 1, 3, 2, 6, 5, 4, 7, 15, 10, 9, 12, 11, 14, 13, 8, 24, 23, 18, 29, 20, 27, 30, 17, 16, 31, 26, 21, 28, 19, 22, 25, 57, 40, 39, 54, 45, 60, 51, 34, 33, 48, 63, 46, 53, 36, 43, 58, 41, 56, 55, 38, 61, 44, 35, 50, 49, 32, 47, 62, 37, 52, 59, 42, 106, 89, 72, 123
OFFSET
0,3
FORMULA
a(n) = A059893(A193231(A059893(n))).
a(n) = A059894(A234027(A059894(n))).
PROG
(Scheme) (define (A234024 n) (A059893 (A193231 (A059893 n))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 28 2013
STATUS
approved