| New Reply |
The largest number not in the form of ax+by, with gdc(a,b)=1. |
Share Thread | Thread Tools |
| Feb13-11, 07:03 PM | #1 |
|
|
The largest number not in the form of ax+by, with gdc(a,b)=1.
I have tried some values of a,b. And I guess the largest number not in the form of ax+by, (x,y are non-negative integers) with gcd(a,b)=1 is ab-a-b. But I don't know how to prove it. Can anyone give me some hints or directions? I don't want the detail proof,as I want to try it by myself. thank you
|
| Feb14-11, 03:55 AM | #2 |
|
|
Edit
|
| Feb14-11, 04:01 AM | #3 |
|
|
|
| Feb14-11, 11:18 AM | #4 |
|
|
The largest number not in the form of ax+by, with gdc(a,b)=1.
To be a bit more clear, if you set x and y to 1, then a + b (with gcd = 1) becomes, for the even numbers, a very broad generalization of Goldbach's Conjecture (which applies to primes only). And for the odd numbers, well, I am sure you can see the utility, with respect to that, of setting either a or b to 1.
e.g. in relation to the form you mentioned... 5*6 - 5 - 6 = 19 (18 * 1) + (1 * 1) = 19 |
| Feb14-11, 01:38 PM | #5 |
|
|
Hi, lifom,
I assume you mean a,b > 1, otherwise it won't work. Here is an observation that may help your way to a proof: first, make a list of all numbers, from 0 inclusive and less than ab-a-b, which DO have the form ax+by with x,y >= 0. And now, make a second list with the numbers of the form ab-a-b-n, where n is a number in the first list. You will find that the second list contains exactly the missing numbers in the first list. |
| Feb14-11, 11:01 PM | #6 |
|
|
|
| Feb15-11, 01:01 AM | #7 |
|
Blog Entries: 6
|
|
| Feb15-11, 01:08 AM | #8 |
|
|
In the example in post #6, the numbers of the required form are 0,3,6,7,9,10, and then 12,13,14... The numbers not of the form are all negatives (since a,b,x,y are not negative), 1,2,4,5,8,11, and then no more.
What I was suggesting is to realize the relation between these two lists: if you take 11-n, where n is one of 0,3,6,7,9,10, you obtain 1,2,4,5,8,11. Why? To save some saliva, define the predicate P(n) to mean "n can be expressed as ax+by, with x,y non-negative". The question was why ab-a-b is the highest n such that P(n) is false. A useful lemma in that direction is to prove first that P(n) is false if and only if P(ab-a-b-n) is true. Then we are done, since the minimum n for which P(n) is true is n=0. |
| Feb15-11, 03:19 AM | #9 |
|
|
This is actually a pretty well researched problem. I believe there are entire books related to variants of this problem. The problem of finding this lower bound is called the Frobenius problem or more well known as the coin problem. In the case of 2 variables, your equation is indeed correct.
|
| Feb15-11, 03:36 AM | #10 |
|
|
Dang, there goes another wheel. : P
|
| Feb15-11, 09:34 PM | #11 |
|
|
Let P(n) : "n is a form of ax+by, gcd(a,b)=1, a,b are positive integers, x,y are non negative integers" Clam 1: If P(n1) and P(n2) is true, then P(n1+n2) is also true. (since n1=ax1+by1, n2=ax2+by2, then (n1+n2)=a(x1+x2)+b(y1+y2) x1+x2>=0,y1+y2>=0) Clam 2: P(ab-a-b) must be false. Assume P(ab-a-b) is true, there exist x,y>=0 such that ax+by=ab-a-b rearranging, a(x+1) = b(a-y-1), since gcd(a,b)=1. that means a|(a-y-1). also a-y-1>=0 and a-y-1<a (because y>=0). Therefore a-y-1 can only be 0. Then a(x+1) = b(0) imply x=-1 which is contridiction! (x must be >=0!) So we CANNOT find non negative integers x,y such that ax+by = ab-a-b. Now consider P(n) and P(ab-a-b-n) Since P(ab-a-b) must be false (by Clam 1) P(n) and P(ab-a-b-n) cannot be both true. (by Clam 2) Lastly, since n = 0 is the minimum integer such that P(n) is true. So the maximum number such that P(n) is not true = ab-a-b. Is there any mistake(s) in my proof? |
| Feb15-11, 10:32 PM | #12 |
|
Blog Entries: 6
|
Here is a closely related challenge. Prove that there are exactly only (a-1)*(b-1)/2 positive integers with the form ax+by where gcd(a,b)=1, a,b are positive integers and x,y are non negative integers (i.e. same constraints as the problem in the OP).
Not sure if this is true, but it seems to be. <EDIT> This should of said there are exactly only (a-1)*(b-1)/2 positive integers NOT of the form ax+by. See posts 13 and 14. |
| Feb15-11, 11:47 PM | #13 |
|
|
3x+7y. Do you mean there are exactly only (a-1)*(b-1)/2 positive integers NOT with the form ax+by where gcd(a,b)=1, a,b are positive integers and x,y are non negative integers? |
| Feb16-11, 01:39 AM | #14 |
|
Blog Entries: 6
|
![]() For example with a=3 and b=7 the positive integers NOT with the form ax+by are 1,2,4,5,8 and 11. That is a total of 6 solutions in agreement with (a-1)*(b-1)/2 = (3-1)*(7-1)/2 = 6. Actually another way of stating it, more closely related to your original formula, is that there are exactly only (ab-a-b+1)/2 positive integers NOT with the form ax+by where gcd(a,b)=1, a,b are positive integers and x,y are non negative integers. Additionally, if x and y are constrained such that (0 <= x <= maxX) and (0 <= y <= maxY) where maxX and maxY are positive integers and (maxX>=b AND maxY>=a), then there are exactly (ab-a-b+1) positive integers NOT of the form ax+by. |
| New Reply |
| Thread Tools | |
Similar Threads for: The largest number not in the form of ax+by, with gdc(a,b)=1.
|
||||
| Thread | Forum | Replies | ||
| What is the largest number less than 1? | General Math | 97 | ||
| Largest possible number of villagers | Biology, Chemistry & Other Homework | 1 | ||
| The largest number with meaning? | General Discussion | 14 | ||
| NEED HELP WITH HOMEWORK No largest prime number | Precalculus Mathematics Homework | 6 | ||