Take a test Sign in 中文
← Exercise 581 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 581
Find the least positive integer $m$ such that $m^2 - m + 17$ is a product of at least four not necessarily distinct primes.
← Back to Problem 581
Solution
  1. Primes below $17$ never divide $m^2-m+17$: it is odd because $m(m-1)$ is even, and for the odd primes $3,\dots,13$ its discriminant $-67$ is a quadratic nonresidue, so we need four prime factors that are at least $17$.
  2. Since $17\mid m^2-m+17$ iff $17\mid m(m-1)$, checking such $m$ in order finds the first success at $m=306$, where $306^2-306+17=93347=17^3\cdot19$.
  3. The answer is $\boxed{306}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)