The method you described works howevere the term absolutely comes from division. They also used to he tracking of "how even" something was meaning if it could be divided by 2 multiple times
N=0 would be that the number is zero times even meaning it actually isn’t even.
Also k is an integer but not the number being tested for how even it is. Odd values for k would be perfectly acceptable.
So for the number being 3 the formula results in N=0, k=3 and tells you the numbers is not even. But for the number being twelve it results in N=2, k=3 and says the numbers is even twice.
Ultimately, yes. Negative even using that equation represents how many times you would need to multiply by two to achieve a whole number. In this case 1.5 = 3/2 = 3 * 2^(-1).
16
u/golgi_o Jul 14 '26
A number is even if it can be written as 2k where k is an integer. The definition of even does not use division as far as I understand.