OFFSET
0,3
COMMENTS
Every nonnegative integer appears exactly once.
EXAMPLE
The ternary integers are: 0, 1, 2, 10, 11, 12, 20, 21, 22, 100 and so on. The values of these numbers interpreted in base 3/2 are 0, 1, 2, 1.5, 2.5, 3.5, 3, 4, 5, 2.25 and so on. The values in ascending order are: 0, 1, 1.5, 2, 2.25, 2.5 and so on. Consider n=4. The corresponding ternary integer is 11 with the value 2.5. 2.5 is the fifth positive value on the list, thus a(4) = 5.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tanya Khovanova and PRIMES STEP Junior group, Oct 08 2018
STATUS
approved