Count_of_factors_of_2 is a function which returns the highest positive integer power of 2 that can be divided evenly (i.e., with a remainder of 0) into its integer argument and otherwise the function returns 0.
n is a non-negative integer and is otherwise not specified.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
2 n − i = 0 ∑ n − 1 2 i is 1 .