OFFSET
1,1
COMMENTS
LINKS
B. Chen, R. Chen, J. Guo, S. Lee et al., On Base 3/2 and its Sequences, arXiv:1808.04304 [math.NT], 2018.
FORMULA
a(n) = A070885(n+1) - 1.
EXAMPLE
The number 5 in base 3/2 is 22, and the number 6 is 210. Therefore, 5 is the largest integer needing two digits in base 3/2.
PROG
(PARI) first(n) = {my(res = vector(n)); res[1] = 2; for(i = 2, n, res[i] = 3 * res[i-1] / 2 + if(res[i-1] % 2==0, 2, 1/2)); res} \\ David A. Corneth, May 11 2018
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Tanya Khovanova and PRIMES STEP Senior group, May 04 2018
STATUS
approved