Number of runs of odd length in the base 3 representation of n.
A044943
Number of runs of odd length in the base 3 representation of n.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =0a(4) =2a(5) =2a(6) =2a(7) =0a(8) =1a(9) =3a(10) =3a(11) =1a(12) =1a(13) =1a(14) =3a(15) =3a(16) =1a(17) =1a(18) =3a(19) =3a(20) =3a(21) =1a(22) =3a(23) =1a(24) =1a(25) =1a(26) =2a(27) =2a(28) =2a(29) =4
External references
- oeis: A044943