2011 AMC 12B Problem 25

Attempt Problem 25 of the 2011 AMC 12B 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 2011 AMC 12B solutions, or check the answer key.

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

25.

For every mm and kk integers with kk odd, denote by [mk]\left[\dfrac{m}{k}\right] the integer closest to mk.\dfrac{m}{k}. For every odd integer k,k, let P(k)P(k) be the probability that [nk]+[100−nk]=[100k]\left[\dfrac{n}{k}\right]+\left[\dfrac{100-n}{k}\right]=\left[\dfrac{100}{k}\right] for an integer nn randomly chosen from the interval 1≤n≤99!.1\le n\le99!. What is the minimum possible value of P(k)P(k) over the odd integers kk in the interval 1≤k≤99?1\le k\le99?
12\dfrac{1}{2}
5099\dfrac{50}{99}
4487\dfrac{44}{87}
3467\dfrac{34}{67}
713\dfrac{7}{13}
Answer: D
Concepts:modular arithmeticfloor and ceiling functionsbasic probability
Small hint:
Whether nn works depends only on n mod k,n\bmod k, and each residue class is equally likely
Big hint:
Write 100=qk+r100=qk+r with ∣r∣≤k−12;|r|\le\tfrac{k-1}{2}; then P(k)=1−∣r∣kP(k)=1-\dfrac{|r|}{k}
Solution:
Because [n+mkk]=[nk]+m,\left[\dfrac{n+mk}{k}\right]=\left[\dfrac{n}{k}\right]+m, whether nn satisfies the identity depends only on n mod k.n\bmod k. Since 99!99! is divisible by kk for 1≤k≤99,1\le k\le99, every residue class is equally likely.
Write 100=qk+r100=qk+r and n=q1k+r1,n=q_1k+r_1, choosing both remainders in [−(k−1)2,k−12].[-\frac{(k-1)}{2},\frac{k-1}{2}]. If r≥0,r\ge0, no carry occurs precisely when r−k−12≤r1≤k−12;r-\frac{k-1}{2}\le r_1\le\frac{k-1}{2}; this gives k−rk-r residue classes. The case r<0r<0 similarly gives k+rk+r classes. Hence in both cases P(k)=1−∣r∣k. P(k)=1-\dfrac{|r|}{k}.
To minimize P(k)P(k) we maximize ∣r∣/k.|r|/k. If r=k−12,r=\frac{k-1}{2}, then 201=k(2q+1),201=k(2q+1), and the largest possible k≤99k\le99 is the divisor 6767 of 201.201. If r=−(k−1)2,r=-\frac{(k-1)}{2}, then 199=k(2q−1);199=k(2q-1); because 199199 is prime, only k=1k=1 is possible. In every remaining case ∣r∣≤k−32,|r|\le\frac{k-3}{2}, so P(k)≥12+32k≥12+3198>3467. \begin{aligned} P(k)&\ge\dfrac12+\dfrac{3}{2k} \\ &\ge\dfrac12+\dfrac{3}{198} \\ &>\dfrac{34}{67}. \end{aligned} For k=67,k=67, P(67)=12+12⋅67=3467. P(67)=\dfrac12+\dfrac{1}{2\cdot67}=\dfrac{34}{67}.
Thus, the correct answer is D.
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.