1,2

A240024(a(n)) = A018252(n);

a permutation of the natural numbers with inverse A238862: a(A238862(n))=A238862(a(n))=n.

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Index entries for sequences that are permutations of the natural numbers

(Haskell)

import Data.List (elemIndex); import Data.Maybe (fromJust)

a239965 = (+ 1) . fromJust . (`elemIndex` a240024_list) . a018252

Cf. A239943 (fixed points).

Sequence in context: A268131 A014321 A175343 * A072767 A071651 A072658

Adjacent sequences: A239962 A239963 A239964 * A239966 A239967 A239968

nonn

Reinhard Zumkeller, Apr 30 2014

approved