返回题库

AIME 2019 II · 第 12 题

AIME 2019 II — Problem 12

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For n1n \ge 1 call a finite sequence (a1,a2an)(a_1, a_2 \ldots a_n) of positive integers progressive if ai<ai+1a_i < a_{i+1} and aia_i divides ai+1a_{i+1} for all 1in11 \le i \le n-1. Find the number of progressive sequences such that the sum of the terms in the sequence is equal to 360360.

解析

Solution

If the first term is xx, then dividing through by xx, we see that we can find the number of progressive sequences whose sum is 360x1\frac{360}{x} - 1, and whose first term is not 1. If a(k)a(k) denotes the number of progressive sequences whose sum is kk and whose first term is not 1, then we can express the answer NN as follows:

N=a(359)+a(179)+a(119)+a(89)+a(71)+a(59)+a(44)+a(39)+a(35)+a(29)+a(23)+a(19)+a(17)+a(14)+a(11)+a(9)+a(8)+a(7)+a(5)+a(4)+a(3)+a(2)+a(1)+1\begin{aligned}N &= a(359) + a(179) + a(119) + a(89) + a(71) + a(59) + a(44) + a(39) \\ &+ a(35) + a(29) + a(23) + a(19) + a(17) + a(14) + a(11) + a(9) \\ &+ a(8) + a(7) + a(5) + a(4) + a(3) + a(2) + a(1) + 1 \end{aligned} And in general, we have a(k)=1+dk and d1,ka(d1)a(k) = 1+\sum_{d|k\text{ and } d\ne 1,k}a(d-1).

The +1+1 at the end accounts for the sequence whose only term is 360. Fortunately, many of these numbers are prime; we have a(p)=1a(p) = 1 for primes pp as the only such sequence is "pp" itself. Also, a(1)=0a(1) = 0. So we have

N=15+a(119)+a(44)+a(39)+a(35)+a(14)+a(9)+a(8)+a(4)N = 15 + a(119) + a(44) + a(39) + a(35) + a(14) + a(9) + a(8) + a(4) For small kk, a(k)a(k) is easy to compute: a(4)=1a(4) = 1, a(8)=2a(8) = 2, a(9)=2a(9) = 2. For intermediate kk (e.g. k=21k=21 below), a(k)a(k) can be computed recursively using previously-computed values of a()a(\cdot), similar to dynamic programming. Then we have

a(14)=1+a(6)=1+2=3a(35)=1+a(6)+a(4)=1+2+1=4a(39)=2+a(12)=2+4=6a(44)=2+a(21)+a(10)=2+4+2=8a(119)=1+a(16)+a(6)=1+3+2=6\begin{aligned} a(14) &= 1+a(6) = 1+2 = 3\\ a(35) &= 1+a(6)+a(4) = 1 + 2 + 1 = 4 \\ a(39) &= 2 + a(12) = 2+4 = 6 \\ a(44) &= 2 + a(21) + a(10) = 2+4+2=8 \\ a(119) &= 1 + a(16) + a(6) = 1 + 3 + 2 = 6 \end{aligned} Thus the answer is N=15+6+8+6+4+3+2+2+1=047N = 15+6+8+6+4+3+2+2+1 = \boxed{047}.

-scrabbler94

Video Solution

https://youtu.be/T-8-B-XgiiI

~MathProblemSkills.com

Video Solution

https://www.youtube.com/watch?v=9Zfi2AVq6ak ~ MathEx