1,2

Antti Karttunen, Table of n, a(n) for n = 1..10001

Index entries for sequences that are permutations of the natural numbers

a(1)=1, a(2n) = A244991(a(n)), a(2n+1) = A244990(1+a(n)).

For all n >= 1, A244992(a(n)) = 1 - A000035(n).

(Scheme, with memoization macro definec)

(definec (A244322 n) (cond ((= 1 n) 1) ((even? n) (A244991 (A244322 (/ n 2)))) (else (A244990 (+ 1 (A244322 (/ (- n 1) 2)))))))

Inverse: A244321.

Cf. A244990, A244991, A244992.

Similar entanglement permutations: A227413, A237126, A243288, A243344, A243346.

Sequence in context: A129608 A130373 A121731 * A129605 A057509 A130919

Adjacent sequences: A244319 A244320 A244321 * A244323 A244324 A244325

nonn

Antti Karttunen, Jul 22 2014

approved