Deriving Largest Unattainable Score with GCD(m,n)=1

  • Thread starter Thread starter imagination10
  • Start date Start date
imagination10
Messages
4
Reaction score
0
Suppose you have a game in which there are two kinds of scoring events. One event gives a score of m points, and the other gives a score of n points. Assume gcd(m,n)=1. Derive a formula for the largest unattainable score. Prove your answer is correct.

Well, I only can figure of these:

since (m, n)= 1, then we have

{0, m, 2m,..., (n-1)m} as a complete residue system mod n

and

{0, n, 2n,..., (m-1)n} as a complete residue system mod m.

What should I do then?
 
Physics news on Phys.org
Start with am+bn=N, which has integer solutions a,b for all N since (m,n)=1. Now, these solutions aren't necessarily positive, but if a,b are one set of solutions, then a+kn, b-km are also solutions, where k ranges over the integers.

Now assume a<0, in which case b>N/n. Now try new solutions a1=a+n, b1=b-m. If a1<0 still, then b1>N/n, and we can continue this process until ai>=0. But at this point, bi will only remain positive if N is greater than... See if you can complete this argument.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top