Problem 581: (2016 AIME I, 12)
Find the least positive integer $m$ such that $m^2 - m + 11$ is a product of at least four not necessarily distinct primes.
- $m^2-m+11=m(m-1)+11$ is odd. Checking residues, $m(m-1)$ is $0$ or $2$ mod $3$, so the value is never $0$ mod $3$; similarly it is never $0$ mod $5$ or mod $7$. So every prime factor is at least $11$.
- Four prime factors make the value at least $11^4=14641$, so $m\ge122$. If $11$ does not divide the value, it is at least $13^4=28561$, which needs $m\ge170$.
- $11$ divides $m(m-1)+11$ exactly when $m\equiv0,1\pmod{11}$. Below $170$ the candidates are $m=122$, where $14773=11\cdot17\cdot79$ (three primes), and $m=132$, where $17303=11^3\cdot13$.
- So $m=132$. The answer is $\boxed{132}$.
Find the least positive integer $m$ such that $m^2 - m + 17$ is a product of at least four not necessarily distinct primes.