Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,2.

A037528

Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,2.

Terms

    a(0) =1a(1) =4a(2) =14a(3) =43a(4) =130a(5) =392a(6) =1177a(7) =3532a(8) =10598a(9) =31795a(10) =95386a(11) =286160a(12) =858481a(13) =2575444a(14) =7726334a(15) =23179003a(16) =69537010a(17) =208611032a(18) =625833097a(19) =1877499292a(20) =5632497878a(21) =16897493635a(22) =50692480906a(23) =152077442720a(24) =456232328161

External references