Least Positive Integer N for 4a+7b Form: Prove Property

In summary, to find a number N such that every integer n \geq N can be written in the form 4a + 7b, where a,b are non-negative integers, the mathematician tried trial and error and found that 18,19,20,21,22 are the numbers that work. However, the general case is harder to solve and the sketch provided only works for r=y-1.
  • #1
Bleys
74
0

Homework Statement


Find the least positive integer N such that every integer [tex]n \geq N[/tex] can be written in the form 4a + 7b, where a,b are non-negative integers. Prove your N has this property

Homework Equations



The Attempt at a Solution


Well, I kind of went about doing trial and error. I know 17 is not such a number, but 18,19,20,21,22 are. I figured I'd use (strong) induction. Suppose it's true for all [tex]22 \leq k \leq n[/tex]. Consider now [tex] 18 \leq n+1 -4 < n [/tex]. By the induction hypothesis n+1 -4 = 4a + 7b, so n+1 = 4(a+1) +7b, for some non-negative a,b.

Is this correct? What if I wanted to do it more generally. That is, if gcd(x,y)=1 find N such that, for all [tex]n \geq N[/tex], n can be written as xa+yb, for non-negative a,b?
 
Last edited:
Physics news on Phys.org
  • #2
That is correct.

The general case is a little harder as we can't just use trial and error and confirm our observations. I will give you a sketch here of how to show that N=(x-1)(y-1) (especially the second part is pretty vague, but you can just ask if you're having trouble figuring it out).

First to show that N must be at least (x-1)(y-1) assume that there exists non-negative integers a,b such that:
ax + by = (x-1)(y-1)-1
Then (a+1 - y)x + (b + 1)y = 0 so x | b+1, and therefore [itex]b \geq x-1[/itex] and similarly [itex]a \geq y-1[/itex]. Use these inequalities and ax+by = (x-1)(y-1) - 1 to obtain a contradiction and thereby showing N must be at least (x-1)(y-1).


Assume without loss of generality x > y. Let r be an integer in {0,1,...,y-2}. Then
[tex](y-2)x \leq (x-1)(y-1)+r[/tex]
You can show that there exists an integer a in {0,1,...,y-2} such that
[tex](y-1)(x-1) +r \equiv ax \pmod y[/tex]
[HINT: 0x, 1x, 2x, ..., (y-2)x represents all residue classes modulo y except the residue class of -x]
and use this to find a non-negative integer b such that (x-1)(y-1)+r = ax + by. This shows (x-1)(y-1)+r can be expressed as a linear combination of x and y with positive coefficients for r in {0,1,...,y-2}. We now only need to show it for r=y-1, but then (x-1)(y-1) + r = x(y-1).
 
  • #3
That last part I don't understand.
How do you deduce from the inequality that there is an integer a with that property? I'm sorry if it should be obvious..:rolleyes:
 
  • #4
The inequality isn't actually used to find a suitable a, but rather to ensure that when we do the b we choose will be non-negative.

0x, 1x, 2x, ..., (y-2)x, (y-1)x represent all residue classes modulo y. Therefore (x-1)(y-1)+r must be congruent to one of these modulo y. So we get that for some a in {0,1,...,y-1} we have:
[tex](x-1)(y-1)+r \equiv ax \pmod y[/tex]
a could not be y-1 because then we would have (using that y-1 is congruent to -1 modulo y):
[tex]-x \equiv (y-1)x = ax \equiv (x-1)(y-1)+r \equiv -x+1+r \pmod y[/tex]
Cancelling we get [itex]1+r \equiv 0 \pmod y[/itex], but this is a contradiction since r+1 is in {1,2,...,y-1}.
 
  • #5
Ok, thank you!
 

FAQ: Least Positive Integer N for 4a+7b Form: Prove Property

What is the definition of "Least Positive Integer N for 4a+7b Form"?

The least positive integer N for 4a+7b form is the smallest positive integer that can be expressed as a sum of two non-negative multiples of 4 and 7, respectively. In other words, N is the smallest positive integer that can be written as 4a+7b, where a and b are non-negative integers.

How is the property "Least Positive Integer N for 4a+7b Form" proven?

The property "Least Positive Integer N for 4a+7b Form" can be proven using mathematical induction. This involves showing that the property holds for the smallest possible values of a and b, and then using a logical argument to show that if the property holds for any given values of a and b, it must also hold for the next value of a and b. This process is repeated until it is shown that the property holds for all possible values of a and b.

Why is it important to prove the property "Least Positive Integer N for 4a+7b Form"?

Proving the property "Least Positive Integer N for 4a+7b Form" is important because it provides a mathematical foundation for understanding and solving problems related to this form. It allows us to confidently make statements about the smallest possible value of N and use this knowledge to solve equations and inequalities involving 4a+7b.

Can the property "Least Positive Integer N for 4a+7b Form" be extended to other values besides 4 and 7?

Yes, the idea of finding the least positive integer N for a given form can be extended to other values besides 4 and 7. However, the process of proving the property may differ depending on the specific values of a and b. It is also important to note that not all forms will have a unique least positive integer N.

Are there any real-world applications of the property "Least Positive Integer N for 4a+7b Form"?

Yes, the property "Least Positive Integer N for 4a+7b Form" has applications in computer science, specifically in the field of cryptography. This form is used in the design of certain algorithms for encrypting data and ensuring its security. Additionally, the concept of finding the least positive integer N for a given form has applications in problem-solving and optimization in various industries.

Back
Top