Skip to main content

2022 AIME II Problem 13

Problem 13 of 15HarderNumber TheoryCombinatorics

There is a polynomial P(x)P(x) with integer coefficients such that P(x)=(x2310−1)6⋅1(x105−1)(x70−1)⋅1(x42−1)(x30−1) \begin{aligned} P(x) &= (x^{2310}-1)^6 \\ &\quad {}\cdot \frac{1}{(x^{105}-1)(x^{70}-1)} \\ &\quad {}\cdot \frac{1}{(x^{42}-1)(x^{30}-1)} \end{aligned} holds for every 0<x<1.0 \lt x \lt 1. Find the coefficient of x2022x^{2022} in P(x).P(x).

Your answer

Integer from 0 to 999
Show solution

Solution

For 0<x<1,0 \lt x \lt 1, P(x)=(1−x2310)6⋅1(1−x105)(1−x70)⋅1(1−x42)(1−x30), \begin{aligned} P(x) &= (1-x^{2310})^6 \\ &\quad {}\cdot \frac{1}{(1-x^{105})(1-x^{70})} \\ &\quad {}\cdot \frac{1}{(1-x^{42})(1-x^{30})}, \end{aligned} and each factor 11−xk\frac{1}{1 - x^k} expands as a geometric series. Since 2022<2310,2022 \lt 2310, the factor (1−x2310)6(1 - x^{2310})^6 contributes only its constant term 1,1, so the coefficient of x2022x^{2022} is the number of nonnegative integer solutions of 105a+70b+42c+30d=2022.105a + 70b + 42c + 30d = 2022. Reducing modulo 22 gives 105a≡2022,105a \equiv 2022, so aa is even; modulo 33 gives 70b≡2022≡0,70b \equiv 2022 \equiv 0, so 33 divides b;b; modulo 55 gives 2c≡2022≡2,2c \equiv 2022 \equiv 2, so c≡1(mod5);c \equiv 1 \pmod 5; modulo 77 gives 2d≡2022≡6,2d \equiv 2022 \equiv 6, so d≡3(mod7).d \equiv 3 \pmod 7. Writing a=2a′,a = 2a', b=3b′,b = 3b', c=5c′+1,c = 5c' + 1, d=7d′+3d = 7d' + 3 turns the equation into 210(a′+b′+c′+d′)+42+90=2022, \begin{aligned} &210(a' + b' + c' + d') + 42 \\ &\quad {}+ 90 = 2022, \end{aligned} so a′+b′+c′+d′=9.a' + b' + c' + d' = 9. By stars and bars there are (123)=220\binom{12}{3} = 220 solutions, so the coefficient is 220.220.
AoPS wiki

Tagged: generating functions · Diophantine Equation · stars and bars

More practice