1,2

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

Index entries for sequences that are permutations of the natural numbers

a(1) = 1; for n>1: a(n) = 1 + A246276(n-1).

As a composition of related permutations:

a(n) = A253562(A122111(n)).

a(n) = 1 + A253552(A156552(n)).

(Scheme, two versions)

(define (A252752 n) (if (<= n 1) n (let ((x (A055396 n)) (y (A246277 n))) (+ 1 (* (/ 1 2) (- (expt (+ x y) 2) x y y y -2))))))

(define (A252752 n) (if (<= n 1) n (+ 1 (A246276 (- n 1)))))

Inverse of array A246278 considered as a permutation of natural numbers with prepended a(1) = 1.

Cf. A055396, A246277.

Related permutations A122111, A156552, A246276, A253552, A253562.

Differs from A252460 for the first time at n=21, where a(21) = 18, while A252460(21) = 13.

Sequence in context: A280741 A255128 A252460 * A056536 A258237 A108228

Adjacent sequences: A252749 A252750 A252751 * A252753 A252754 A252755

nonn

Antti Karttunen, Jan 03 2015

approved