The ruler function: exponent of the highest power of 2 dividing 2n. Equivalently, the 2-adic valuation of 2n.
A001511
The ruler function: exponent of the highest power of 2 dividing 2n. Equivalently, the 2-adic valuation of 2n.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =3a(4) =1a(5) =2a(6) =1a(7) =4a(8) =1a(9) =2a(10) =1a(11) =3a(12) =1a(13) =2a(14) =1a(15) =5a(16) =1a(17) =2a(18) =1a(19) =3a(20) =1a(21) =2a(22) =1a(23) =4a(24) =1a(25) =2a(26) =1a(27) =3a(28) =1a(29) =2
External references
- oeis: A001511