I need help in a question:
It is required to find the smallest $4$-digit number that when divided by $12,15$, and $18$ leaves remainders $8,11$, and $14$ respectively. Here's how I've attempted:
Let the number be $a$, then $$a=12p+8 = 15q+11 = 18r+14$$ Hence, $p=(5q+1)/2$ and $r=(5q-1)/6$
So, $a=15q+11$
Now if I put $q=67$, $a=1016$ (wrong answer because $r$ is not an integer) .
So where did I go wrong in the algebraic method?
Your algebraic method is correct, but to get the right solution you cannot choose $q$ arbitrarily. $p=(5q+1)/4, r=(5q-1)/6$ give you additional restrictions for $q$ namely that $5q+1$ be divisible by $4$ and that $5q-1$ be divisible by $6$. So you just need to choose $q$ minimal such that $15q+11$ has four digits and $4|5q+1, 6|5q-1$. The right answer should be $q=71, a=1076$.