You are not logged in.
Pages: 1
hi;
Of the equation \(3x + 2y = 18\), how many positive integer solutions are there?
Is there any elegant solution to this problem rather than just brute force?
"Every place is the center of the universe. And every moment is the most important moment. And everything is the meaning of life." ~ Dan Harmon
Offline
Hi Amartyanil,
Yes: try looking at that equation modulo 2 and modulo 3. From there you can deduce that x is a multiple of 2 and that y is a multiple of 3, which allows you to reduce that equation into something much simpler!
Offline
hi Amartyanil
If you have some centimetre squared paper then you could try plotting the straight line. The answer will be easy to spot then and you'll see a pattern
Bob
Children are not defined by school ...........The Fonz
You cannot teach a man anything; you can only help him find it within himself..........Galileo Galilei
Sometimes I deliberately make mistakes, just to test you! …………….Bob
Offline
Pages: 1