Let a,b,c $\in\{0,1,2,3, \ldots \ldots, 12\}$ such that $a^{2}-b c$ is divisible by $13,$ then number of ordered triplet $(a, b, c)$ is..
If I start by counting all the combination of {a,b,c} for which $a^{2}-b c$ is a multiple of 13 then it will take too much time. Is there an easy approach to this question.
There are $13$ triples with $b=0$.
We can obviously work modulo $13$. If $b\ne0$, then it has an inverse $u$ and we can set $a=bx$, $c=by$, so the equation becomes $x^2=y$.