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.