0,2

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

Index entries for sequences that are permutations of the natural numbers

(PARI) N=100; vector(N, n, t=0; for(i=1, #A249278, A249278[i]==n-1&&(t=i)&&break); t-1)

(Haskell)

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

a249279 = fromJust . (`elemIndex` a249278_list)

-- Reinhard Zumkeller, Oct 27 2014

Sequence in context: A021937 A021586 A091131 * A145963 A199439 A153625

Adjacent sequences: A249276 A249277 A249278 * A249280 A249281 A249282

nonn

M. F. Hasler, Oct 24 2014

approved