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

A037480

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

Terms

    a(0) =1a(1) =5a(2) =16a(3) =50a(4) =151a(5) =455a(6) =1366a(7) =4100a(8) =12301a(9) =36905a(10) =110716a(11) =332150a(12) =996451a(13) =2989355a(14) =8968066a(15) =26904200a(16) =80712601a(17) =242137805a(18) =726413416a(19) =2179240250a(20) =6537720751a(21) =19613162255a(22) =58839486766a(23) =176518460300a(24) =529555380901

External references