Least k such that first k terms of A006928 contain n more 1's than 2's.

A025506

Least k such that first k terms of A006928 contain n more 1's than 2's.

Terms

    a(0) =2a(1) =1a(2) =4a(3) =31a(4) =256a(5) =797a(6) =824a(7) =857a(8) =1126a(9) =1397a(10) =1496a(11) =1523a(12) =1532a(13) =193139a(14) =193172a(15) =194035a(16) =194044a(17) =195377a(18) =196370a(19) =196379a(20) =198570a(21) =198633a(22) =199148a(23) =199553a(24) =199860a(25) =200285a(26) =201758a(27) =201785a(28) =201794a(29) =205329

External references