Number of twos minus number of ones in the first 2^n entries of the Kolakoski sequence, A000002.
A289323
Number of twos minus number of ones in the first 2^n entries of the Kolakoski sequence, A000002.
Terms
- a(0) =-1a(1) =0a(2) =0a(3) =0a(4) =0a(5) =-2a(6) =0a(7) =0a(8) =-2a(9) =0a(10) =-2a(11) =0a(12) =-6a(13) =6a(14) =0a(15) =6a(16) =44a(17) =26a(18) =-20a(19) =-48a(20) =52a(21) =58a(22) =104a(23) =-82a(24) =-250a(25) =-270a(26) =-474a(27) =-1864a(28) =-3094a(29) =-4588
External references
- oeis: A289323