1,2

Inverse permutation to A050000: a(A050000(n)) = A050000(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)

a050001 n = (fromJust $ elemIndex n a050000_list) + 1

-- Reinhard Zumkeller, Nov 13 2011

a(n) = k <=> A050000(k) = n.

Sequence in context: A248261 A264991 A088507 * A166199 A008566 A111129

Adjacent sequences: A049998 A049999 A050000 * A050002 A050003 A050004

nonn,easy

Clark Kimberling

More terms from Ray Chandler, Nov 16 2003

approved