How do I prove there is no solution/solution to the single equation $150a+5b=54c$ provided $a,b,c$ must be different integer numbers ranging from 0-9?
I can verify it by running a computer program, but I am looking for mathematical reasoning.
How do I prove there is no solution/solution to the single equation $150a+5b=54c$ provided $a,b,c$ must be different integer numbers ranging from 0-9?
I can verify it by running a computer program, but I am looking for mathematical reasoning.
If you decompose by prime factors: $$150a+5b=54c\longrightarrow(2*3*5^2)a+5b=(2*3^3)c\longrightarrow 5*((2*3*5)a+b)=(2*3^3)c$$ So if that is correct, c must be 5, and we can divide the whole equation by 5 having $$(2*3*5)a + b = 2*3^3 \longrightarrow 30a+b=54$$ Now, we see that $a$ can't be equal to $0$ or $1$ because then $b$ would be grater than 9, absurd. On the other hand, if $a\geq2$, then $b$ would be negative, also absurd.
So we come to the conclusion that $150a+5b=54c$ has no solutions for $a,b,c$ integers between 0 and 9.
Clearly $c\equiv 0\mod 5$, so if there is a solution, we must have $c=5$, which means $a$ is either $0$ or $1$, clearly $a\neq 0$ as that would mean $b=54$, and if $a=1$, $b=24$, so there are no solutions in the given range