Given a sequence u consisting just of 1's and 2's, let f(u)(n) be the length of n-th run. Then we may define a sequence u = {a(n)} by a(n)=f^(n-1)(u)(1) (starting with n=1).

A087889

Given a sequence u consisting just of 1's and 2's, let f(u)(n) be the length of n-th run. Then we may define a sequence u = {a(n)} by a(n)=f^(n-1)(u)(1) (starting with n=1).

Terms

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

External references