AMC 10 Step by Step

2024 AMC 10B Problem 24

P21-25~5 minPrint

Let P(m)=m2+m24+m48+m88P(m)=\frac{m}{2}+\frac{m^2}{4}+\frac{m^4}{8}+\frac{m^8}{8} How many of the values P(2022)P(2022) , P(2023)P(2023) , P(2024)P(2024) , and P(2025)P(2025) are integers?

Log in to save your progress.
Show solution without answering

Key insight

Put everything over 8. For even m each top term is a multiple of 8. For odd m the top becomes 4(m + 1), a multiple of 8.

Solution

1. Use one denominator. Rewrite every fraction over 88:
P(m)=4m8+2m28+m48+m88=4m+2m2+m4+m88.P(m) = \frac{4m}{8} + \frac{2m^2}{8} + \frac{m^4}{8} + \frac{m^8}{8} = \frac{4m + 2m^2 + m^4 + m^8}{8}.
So P(m)P(m) is a whole number exactly when the top, 4m+2m2+m4+m84m + 2m^2 + m^4 + m^8, is a multiple of 88.
2. Even mm (20222022 and 20242024). Each term on top has plenty of 22s: 4m4m has 4⋅2=84 \cdot 2 = 8 as a factor, 2m22m^2 has 2⋅4=82 \cdot 4 = 8, and m4m^4 and m8m^8 have at least 24=162^4 = 16. So the top is a multiple of 88, and P(m)P(m) is a whole number.
3. Odd mm (20232023 and 20252025): a fact about odd squares. Look at a few: 12=11^2 = 1, 32=93^2 = 9, 52=255^2 = 25, 72=497^2 = 49. Each is 11 more than a multiple of 88 (0,8,24,480, 8, 24, 48). This always holds: an odd number is 2j+12j + 1, and (2j+1)2=4j(j+1)+1(2j+1)^2 = 4j(j+1) + 1. One of jj and j+1j + 1 is even, so 4j(j+1)4j(j+1) is a multiple of 88.
4. Then m4=(m2)2m^4 = (m^2)^2 and m8=(m4)2m^8 = (m^4)^2 are squares of odd numbers too, so each of m2m^2, m4m^4, m8m^8 is 11 more than a multiple of 88.
5. Replace each of them by 11 (this does not change whether the top is a multiple of 88):
4m+2⋅1+1+1=4m+4=4(m+1).4m + 2 \cdot 1 + 1 + 1 = 4m + 4 = 4(m + 1).
Since mm is odd, m+1m + 1 is even, so 4(m+1)4(m + 1) is a multiple of 88. So P(m)P(m) is a whole number.
6. All four values are whole numbers.

The answer is (E) 4\boxed{\textbf{(E)}\ 4}.

Why this works

When fractions with denominators 22, 44 and 88 are added, test them together over 88, not one at a time. The fact that every odd square is 11 more than a multiple of 88 makes the huge powers easy. The specific years do not matter at all: P(m)P(m) is a whole number for every whole number mm.

Alternative approach

Track the leftover parts for odd mm, such as m=2023m = 2023.

  • m2\frac{m}{2}: an odd number over 22 leaves 12\frac12.
  • m24\frac{m^2}{4}: an odd square is 11 more than a multiple of 44, so it leaves 14\frac14.
  • m48\frac{m^4}{8} and m88\frac{m^8}{8}: each is 11 more than a multiple of 88, so each leaves 18\frac18.

The leftovers add to 12+14+18+18=1\frac12 + \frac14 + \frac18 + \frac18 = 1, a whole number. So P(m)P(m) is a whole number, and together with the even cases, all 44 values work.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Put everything over 88:
P(m)=4m+2m2+m4+m88,P(m) = \frac{4m + 2m^2 + m^4 + m^8}{8},
so P(m)P(m) is an integer exactly when 8∣4m+2m2+m4+m88 \mid 4m + 2m^2 + m^4 + m^8. Only the parity of mm matters.

mm even. Write m=2km = 2k: 4m=8k4m = 8k, 2m2=8k22m^2 = 8k^2, m4=16k4m^4 = 16k^4, m8=256k8m^8 = 256k^8. Every term is a multiple of 88, so P(m)P(m) is an integer. This covers 20222022 and 20242024.

mm odd. The square of any odd number is 1 mod 81 \bmod 8 (since (2j+1)2=4j(j+1)+1(2j+1)^2 = 4j(j+1) + 1 and j(j+1)j(j+1) is even). Hence m2≡m4≡m8≡1(mod8)m^2 \equiv m^4 \equiv m^8 \equiv 1 \pmod 8, and
4m+2m2+m4+m8≡4m+2+1+1=4(m+1)(mod8).4m + 2m^2 + m^4 + m^8 \equiv 4m + 2 + 1 + 1 = 4(m + 1) \pmod 8.
Since m+1m + 1 is even, 4(m+1)4(m+1) is a multiple of 88, so P(m)P(m) is an integer. This covers 20232023 and 20252025.

All four values are integers.

The answer is (E) 4\boxed{\textbf{(E)}\ 4}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.