0,3

Antti Karttunen, Table of n, a(n) for n = 0..5039

Index entries for sequences related to factorial base representation

Index entries for sequences that are permutations of the natural numbers

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

(Scheme, with memoization-macro definec)

(definec (A273668 n) (cond ((zero? n) n) ((zero? (A257680 n)) (A153880 (A273668 (A257684 n)))) (else (A273670 (A273668 (A273662 n))))))

Inverse: A273667.

Cf. A153880, A255411, A256450, A257680, A257684, A273662, A273670.

Similar or related permutations: A255565, A273666.

Sequence in context: A186412 A322982 A275846 * A245653 A209748 A065172

Adjacent sequences: A273665 A273666 A273667 * A273669 A273670 A273671

nonn,base

Antti Karttunen, May 30 2016

approved