a(1)=0=0_5=0_6
a(2)=1=1_5=1_6
a(3)=2=2_5=2_6
a(4)=3=3_5=3_6
a(5)=4=4_5=4_6
a(6)=7=12_5=11_6
a(7)=8=13_5=12_6
a(8)=9=14_5=13_6
a(9)=14=24_5=22_6
a(10)=43=133_5=111_6
a(11)=44=134_5=112_6
a(12)=64=224_5=144_6
a(13)=93=333_5=233_6
a(14)=94=334_5=234_6
a(15)=784=11114_5=3344_6
a(16)=1562=22222 _5=11122_6
a(17)=1563=22223_5=11123_6
a(18)=1564=22224_5=11124_6
a(19)=1569=22234_5=11133_6
a(20)=1599=22344_5=11223_6
a(21)=3124=44444_5=22244_6
a(22)=9374=24444_5=111222_6