The objective is to determine the count of integers \(n\), within the range \(1 \leq n \leq 100\), for which the expression \(n^2 + 3n + 2\) is divisible by 5. This condition is equivalent to solving \(n^2 + 3n + 2 \equiv 0 \pmod{5}\). We analyze the congruence based on the remainder of \(n\) when divided by 5:
Thus, the expression is divisible by 5 when \(n \equiv 3 \pmod{5}\) or \(n \equiv 4 \pmod{5}\). We now count the integers in the range [1, 100] that satisfy these conditions:
For \(n \equiv 3 \pmod{5}\): These are numbers of the form \(5k + 3\). For \(k=0\), \(n=3\). For \(k=19\), \(n=98\). Thus, there are \(19 - 0 + 1 = 20\) such numbers.
For \(n \equiv 4 \pmod{5}\): These are numbers of the form \(5k + 4\). For \(k=0\), \(n=4\). For \(k=19\), \(n=99\). Thus, there are \(19 - 0 + 1 = 20\) such numbers.
The total count of integers \(n\) in the range \(1 \leq n \leq 100\) for which \(n^2 + 3n + 2\) is divisible by 5 is the sum of the counts from these two cases: \(20 + 20 = 40\).