OFFSET
1,2
COMMENTS
Base 3/2 representations are considered with nonnegative exponents only (i.e. ending at the radix point).
Notice that this is not a positional number system as, for example, H0=3/4 < 1 (i.e., the lexicographical comparison of representations does not match the numerical comparison).
If we use base 3/2 with digits {0, 1, 2} instead (cf. A320272), this sequence correspond to the indices of even integers.
FORMULA
a(n) = number of positive numbers less than n that are representable in base 3/2 with digits {0, H=1/2, 1}. - Max Alekseyev, Oct 12 2018
a(n) = A320272(2*n-1).
EXAMPLE
The sequence S starts with 0, H=1/2, H0=3/4, 1, H00=9/8, HH=5/4, 10=3/2, H0H=13/8, H000=27/16, ....
The indices of first two integers in S are a(1)=0 and a(2)=3.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Tanya Khovanova and PRIMES STEP Junior group, Oct 03 2018
EXTENSIONS
Edited by Max Alekseyev, Oct 12 2018
STATUS
approved