The only solutions seem to be 3 and 7 but I can't prove that there are no others.
Context: Find every value for integer a, for which $x^2-(a+5)x+5a+1$ expression can be factored as $(x+b)(x+c)$ where b and c are integers.
$x=\frac{a+5 \pm \sqrt{(a-3)(a-7)}}{2}$
(In a pre-calc book, btw. Real solutions only (don't know if it matters))
I have no idea where to start, forgive me for not having any real attempts.