Section 9.7 The Conductor, solved
Do you remember A First Problem from the prologue? Somewhat surprisingly, perhaps, the same train of ideas from the proof thatExample 9.7.1.
As before, let us take a concrete example, for
In each column, look at the lowest number that can be represented. Do all of these have something in common? You may also want to see any commonalities in the numbers which cannot be represented.
To complement the table, try the following interact if you are online. This time elements that do have a representation as
xxxxxxxxxx
def _(m=(3,[2..10]),n=(5,[2..10])):
them = set([m*x+n*y for x in srange(n) for y in srange(m)])
T = [['<m>[%s]</m>'%i for i in [0..m-1]]]
for k in range(n):
t = []
for i in [0+k*m..m-1+k*m]:
if i in them:
t.append('%s !'%i)
else:
t.append('<m>%s</m>'%i)
T.append(t)
pretty_print(html(table(T, header_row=True, frame=True)))
Fact 9.7.3.
Given
Proof.
See above for the formula for the conductor. Then we want to show that exactly half of the numbers below the conductor, including the (obviously) representable 0, are in fact representable. We will do this by pairing up the numbers from \(0\) to \((m-1)n-m\) in a way such that each pair adds up to \((m-1)n-m\text{.}\) One of each pair will be representable, yielding the conclusion. (That the numbers arrange in pairs follows from noting that since \(\gcd(m,n)=1\text{,}\) at least one of \(m,n\) is odd, so there are an even number of integers from \(0\) to \((m-1)n-m\text{.}\))
Suppose that \(0\leq z\leq (m-1)n-m\) is representable, so that
Then consider the ‘complement’
(In Example 9.7.1 we could consider \(z=5\) and \(z'=2\text{,}\) where \(x=0,y=1\text{.}\))
We can bound the difference between \(m\) and \(y\text{,}\) or to be more precise \(m-1\) and \(y\text{.}\) If \(m-1\leq y\text{,}\) then by construction \(z\geq n(m-1)\text{,}\) but we are assuming \(z\) is less than the conductor. So
Certainly \((-1-x)<0\text{,}\) so it sure looks like \(z'=m(-1-x)+n(m-1-y)\) is not representable.
Of course, it's possible that \(z'\) could be written in a representable way by adding \(m\)s and subtracting \(n\)s. However, because \(m\) and \(n\) are coprime (think back to our methods in Section 3.1), the minimum possible number of each of these needed to do this would be \(n\) added \(m\)s, and \(m\) subtracted \(n\)s. Then we could write
but this has the problem now that \(-1-y\lt 0\text{.}\)
Finally, we can invert this argument to ensure this is a one-to-one correspondence between representable numbers and the rest. By Definition 2.4.1, any positive number \(z'\) which is not representable must still have a representation as \(mx+ny\text{,}\) just that either \(x\) or \(y\) (but not both) positive. Pick the representation \(z'=mx+ny\) with the smallest positive \(x\) (which exists by Axiom 1.2.1). Then by the argument in the previous paragraph, we know \(z'\) can also be written as \(m(x-n)+n(y+m)\) where now \(x-n<0\text{,}\) since \(x\) was the smallest positive option for the coefficient of \(m\text{.}\) Since \(z'\) isn't representable, then \(y+m>0\text{.}\)
We can rewrite this as \(0<-y<m\) and \(0<x<n\text{.}\) Then the ‘complement’ can be represented as follows, where in the last line we add \(mn\) to the first term and subtract it from the second term:
Since \(x-n<0\text{,}\) we know \(n>x\) which means \(n-x-1\geq 0\text{;}\) since similarly \(-y>0\) we know that \(-1-y\geq 0\text{,}\) so \(z\) really is representable, and we have completed the proof.