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”).

A245452
Self-inverse permutation of nonnegative integers, A075158-conjugate of the inverse of gray code: a(n) = 1 + A075157(A006068(A075158(n-1))).
4
1, 2, 4, 3, 9, 8, 18, 5, 6, 25, 75, 16, 150, 36, 27, 7, 735, 12, 1470, 49, 50, 245, 12705, 32, 15, 300, 10, 72, 25410, 125, 195195, 11, 225, 4235, 54, 24, 390390, 2940, 490, 121, 4339335, 100, 8678670, 847, 81, 65065, 92147055, 64, 30, 35, 2205, 600, 184294110, 20, 147, 144, 8470, 50820, 2565568005, 343, 5131136010, 1446445, 98, 13
OFFSET
1,2
FORMULA
a(n) = 1 + A075157(A006068(A075158(n-1))).
PROG
(Scheme) (define (A245452 n) (+ 1 (A075157 (A006068 (A075158 (- n 1))))))
CROSSREFS
Inverse: A245451.
Similar permutations: A245454, A122111, A241909, A241916.
Sequence in context: A243353 A182194 A060837 * A019600 A096901 A285268
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 22 2014
STATUS
approved