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

A037793

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

Terms

    a(0) =3a(1) =14a(2) =57a(3) =228a(4) =915a(5) =3662a(6) =14649a(7) =58596a(8) =234387a(9) =937550a(10) =3750201a(11) =15000804a(12) =60003219a(13) =240012878a(14) =960051513a(15) =3840206052a(16) =15360824211a(17) =61443296846a(18) =245773187385a(19) =983092749540

External references