2004 AMC 12A Problem 25

Attempt Problem 25 of the 2004 AMC 12A below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2004 AMC 12A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

25.

For each integer n≥4,n \ge 4, let ana_n denote the base-nn number 0.133‾n.0.\overline{133}_n. The product a4a5…a99a_4 a_5 \ldots a_{99} can be expressed as mn!,\dfrac{m}{n!}, where mm and nn are positive integers and nn is as small as possible. What is the value of m?m?
9898
101101
132132
798798
962962
Answer: E
Concepts:number basetelescopingsum and difference of cubes
Small hint:
A repeating base-nn fraction 0.133‾n0.\overline{133}_n equals n2+3n+3n3−1\dfrac{n^2 + 3n + 3}{n^3 - 1}
Big hint:
Note n2+3n+3=(n+1)3−1n,n^2 + 3n + 3 = \dfrac{(n+1)^3 - 1}{n}, which makes the product telescope
Solution:
Since n3⋅an=133.133‾nn^3 \cdot a_n = 133.\overline{133}_n =an+n2+3n+3,= a_n + n^2 + 3n + 3, we get an=n2+3n+3n3−1=(n+1)3−1n(n3−1). \begin{aligned} a_n &= \dfrac{n^2 + 3n + 3}{n^3 - 1} \\ &= \dfrac{(n+1)^3 - 1}{n(n^3 - 1)}. \end{aligned}
Writing n3−1=(n−1)(n2+n+1)n^3 - 1 = (n - 1)(n^2 + n + 1) and (n+1)3−1(n+1)^3 - 1 =n((n+1)2+(n+1)+1),= n\big((n+1)^2 + (n+1) + 1\big), the product a4a5⋯a99a_4 a_5 \cdots a_{99} telescopes to 3!99!⋅1003−143−1=3!99!⋅99(1002+100+1)63. \begin{gathered} \dfrac{3!}{99!} \cdot \dfrac{100^3 - 1}{4^3 - 1} \\ {}= \dfrac{3!}{99!} \cdot \dfrac{99(100^2 + 100 + 1)}{63}. \end{gathered}
This simplifies to (2)(10101)(21)(98!)=96298!.\dfrac{(2)(10101)}{(21)(98!)} = \dfrac{962}{98!}. If n≤97,n \le 97, then rewriting this fraction with denominator n!n! would require 9898 to divide 962,962, which it does not. Hence the smallest possible nn is 98,98, and m=962.m = 962.
Thus, the correct answer is E.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.