Number of times a number of the form 4n+2 is encountered when iterating from 2^(n+1)-2 to (2^n)-2 with the map x -> x - (number of runs in binary representation of x).

A255126

Number of times a number of the form 4n+2 is encountered when iterating from 2^(n+1)-2 to (2^n)-2 with the map x -> x - (number of runs in binary representation of x).

Terms

    a(0) =0a(1) =1a(2) =1a(3) =2a(4) =4a(5) =6a(6) =10a(7) =16a(8) =27a(9) =50a(10) =97a(11) =188a(12) =355a(13) =652a(14) =1177a(15) =2126a(16) =3886a(17) =7204a(18) =13501a(19) =25465a(20) =48192a(21) =91411a(22) =173851a(23) =331821a(24) =636035a(25) =1224505a(26) =2366662a(27) =4588124a(28) =8913418a(29) =17338878

External references