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).

A087890

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

External references