$a+2y = 320$
$2b+3y = 320$
$3c+4y = 320$
And a, b, c, and y are all integers.
How do I find all possible solutions, if any?
$a+2y = 320$
$2b+3y = 320$
$3c+4y = 320$
And a, b, c, and y are all integers.
How do I find all possible solutions, if any?
Copyright © 2021 JogjaFile Inc.
From the last equation, $c$ must be a multiple of $4$ and $y \equiv 2 \pmod 3$, from the second $y$ must be even and $b \equiv 1 \pmod 3$, and from the first, $a$ must be even. You can choose any one variable subject to these constraints and solve for the rest.