Given that the polynomial x^2-kx+160 has only positive integer roots, find the average of all distinct possibilities for k.
Hello Guest!
\(x^2-kx+160\\ x=-\frac{(-k)}{2} \pm \sqrt{(\frac{k}{2})^2-160}\\ [(\frac{k}{2})^2-160]\in\{Square\ numbers \}\\ [(\frac{k}{2})^2-160]\in\{ 1 , 4, 9, 16, 25, 36 , 49 , 64 , 81\\ , 100, 121 , 144 , 169, 196 , 225 , 256 , 289 , 324 , 361 , 400 , 441 , 484 , 529 , 576 , 625 \}\)
\([(\frac{k}{2})^2-160]\in \{\)9, 36, 65, 96, 129, 164, 201, 240, 281, 324, 369, 416, 465\(\}\)
\(k\in\{\) \(2\sqrt{196},\) \(2\sqrt{484}\ \}\)
\(\color{blue} k\in\{\) 28, 44 \(\}\)
\(x=-\frac{(-k)}{2} \pm \sqrt{(\frac{k}{2})^2-160}\\ x1=\frac{28}{2} \pm \sqrt{(\frac{28}{2})^2-160}=14 \pm6 \\ \color{blue} x_1=8\\ \color{blue} x_2=20\\ x_3=\frac{44}{2} \pm \sqrt{(\frac{44}{2})^2-160}=22\pm 18\\ \color{blue} x_3=4\)
\(x_4=40\)
!