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

A037521

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

Terms

    a(0) =2a(1) =9a(2) =36a(3) =146a(4) =585a(5) =2340a(6) =9362a(7) =37449a(8) =149796a(9) =599186a(10) =2396745a(11) =9586980a(12) =38347922a(13) =153391689a(14) =613566756a(15) =2454267026a(16) =9817068105a(17) =39268272420a(18) =157073089682a(19) =628292358729

External references