Take a test Sign in 中文
← Exercise 951 →
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 951
Let $Q(m)=\dfrac m3+\dfrac{m^2}3+\dfrac{m^3}3$. How many of $Q(2022)$, $Q(2023)$, $Q(2024)$, $Q(2025)$ are integers?
← Back to Problem 951
Solution
  1. $Q(m)=\frac{m(1+m+m^2)}3$: an integer if $3\mid m$, or if $m\equiv1\pmod3$ (then $1+m+m^2\equiv0$); not if $m\equiv2$ (then $1+m+m^2\equiv7\equiv1$, so $m(1+m+m^2)\equiv2\cdot1=2\pmod3$).
  2. $2022\equiv0$, $2023\equiv1$, $2024\equiv2$, $2025\equiv0$.
  3. So $\boxed{3}$ are integers.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year