login
A273668
Permutation of nonnegative integers: a(0) = 0, a(A255411(n)) = A153880(a(n)), a(A256450(n)) = A273670(a(n)).
9
0, 1, 3, 5, 2, 9, 4, 15, 7, 21, 11, 29, 8, 17, 41, 13, 14, 23, 6, 57, 19, 20, 32, 33, 10, 77, 27, 28, 44, 45, 16, 101, 39, 40, 61, 63, 22, 129, 53, 55, 83, 87, 31, 165, 71, 75, 107, 111, 12, 43, 213, 95, 56, 99, 137, 141, 18, 59, 269, 119, 26, 76, 125, 177, 80, 183, 38, 25, 81, 341, 134, 153, 30, 37, 100, 161, 62, 225, 104, 231, 52, 35
OFFSET
0,3
FORMULA
a(0) = 0; for n >= 1: if A257680(n) = 0 [when n is one of the terms of A255411] then a(n) = A153880(a(A257684(n))), otherwise [when n is one of the terms of A256450], a(n) = A273670(a(A273662(n))).
As a composition of other permutations:
a(n) = A273666(A255565(n)).
PROG
(Scheme, with memoization-macro definec)
(definec (A273668 n) (cond ((zero? n) n) ((zero? (A257680 n)) (A153880 (A273668 (A257684 n)))) (else (A273670 (A273668 (A273662 n))))))
CROSSREFS
Inverse: A273667.
Similar or related permutations: A255565, A273666.
Sequence in context: A186412 A322982 A275846 * A356472 A245653 A209748
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, May 30 2016
STATUS
approved