a(1)=1, a(2)=2, then if the first 3*2^k-1 terms are a(1), a(2), ..., a(3*2^k - 1), the first 3*2^(k+1)-1 terms are a(1), a(2), ..., a(3*2^k - 1), a(1), a(2), ..., a(3*2^k - 1), a(3*2^k-1) + 1.

A082691

a(1)=1, a(2)=2, then if the first 3*2^k-1 terms are a(1), a(2), ..., a(3*2^k - 1), the first 3*2^(k+1)-1 terms are a(1), a(2), ..., a(3*2^k - 1), a(1), a(2), ..., a(3*2^k - 1), a(3*2^k-1) + 1.

Terms

    a(0) =1a(1) =2a(2) =1a(3) =2a(4) =3a(5) =1a(6) =2a(7) =1a(8) =2a(9) =3a(10) =4a(11) =1a(12) =2a(13) =1a(14) =2a(15) =3a(16) =1a(17) =2a(18) =1a(19) =2a(20) =3a(21) =4a(22) =5a(23) =1a(24) =2a(25) =1a(26) =2a(27) =3a(28) =1a(29) =2

External references