Approach: If the roots are integers, their sum and product are fixed by the equation: sum \(= 5\), product \(= k\). So just list integer pairs adding to 5, and each product is a valid \(k\). No discriminant juggling needed once you spot Vieta.
Step 1: Vieta's relations.
For \(x^2 - 5x + k = 0\) with integer roots \(p, q\):
\[ p + q = 5, \qquad pq = k. \]
Step 2: Need \(k \ge 0\) (non-negative).
So we want integer pairs \((p, q)\) with \(p + q = 5\) and \(pq \ge 0\).
Step 3: List the pairs and their products.
\((0,5) \to k = 0\); \((1,4) \to k = 4\); \((2,3) \to k = 6\).
Pairs like \((-1,6) \to k = -6\) or \((6,-1)\) give negative \(k\) — excluded. By symmetry \((5,0),(4,1),(3,2)\) repeat the same \(k\) values.
Step 4: Collect distinct non-negative \(k\).
\[ k \in \{0, 4, 6\}. \]
That is \(3\) values, each giving integer roots: \(\{0,5\}, \{1,4\}, \{2,3\}\).
Number of values = 3.