返回题库

AIME 2013 II · 第 14 题

AIME 2013 II — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem 14

For positive integers nn and kk, let f(n,k)f(n, k) be the remainder when nn is divided by kk, and for n>1n > 1 let F(n)=max1kn2f(n,k)F(n) = \max_{\substack{1\le k\le \frac{n}{2}}} f(n, k). Find the remainder when n=20100F(n)\sum\limits_{n=20}^{100} F(n) is divided by 10001000.

解析

Solution

The Pattern

We can find that

206(mod7)20\equiv 6 \pmod{7} 215(mod8)21\equiv 5 \pmod{8} 226(mod8)22\equiv 6 \pmod{8} 237(mod8)23\equiv 7 \pmod{8} 246(mod9)24\equiv 6 \pmod{9} 257(mod9)25\equiv 7 \pmod{9} 268(mod9)26\equiv 8 \pmod{9}

Observing these and we can find that the reminders are in groups of three continuous integers, considering this is true, and we get

9931(mod34)99\equiv 31 \pmod{34} 10032(mod34)100\equiv 32 \pmod{34}

So the sum is 6+3×(6+...+31)+31+32=15126+3\times(6+...+31)+31+32=1512,it is also 17+20+23+...+95, so the answer is 512\boxed{512}. By: Kris17

The Intuition

First, let's see what happens if we remove a restriction. Let's define G(x)G(x) as

G(x):=max1kf(n,k)G(x):=\max_{\substack{1\le k}} f(n, k)

Now, if you set kk as any number greater than nn, you get n, obviously the maximum possible. That's too much freedom; let's restrict it a bit. Hence H(x)H(x) is defined as

H(x):=max1knf(n,k)H(x):=\max_{\substack{1\le k\le n}} f(n, k)

Now, after some thought, we find that if we set k=n2+1k=\lfloor \frac{n}{2} \rfloor+1 we get a remainder of n12\lfloor \frac{n-1}{2} \rfloor, the max possible. Once we have gotten this far, it is easy to see that the original equation,

F(n)=max1kn2f(n,k)F(n) = \max_{\substack{1\le k\le \frac{n}{2}}} f(n, k)

has a solution with k=n3+1k=\lfloor \frac{n}{3} \rfloor+1.

W5W^5~Rowechen

The Proof

The solution presented above does not prove why F(x)F(x) is found by dividing xx by 33. Indeed, that is the case, as rigorously shown below.

Consider the case where x=3kx = 3k. We shall prove that F(x)=f(x,k+1)F(x) = f(x, k+1). For all x/2n>k+1,x=2n+qx/2\ge n > k+1, x = 2n + q, where 0q<n0\le q< n. This is because x<3k+3<3nx < 3k + 3 < 3n and x2nx \ge 2n. Also, as nn increases, qq decreases. Thus, q=f(x,n)<f(x,k+1)=k2q = f(x, n) < f(x, k+1) = k - 2 for all n>k+1n > k+1. Consider all n<k+1.f(x,k)=0n < k+1. f(x, k) = 0 and f(x,k1)=3f(x, k-1) = 3. Also, 0<f(x,k2)<k20 < f(x, k-2) < k-2. Thus, for k>5,f(x,k+1)>f(x,n)k > 5, f(x, k+1) > f(x, n) for n<k+1n < k+1.

Similar proofs apply for x=3k+1x = 3k + 1 and x=3k+2x = 3k + 2. The reader should feel free to derive these proofs themself.

Generalized Solution

Lemma:Lemma: Highest remainder when nn is divided by 1kn/21\leq k\leq n/2 is obtained for k0=(n+(3n(mod3)))/3k_0 = (n + (3 - n \pmod{3}))/3 and the remainder thus obtained is (nk02)=[(n6)/3+(2/3)n(mod3)](n - k_0*2) = [(n - 6)/3 + (2/3)*n \pmod{3}].

Note:Note: This is the second highest remainder when nn is divided by 1kn1\leq k\leq n and the highest remainder occurs when nn is divided by kMk_M = (n+1)/2(n+1)/2 for odd nn and kMk_M = (n+2)/2(n+2)/2 for even nn.

Using the lemma above:

n=20100F(n)=n=20100[(n6)/3+(2/3)n(mod3)]\sum\limits_{n=20}^{100} F(n) = \sum\limits_{n=20}^{100} [(n - 6)/3 + (2/3)*n \pmod{3}] =[(12081/2)/3281+(2/3)81]=1512= [(120*81/2)/3 - 2*81 + (2/3)*81] = 1512

So the answer is 512\boxed{512}

Proof of Lemma: It is similar to TheProofThe Proof stated above.

Kris17

Video Solution

https://youtu.be/mQ4_1dp8Wm8?si=Ae5HAc0cZQAjdtWl

~MathProblemSolvingSkills.com