login
A273667
Permutation of nonnegative integers: a(0) = 0, a(A153880(n)) = A255411(a(n)), a(A273670(n)) = A256450(a(n)).
11
0, 1, 4, 2, 6, 3, 18, 8, 12, 5, 24, 10, 48, 15, 16, 7, 30, 13, 56, 20, 21, 9, 36, 17, 96, 67, 60, 26, 27, 11, 72, 42, 22, 23, 120, 81, 240, 73, 66, 32, 33, 14, 87, 49, 28, 29, 144, 101, 360, 270, 88, 89, 80, 38, 90, 39, 52, 19, 107, 57, 288, 34, 76, 35, 168, 125, 416, 303, 109, 110, 99, 44, 420, 111, 108, 45, 61, 25, 112, 131, 64, 68, 327, 40
OFFSET
0,3
FORMULA
a(0) = 0; for n >= 1: if A257680(A225901(n)) = 0 [when n is one of the terms of A153880] then a(n) = A255411(a(A266193(n))), otherwise [when n is one of the terms of A273670], a(n) = A256450(a(A273663(n))).
As a composition of other permutations:
a(n) = A255566(A273665(n)).
PROG
(Scheme, with memoization-macro definec)
(definec (A273667 n) (cond ((zero? n) n) ((zero? (A257680 (A225901 n))) (A255411 (A273667 (A266193 n)))) (else (A256450 (A273667 (A273663 n))))))
CROSSREFS
Inverse: A273668.
Similar or related permutations: A255566, A273665.
Sequence in context: A281978 A325887 A209877 * A187109 A242599 A092205
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, May 30 2016
STATUS
approved