a(n)=Sum{d(i)*9^i: i=0,1,...,m}, where Sum{d(i)*6^i: i=0,1,...,m} is the base 6 representation of n.

A037472

a(n)=Sum{d(i)*9^i: i=0,1,...,m}, where Sum{d(i)*6^i: i=0,1,...,m} is the base 6 representation of n.

Terms

    a(0) =0a(1) =1a(2) =2a(3) =3a(4) =4a(5) =5a(6) =9a(7) =10a(8) =11a(9) =12a(10) =13a(11) =14a(12) =18a(13) =19a(14) =20a(15) =21a(16) =22a(17) =23a(18) =27a(19) =28a(20) =29a(21) =30a(22) =31a(23) =32a(24) =36a(25) =37a(26) =38a(27) =39a(28) =40a(29) =41

External references