Let f(S) denote the interchange of 1's and 2's in S. Let S_0 = 1, S_{N+1} = f(S_N).S_N, where the dot indicates concatenation. Sequence gives S_0.S_1.S_2.S_3....

A122497

Let f(S) denote the interchange of 1's and 2's in S. Let S_0 = 1, S_{N+1} = f(S_N).S_N, where the dot indicates concatenation. Sequence gives S_0.S_1.S_2.S_3....

Terms

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

External references