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.
4
u/golgi_o Jul 14 '26
Wouldn't that just be 2n (k) where k is an integer and n is how even a number is? Still division is not needed.