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

A037681

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

Terms

    a(0) =1a(1) =4a(2) =19a(3) =78a(4) =313a(5) =1252a(6) =5011a(7) =20046a(8) =80185a(9) =320740a(10) =1282963a(11) =5131854a(12) =20527417a(13) =82109668a(14) =328438675a(15) =1313754702a(16) =5255018809a(17) =21020075236a(18) =84080300947a(19) =336321203790

External references