1,2

Permutation of natural numbers with inverse A210771.

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

Index entries for sequences that are permutations of the natural numbers

a(2*n-1) = A022441(n-1); a(2*n) = A055562(n-1).

(Haskell)

import Data.List (delete)

a210770 n = a210770_list !! (n-1)

a210770_list = 1 : 2 : f 1 2 [3..] where

f u v (w:ws) = u' : w : f u' w (delete u' ws) where u' = v + w

Cf. A064736.

Sequence in context: A333811 A257906 A257983 * A227688 A328827 A181184

Adjacent sequences: A210767 A210768 A210769 * A210771 A210772 A210773

nonn

Reinhard Zumkeller, Mar 25 2012

approved