1,2

Permutation of the natural numbers;

a(A033484(n)) = A033484(n);

a(A033484(n) - 1) = A033484(n)/2 = A055010(n).

Table of n, a(n) for n=1..72.

Index entries for sequences that are permutations of the natural numbers

a(n) = if n = 3*2^k - 2 then n else (if n = 3*2^k - 3 then (n + 1)/2 else n + 1).

Sequence in context: A014685 A239516 A021312 * A264905 A254052 A105746

Adjacent sequences: A099255 A099256 A099257 * A099259 A099260 A099261

nonn

Reinhard Zumkeller, Oct 09 2004

approved