Take a test Sign in 中文
← Exercise 779 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 779
For how many positive integers $n$ is $n^3-10n^2+30n-21$ a prime number?
← Back to Problem 779
Solution
  1. $n=1$ is a root, so $n^3-10n^2+30n-21=(n-1)(n^2-9n+21)$.
  2. The second factor $n^2-9n+21=(n-4.5)^2+0.75$ is always positive. For $n\ge2$ the value is a product of positive integers, so one factor must be $1$.
  3. $n-1=1$: $n=2$, value $1\cdot7=7$, prime. $n^2-9n+21=1$: $n=4$ or $5$, values $3\cdot1=3$ (prime) and $4\cdot1=4$ (not prime).
  4. So $\boxed{2}$ values: $n=2$ and $n=4$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year