%I #20 Feb 12 2021 12:12:57
%S 1,2,21,212,21011,212022,21200101,2101100202,21202202121,
%T 2120012010112,210110211022111,2122111011101222,212001222211110201,
%U 21011210220122222102,2101100011201022201221,21202200211121122010012,2120010121200020001020211,210110211001100210002212122
%N Powers of 2 in base 3/2.
%C a(n) is A305658(n) with n zeros removed at the end, where A305658(n) is powers of 3 in base 3/2.
%H B. Chen, R. Chen, J. Guo, S. Lee et al., <a href="http://arxiv.org/abs/1808.04304">On Base 3/2 and its Sequences</a>, arXiv:1808.04304 [math.NT], 2018.
%F a(n) = A024629(A000079(n)). - _Michel Marcus_, Jun 18 2018
%p b:= proc(n) `if`(n<1, 0, irem(n, 3, 'q')+b(2*q)*10) end:
%p a:= n-> b(2^n):
%p seq(a(n), n=0..20); # _Alois P. Heinz_, Jun 18 2018
%o (PARI) f(n) = if( n<1, 0, f(n\3 * 2) * 10 + n%3);
%o a(n) = f(2^n); \\ _Michel Marcus_, Jun 18 2018
%Y Cf. A024629, A246435, A305658.
%K nonn,base
%O 0,2
%A _Tanya Khovanova_ and PRIMES STEP Senior group, Jun 07 2018
%E More terms from _Michel Marcus_, Jun 18 2018
|