0,3

Permutation of the natural numbers, inverse: A143052;

A143053(n) = a(a(n));

a(A000290(n)) = A005563(n-1);

a(A002522(n)) = A000290(n+1);

for n>1: GCD(a(n^2),a(n^2+1)) = A050873(A000290(n),A002522(n)) =

A022998(n+1).

Peter Kagey, Table of n, a(n) for n = 0..10000

Index entries for sequences that are permutations of the natural numbers

a(n) = if n=0 then 0 else if n=1+k^2 then n+2*k else n-1.

Sequence in context: A201651 A026246 A321122 * A297022 A282888 A278101

Adjacent sequences: A143048 A143049 A143050 * A143052 A143053 A143054

nonn

Reinhard Zumkeller, Jul 20 2008

approved