Number of i such that d(i) <= d(i-1), where Sum_{i=0..m} d(i)*2^i is the base-2 representation of n.

A037809

Number of i such that d(i) <= d(i-1), where Sum_{i=0..m} d(i)*2^i is the base-2 representation of n.

Terms

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

External references