0,3

Permutation of the natural numbers with fixed points A118767: a(A118767(n))=A118767(n);

A118766(n) = a(a(n)).

Robert G. Wilson v, Table of n, a(n) for n = 0..10000

Index entries for sequences that are permutations of the natural numbers

(* first do Mmca in A118763, then *) Flatten@ Table[Position[s, n], {n, 0, 100}] - 1 (* Robert G. Wilson v, Sep 22 2016 *)

Cf. A118758.

Sequence in context: A256755 A045876 A033865 * A226134 A057717 A183222

Adjacent sequences: A118761 A118762 A118763 * A118765 A118766 A118767

nonn

Reinhard Zumkeller, May 01 2006

approved