AND BY DEFINITION, FOR I ∈ {0,1, . . . , `}, KI(N−I−KI) = M. SO, TO...
2, and by definition, for i ∈ {0,1, . . . , `}, k
i
(n−i−ki
) = m. So, to complete the proofof the sufficiency we only need to show that each ki
is an integer. For this one has bydirect computation that k`
= (a+ 1)b and k`−1
=ab. Fori∈ {0,1, . . . , `−2}, if one hadthatki
were a fraction with denominator 2 (in lowest terms) one would conclude from theequationki
(n−i−ki
) = m that mis a fraction with denominator 4, which is impossiblesince m is an integer.Necessity: Given i ∈ {0,1, . . . , `}. Since we have an arrow from n−i to m, there is apositive integer ki
≤(n−i)/2 such that ki
(n−i−ki
) =m. Solving this equation for ki
and using the fact that ki
≤(n−i)/2 we get(n−i)2
−4mki
= (n−i)−p