Explore Discrete Math Examples

Recent questions in Discrete math
Discrete mathAnswered question
Jamiya Weber Jamiya Weber 2022-06-08

Linear Diophantine equation with three variables and a condition
Let me start by saying that I'm new to Diophantine equations and my method certainly will not be the best possible one. I'm aware that a faster method of solving this particular case exists, but I want to know if what I did was correct and how I can finish the exercise.
39 x + 55 y + 70 z = 3274
x + y + z = 69
x 0 , y 0 , z 0
What I tried:
39 x + 55 y = 3274 70 z
The GCD for 39 and 55 is one, so we can set aside z = t to be a parameter, where t is an integer. We proceed to solve this as a Diophantine equation with two variables.
I now need to use the extended Euclidean algorithm to express 1 as a linear combination of 39 and 55.
I got that 1 = 24 39 17 55
Now, the solution would be
x = 78576 1680 t + 55 s
y = 55658 + 1190 t 39 s
z = t
where t and s are integers. I got this from the formula that x = λ 1 b + s a 2 and y = λ 2 b s a 1 .
Where λ 1 and λ 2 are the coefficients in the Euclidean algorithm, b is 3274 70 t and a 1 and a 2 are 39 and 55, respectively.
It's obvious that t 0, and if I put that x and y are greater than zero, I get that
s 1680 t 78576 55 and s 55658 + 1190 t 39 which makes 1680 t 78576 55 55658 + 1190 t 39 which is t 46.77.
I now have the whole range of integers [0,46] which of course isn't feasible to do (as I'd have to plug them into the inequalities for s and get even more cases.
How do I proceed from here? What do I do? I still have the condition x + y + z = 69 but I feel like I'm missing something. Can it be really done this way, except that it's an unimaginably hefty job of testing each case?

Dealing with discrete Math is an interesting subject because discrete Math equations can be encountered basically anywhere from scheduling of sports games and live shows to education where each person is examined online. It is a reason why discrete math questions that we have collected for you are aimed at solutions that go beyond equations to provide you with the answers that will help you understand the concept. Still, discrete Math equations are explained as well by turning to problems in computer science, programming, software, and cryptography among other interesting subjects like software and mobile apps development.