1,2

Permutation of the natural numbers with inverse A099258;

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

a(A033484(n) + 1) = 2*A033484(n) + 1 = A068156(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 - 1 then 2*n + 1 else n - 1).

Sequence in context: A300883 A019916 A201838 * A270701 A083762 A173028

Adjacent sequences: A099254 A099255 A099256 * A099258 A099259 A099260

nonn

Reinhard Zumkeller, Oct 09 2004

approved