Skip to main content

2013 AMC 12B Problem 15

Problem 15 of 25IntermediateNumber TheoryArithmeticProblem-Solving Techniques

The number 20132013 is expressed in the form 2013=a1! a2!⋯am!b1! b2!⋯bn!, 2013 = \frac{a_1!\,a_2!\cdots a_m!}{b_1!\,b_2!\cdots b_n!}, where a1≥a2≥⋯≥ama_1 \ge a_2 \ge \cdots \ge a_m and b1≥b2≥⋯≥bnb_1 \ge b_2 \ge \cdots \ge b_n are positive integers and a1+b1a_1 + b_1 is as small as possible. What is ∣a1−b1∣ ?|a_1 - b_1|\,?

Answer choices

Show solution

Solution

Since 2013=3⋅11⋅61,2013 = 3\cdot 11\cdot 61, the numerator needs a factorial at least 61!61! to supply the prime 61,61, so a1≥61.a_1 \ge 61. But 61!61! also has a factor of 59,59, which 20132013 does not, so the denominator needs b1≥59.b_1 \ge 59. Thus a1+b1≥120,a_1 + b_1 \ge 120, attained by a1=61,a_1 = 61, b1=59b_1 = 59 via 2013=61! 11! 3!59! 10! 5!.2013 = \dfrac{61!\,11!\,3!}{59!\,10!\,5!}. Then ∣a1−b1∣=2.|a_1 - b_1| = 2. Thus, the correct answer is B.
AoPS wiki

Tagged: prime factorization · factorial · bounding to limit cases

More practice