1,2

Self-inverse permutation of the natural numbers;

A115310(n+1,2) = a(n);

if n is written in ternary representation, then a(n) is the value after replacing all digits d (but not the leading one) by 2-d.

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

Index entries for sequences that are permutations of the natural numbers

Cf. A054429, A115304, A115305, A115306, A115307, A115308, A115309, A106649.

Sequence in context: A265358 A171837 A216253 * A266403 A266415 A132664

Adjacent sequences: A115300 A115301 A115302 * A115304 A115305 A115306

nonn,base

Reinhard Zumkeller, Jan 20 2006

approved