1,2

This permutation consists of three infinite cycles + infinite number of fixed points.

Table of n, a(n) for n=1..72.

A. Karttunen, Scheme-program for computing this sequence

Index entries for sequences that are permutations of the natural numbers

[seq(Z2N(A084461_Z2Z(N2Z(n))), n=1..45)];

N2Z := n -> ((-1)^n)*floor(n/2);

Z2N := z -> 2*abs(z)+`if`((z < 1), 1, 0);

A084461_Z2Z := z -> z+`if`((z > 0), A084458(z), `if`((z >= -3), 2*(-z), A084458(A084460((-z)-3))));

Inverse: A084462. Cf. also A084460, A084455, A084491, A084495, A084499, A065166.

Sequence in context: A278649 A084455 A069532 * A326107 A005483 A228276

Adjacent sequences: A084458 A084459 A084460 * A084462 A084463 A084464

nonn

Antti Karttunen, Jun 02 2003

approved