![]() |
sponsored links |
|
|
sponsored links
|
|
|
3
13th April 00:32
External User
Posts: 1
|
Let T(p,q) denote the number of lattice points inside the appropriate
triangle. Note that the statement is trivially true if either p or q is 1, as there are no lattice points inside the triangle. (i.e., T(p,1) = T(1,q) = 0.) For integral k with 0 < k < q/2 there are Floor(1/2 + k*p/q) lattice points inside the triangle on the line y = k. So the total number of lattice points is Sum(k = 1 to (q-1)/2) Floor(1/2 + k*p/q) WLOG let p > q > 1. We can then write p = 2*q*t + u for integers t, u satisfying t > 0, |u| < q, u odd, gcd(q,u) = 1. The inner term of the sum becomes Floor(1/2 + k*(2*q*t + u)/q) = Floor(1/2 + 2*k*t + k*u/q) = 2*k*t + Floor(1/2 + k*u/q) Since we are concerned only with parity, we can drop the even terms as being of no interest. T(p,q) thus has the same parity as F_q(u): Sum(k = 1 to (q-1)/2) Floor(1/2 + k*u/q). and the result will be proved if we can show that this is even for all appropriate choices of q, u. Now, Floor(1/2 + x) + Floor(1/2 - x) = 0, except when x is an odd multiple of 1/2. Since q is odd, k*u/q can never be an odd multiple of 1/2. Thus F_q(u) + F_q(-u) = 0, and in particular they have the same parity. So it suffices to consider positive values of u. So we want to show that F_q(u) is always even for positive u, coprime to q, with 0 < u < q. But F_q(u) = T(u, q), which is a smaller instance of the problem. The result follows by descent, height induction, or the usual proof by contradiction ("consider the smallest counterexample..."). Cheers, Geoff. ----------------------------------------------------------------------------- Geoff Bailey (Fred the Wonder Worm) | Programmer by trade -- ftww@maths.usyd.edu.au | Gameplayer by vocation. ----------------------------------------------------------------------------- |
|