Luyện tập / Chủ đề Number Theory · Số học

Luyện tập Number Theory (Số học)

Bài tập tính chia hết, số nguyên tố, ước và bội, phép chia có dư, đồng dư, chữ số tận cùng và phương trình nghiệm nguyên.

Có 525 bài tập Number Theory · Số học · khối Lớp 8 · Trang 35/35 (Question 511–525)

Điểm: 0/15

Question 511

Cực khó · +50 điểm

Đề: AMC 10 2011B · Question 23 · Lớp 8–10

What is the hundreds digit of $2011^{2011}$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $6$

In the expansion of $(2000 + 11)^{2011}$, all terms except $11^{2011}$ are divisible by $1000$, so the hundreds digit of $2011^{2011}$ is equal to that of $11^{2011}$. Furthermore, in the expansion of $(10 + 1)^{2011}$, all terms except $1^{2011}$, $\binom{2011}{1}(10)(1^{2010})$, and $\binom{2011}{2}(10)^2(1^{2009})$ are divisible by $1000$. Thus the hundreds digit of $2011^{2011}$ is equal to that of \[\begin{aligned} 1 + \binom{2011}{1}(10)(1^{2010}) + \binom{2011}{2}(10)^2(1^{2009}) &= 1 + 2011 \cdot 10 + 2011 \cdot 1005 \cdot 100 \\ &= 1 + 2011 \cdot 100510. \end{aligned}\] Finally, the hundreds digit of this number is equal to that of $1 + 11 \cdot 510 = 5611$, so the requested hundreds digit is $6$.

Question 512

Cực khó · +50 điểm

Đề: AMC 10 2012A · Question 24 · Lớp 8–10

Let $a, b$, and $c$ be positive integers with $a \geqslant b \geqslant c$ such that $$\begin{aligned} a^2 - b^2 - c^2 + ab &= 2011\text{ and}\\ a^2 + 3b^2 + 3c^2 - 3ab - 2ac - 2bc &= -1997. \end{aligned}$$ What is $a$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $253$

Adding the two equations gives \[ 2a^2 + 2b^2 + 2c^2 - 2ab - 2bc - 2ac = 14, \] so \[ (a - b)^2 + (b - c)^2 + (c - a)^2 = 14. \] Note that there is a unique way to express $14$ as the sum of perfect squares (up to permutations), namely, $14 = 3^2 + 2^2 + 1^2$. Because $a - b$, $b - c$, and $c - a$ are integers with their sum equal to $0$ and $a \geqslant b \geqslant c$, it follows that $a - c = 3$ and either $a - b = 2$ and $b - c = 1$, or $a - b = 1$ and $b - c = 2$. Therefore either $(a, b, c) = (c + 3, c + 1, c)$ or $(a, b, c) = (c + 3, c + 2, c)$. Substituting the relations in the first case into the first given equation yields $2011 = a^2 - c^2 + ab - b^2 = (a - c)(a + c) + (a - b)b = 3(2c + 3) + 2(c + 1)$. Solving gives $(a, b, c) = (253, 251, 250)$. The second case does not yield an integer solution. Therefore $a = 253$.

Question 513

Cực khó · +50 điểm

Đề: AMC 10 2013B · Question 24 · Lớp 8–10

A positive integer $n$ is nice if there is a positive integer $m$ with exactly four positive divisors (including $1$ and $m$) such that the sum of the four divisors is equal to $n$. How many numbers in the set $\{2010, 2011, 2012, \dots, 2019\}$ are nice?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $1$

A positive integer $m$ has exactly four positive divisors if and only if either $m = p^3$ for a prime $p$, or $m = pq$ for two distinct primes $p > q$.

  • If $m = p^3$, the sum of its divisors is $1 + p + p^2 + p^3$. Since $1 + 11 + 11^2 + 11^3 = 1464 < 2010$ and $1 + 13 + 13^2 + 13^3 = 2380 > 2019$, no integer in $\{2010, \dots, 2019\}$ arises from this case.
  • If $m = pq$ with primes $p > q$, the sum of its divisors is $n = 1 + q + p + pq = (1 + q)(1 + p)$. Because $p > q \geqslant 2$, $p$ is odd, so $1 + p$ is even, and thus $n$ must be even.

We check the even candidates in $\{2010, 2012, 2014, 2016, 2018\}$:

  • If $q = 2$, then $n = 3(p + 1)$ is divisible by $3$, leaving $2010 = 3 \cdot 670$ ($p = 669 = 3 \cdot 223$, composite) and $2016 = 3 \cdot 672$ ($p = 671 = 11 \cdot 61$, composite). Neither yields a prime $p$.
  • If $q$ is an odd prime, both $q + 1$ and $p + 1$ are even, so $n$ is divisible by $4$. Only $2012$ and $2016$ are multiples of $4$.
  • For $n = 2012 = 4 \cdot 503$ (where $503$ is prime), the factorizations $(q + 1)(p + 1) = 2012$ with $2 < q < p$ force $q + 1 = 4 \implies q = 3$ and $p + 1 = 503 \implies p = 502$ (even, not prime), or $q + 1 = 2$ ($q = 1$, not prime). Thus $2012$ is not nice.
  • For $n = 2016$, taking $q = 3$ gives $q + 1 = 4$ and $p + 1 = 504 \implies p = 503$, which is prime! (Also $q = 7, p = 251$, and others work.)

Therefore, $2016$ is the only nice number in the set, so there is $1$ such number.

Question 514

Cực khó · +50 điểm

Đề: AMC 10 2013B · Question 25 · Lớp 8–10

Bernardo chooses a three-digit positive integer $N$ and writes both its base-$5$ and base-$6$ representations on a blackboard. Later LeRoy sees the two numbers Bernardo has written. Treating the two numbers as base-$10$ integers, he adds them to obtain an integer $S$. For example, if $N = 749$, Bernardo writes the numbers $10{,}444$ and $3{,}245$, and LeRoy obtains the sum $S = 13{,}689$. For how many choices of $N$ are the two rightmost digits of $S$, in order, the same as those of $2N$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $25$

Notice that $\mathrm{lcm}(5^2, 6^2, 10^2) = 900$. Adding $900$ to $N$ leaves $N \bmod 25$, $N \bmod 36$, and $N \bmod 100$ unchanged, so it does not change the last two base-$5$ digits, the last two base-$6$ digits, or the last two base-$10$ digits of $2N$. Since there are $900$ three-digit integers $N \in \{100, 101, \dots, 999\}$, the set $\{100, \dots, 999\}$ covers every residue class modulo $900$ exactly once. Thus we may equivalently count solutions $N \in \{0, 1, \dots, 899\}$ (with leading zeros appended when needed).

Let the last two digits of $N$ in base $5$ be $a_1 a_0$ ($0 \leqslant a_0, a_1 \leqslant 4$) and in base $6$ be $b_1 b_0$ ($0 \leqslant b_0, b_1 \leqslant 5$). Because LeRoy treats these strings as base-$10$ numbers and adds them, we have \[ S \equiv (10a_1 + a_0) + (10b_1 + b_0) \pmod{100}. \] The condition $S \equiv 2N \pmod{100}$ implies modulo $10$ that \[ a_0 + b_0 \equiv 2N \pmod{10}. \] Since $N \equiv a_0 \pmod{5}$, multiplying by $2$ gives $2N \equiv 2a_0 \pmod{10}$. Hence $a_0 + b_0 \equiv 2a_0 \pmod{10}$, so $b_0 \equiv a_0 \pmod{10}$. Since $0 \leqslant a_0 \leqslant 4$ and $0 \leqslant b_0 \leqslant 5$, this forces $b_0 = a_0$.

Now write $N \equiv a_0 \pmod{30}$ (since $N \equiv a_0 \pmod{5}$ and $N \equiv a_0 \pmod{6}$), so $N = 30k + a_0$ for some integer $k$.

  • Modulo $25$: $30k + a_0 \equiv 5a_1 + a_0 \pmod{25} \implies 5k \equiv 5a_1 \pmod{25} \implies k \equiv a_1 \pmod{5}$. Write $k = 5t + a_1$, so $N = 150t + 30a_1 + a_0$.
  • Modulo $36$: $150t + 30a_1 + a_0 \equiv 6b_1 + a_0 \pmod{36} \implies 6t - 6a_1 \equiv 6b_1 \pmod{36} \implies t \equiv a_1 + b_1 \pmod{6}$. Write $t = 6u + a_1 + b_1$, so

\[ N = 900u + 180a_1 + 150b_1 + a_0. \]

Doubling $N$ and reducing modulo $100$ gives \[ 2N \equiv 360a_1 + 300b_1 + 2a_0 \equiv 60a_1 + 2a_0 \pmod{100}. \] On the other hand, $S \equiv 10(a_1 + b_1) + 2a_0 \pmod{100}$. Setting $S \equiv 2N \pmod{100}$ gives \[ 10(a_1 + b_1) \equiv 60a_1 \pmod{100} \implies a_1 + b_1 \equiv 6a_1 \pmod{10} \implies b_1 \equiv 5a_1 \pmod{10}. \] Since $0 \leqslant a_1 \leqslant 4$ and $0 \leqslant b_1 \leqslant 5$, the condition $b_1 \equiv 5a_1 \pmod{10}$ holds if and only if either $a_1 \in \{0, 2, 4\}$ with $b_1 = 0$, or $a_1 \in \{1, 3\}$ with $b_1 = 5$. This gives $5$ valid pairs $(a_1, b_1)$, and each can be paired with any of the $5$ choices $a_0 \in \{0, 1, 2, 3, 4\}$ (with $b_0 = a_0$). Each triple $(a_0, a_1, b_1)$ uniquely determines $N \bmod 900$, giving $5 \cdot 5 = 25$ valid three-digit integers $N$.

Question 515

Cực khó · +50 điểm

Đề: AMC 10 2015A · Question 23 · Lớp 8–10

The zeros of the function $f(x) = x^2 - ax + 2a$ are integers. What is the sum of the possible values of $a$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $16$

Since the zeros of $f$ are integers, their sum $a$ must also be an integer. Let $r$ be an integer zero of $f$; then $r^2 - ar + 2a = 0$, which rearranges to $a(r - 2) = r^2$. Clearly $r \ne 2$ (otherwise $4 = 0$), so \[ a = \dfrac{r^2}{r - 2} = r + 2 + \dfrac{4}{r - 2}. \] For $a$ to be an integer, $r - 2$ must divide $4$, so $r - 2 \in \{\pm 1, \pm 2, \pm 4\}$, giving $r \in \{6, 4, 3, 1, 0, -2\}$. Evaluating $a = r + 2 + \dfrac{4}{r - 2}$ for each case yields $a = 9$ (from $r = 6$ or $r = 3$, roots $6$ and $3$), $a = 8$ (from $r = 4$, double root $4$), $a = 0$ (from $r = 0$, double root $0$), and $a = -1$ (from $r = 1$ or $r = -2$, roots $1$ and $-2$). Thus the possible values of $a$ are $9, 8, 0, -1$, whose sum is $9 + 8 + 0 + (-1) = 16$.

Question 516

Cực khó · +50 điểm

Đề: AMC 10 2015B · Question 23 · Lớp 8–10

Let $n$ be a positive integer greater than $4$ such that the decimal representation of $n!$ ends in $k$ zeros and the decimal representation of $(2n)!$ ends in $3k$ zeros. Let $s$ denote the sum of the four least possible values of $n$. What is the sum of the digits of $s$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $8$

By Legendre's formula, the number of trailing zeros in $m!$ is $Z(m) = \sum_{j=1}^\infty \lfloor m/5^j \rfloor$. We are given that $Z(2n) = 3 Z(n)$. For $n < 25$:

  • For $5 \leqslant n \leqslant 9$: $\lfloor n/5 \rfloor = 1$, so $Z(n) = 1$. We need $Z(2n) = 3$. Since $10 \leqslant 2n \leqslant 18$, $\lfloor 2n/5 \rfloor$ can be $2$ or $3$. For $2n \in [15, 18]$, $\lfloor 2n/5 \rfloor = 3$ and $2n < 25$, so $Z(2n) = 3$. This gives $n = 8$ ($2n = 16$) and $n = 9$ ($2n = 18$).
  • For $10 \leqslant n \leqslant 14$: $\lfloor n/5 \rfloor = 2$, so $Z(n) = 2$. We need $Z(2n) = 3 \times 2 = 6$. Here $20 \leqslant 2n \leqslant 28$. For $2n \geqslant 25$, $Z(2n) = \lfloor 2n/5 \rfloor + \lfloor 2n/25 \rfloor = 5 + 1 = 6$. Thus $2n \in \{25, 26, 27, 28\}$, giving $n = 13$ ($2n = 26$) and $n = 14$ ($2n = 28$).

The four least possible values of $n$ are $8, 9, 13, 14$. Their sum is: \[ s = 8 + 9 + 13 + 14 = 44. \] The sum of the digits of $s$ is $4 + 4 = 8$.

Question 517

Cực khó · +50 điểm

Đề: AMC 10 2017B · Question 23 · Lớp 8–10

Let $N = 123456789101112 \dots 4344$ be the $79$-digit number that is formed by writing the integers from $1$ to $44$ in order, one after the other. What is the remainder when $N$ is divided by $45$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $9$

Since $45 = 5 \times 9$ and $\gcd(5, 9) = 1$, we find $N \pmod 5$ and $N \pmod 9$:

  • Modulo $5$: The last digit of $N$ is $4$, so:

\[ N \equiv 4 \pmod 5. \]

  • Modulo $9$: A number is congruent modulo $9$ to the sum of its digits. The sum of the digits of the numbers from $1$ to $44$:
  • Numbers from $1$ to $39$: the units digits $0, 1, \dots, 9$ each appear $4$ times, with sum $4 \times 45 = 180 \equiv 0 \pmod 9$. The tens digits: $1$ appears $10$ times, $2$ appears $10$ times, $3$ appears $10$ times. Sum $= 10(1 + 2 + 3) = 60 \equiv 6 \pmod 9$.
  • Numbers from $40$ to $44$: Tens digits: $4 \times 5 = 20 \equiv 2 \pmod 9$. Units digits: $0 + 1 + 2 + 3 + 4 = 10 \equiv 1 \pmod 9$.

Total sum of digits modulo $9$ is: \[ 6 + 2 + 1 = 9 \equiv 0 \pmod 9. \] Thus $N \equiv 0 \pmod 9$.

We solve the system of congruences: \[ N \equiv 4 \pmod 5 \quad \text{and} \quad N \equiv 0 \pmod 9. \] Testing the multiples of $9$ modulo $45$: $0, 9, 18, 27, 36$: \[ 9 \equiv 4 \pmod 5. \] Therefore, $N \equiv 9 \pmod{45}$, so the remainder is $9$.

Question 518

Cực khó · +50 điểm

Đề: AMC 10 2017B · Question 25 · Lớp 8–10

Last year Isabella took $7$ math tests and received $7$ different scores, each an integer between $91$ and $100$, inclusive. After each test she noticed that the average of her test scores was an integer. Her score on the seventh test was $95$. What was her score on the sixth test?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $100$

Let $s_1, s_2, \dots, s_7$ be the $7$ distinct test scores, with $s_i \in \{91, \dots, 100\}$. For each $k \in \{1, \dots, 7\}$, the sum $S_k = \sum_{i=1}^k s_i$ is a multiple of $k$. We are given $s_7 = 95$. The sum of all $7$ scores $S_7$ is a multiple of $7$. The minimum sum of $7$ distinct scores from $\{91, \dots, 100\}$ containing $95$ is: $91 + 92 + 93 + 94 + 95 + 96 + 97 = 658$. The maximum sum is $94 + 95 + 96 + 97 + 98 + 99 + 100 = 679$. The multiples of $7$ in $[658, 679]$ are $658, 665, 672, 679$. Since $S_6 = S_7 - 95$ must be a multiple of $6$:

  • If $S_7 = 658$: $S_6 = 658 - 95 = 563$ (not divisible by $6$).
  • If $S_7 = 665$: $S_6 = 665 - 95 = 570 = 6 \times 95$ (divisible by $6$).
  • If $S_7 = 672$: $S_6 = 672 - 95 = 577$ (not divisible by $6$).
  • If $S_7 = 679$: $S_6 = 679 - 95 = 584$ (not divisible by $6$).

Thus $S_7 = 665$ and $S_6 = 570$. Next, $S_5 = S_6 - s_6 = 570 - s_6$ must be a multiple of $5$. Since $570$ is a multiple of $5$, $s_6$ must be a multiple of $5$! The available scores in $\{91, \dots, 100\}$ that are multiples of $5$ are $95$ and $100$. Since the scores are all distinct and $s_7 = 95$, we must have: \[ s_6 = 100. \]

Question 519

Cực khó · +50 điểm

Đề: AMC 10 2018A · Question 25 · Lớp 8–10

For a positive integer $n$ and nonzero digits $a, b,$ and $c$, let $A_n$ be the $n$-digit integer each of whose digits is equal to $a$; let $B_n$ be the $n$-digit integer each of whose digits is equal to $b$; and let $C_n$ be the $2n$-digit (not $n$-digit) integer each of whose digits is equal to $c$. What is the greatest possible value of $a + b + c$ for which there are at least two values of $n$ such that $C_n - B_n = A_n^2$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $18$

Let $R_k = \dfrac{10^k - 1}{9}$ be the repunit of length $k$. Then \[ A_n = a R_n, \quad B_n = b R_n, \quad C_n = c R_{2n} = c \left(\dfrac{10^{2n} - 1}{9}\right) = c R_n (10^n + 1). \] The given equation $C_n - B_n = A_n^2$ becomes \[ c R_n (10^n + 1) - b R_n = a^2 R_n^2. \] Dividing both sides by $R_n \ne 0$: \[ c(10^n + 1) - b = a^2 R_n = a^2 \left(\dfrac{10^n - 1}{9}\right). \] Multiplying by $9$: \[ 9c \cdot 10^n + 9c - 9b = a^2 \cdot 10^n - a^2 \iff (9c - a^2) \cdot 10^n + (9c - 9b + a^2) = 0. \] For this equation to hold for at least two different values of $n$, the polynomial in $10^n$ must vanish identically: \[ 9c - a^2 = 0 \quad \text{and} \quad 9c - 9b + a^2 = 0. \] From $a^2 = 9c$, since $a$ and $c$ are nonzero digits: $c = \dfrac{a^2}{9}$, so $a$ must be a multiple of $3$. Thus $a \in \{3, 6, 9\}$.

  • If $a = 3$: $c = 1$. Then $9(1) - 9b + 9 = 0 \implies 18 = 9b \implies b = 2$.

Here $a + b + c = 3 + 2 + 1 = 6$.

  • If $a = 6$: $c = \dfrac{36}{9} = 4$. Then $9(4) - 9b + 36 = 0 \implies 72 = 9b \implies b = 8$.

Here $b = 8$ is a valid digit, so $a + b + c = 6 + 8 + 4 = 18$.

  • If $a = 9$: $c = \dfrac{81}{9} = 9$. Then $9(9) - 9b + 81 = 0 \implies 162 = 9b \implies b = 18$, which is not a single digit!

Thus the only valid solution with maximal sum is $(a, b, c) = (6, 8, 4)$, which gives \[ a + b + c = 6 + 8 + 4 = 18. \]

Question 520

Cực khó · +50 điểm

Đề: AMC 10 2018B · Question 23 · Lớp 8–10

How many ordered pairs $(a, b)$ of positive integers satisfy the equation \[ a \cdot b + 63 = 20 \cdot \operatorname{lcm}(a, b) + 12 \cdot \gcd(a, b), \] where $\gcd(a, b)$ denotes the greatest common divisor of $a$ and $b$, and $\operatorname{lcm}(a, b)$ denotes their least common multiple?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $2$

Recall the fundamental identity $a \cdot b = \operatorname{lcm}(a, b) \cdot \gcd(a, b)$. Let $L = \operatorname{lcm}(a, b)$ and $G = \gcd(a, b)$. Note that $L$ is always a multiple of $G$, so $L \geqslant G$. The equation becomes \[ LG + 63 = 20L + 12G \iff LG - 20L - 12G + 240 = 240 - 63 = 177. \] Factoring the left side: \[ (L - 12)(G - 20) = 177. \] The prime factorization of $177$ is $3 \times 59$. The positive divisors of $177$ are $1, 3, 59, 177$. Since $G \geqslant 1$ is an integer, $G - 20 \geqslant -19$. We test the possible factorizations:

  • Case 1: $G - 20 = 1 \implies G = 21$. Then $L - 12 = 177 \implies L = 189$.

Check if $G \mid L$: $189 = 9 \times 21$, so $G \mid L$ holds! Here $\dfrac{L}{G} = 9$. We need $a = 21u, b = 21v$ with $\gcd(u, v) = 1$ and $uv = 9$. Since $\gcd(u, v) = 1$, the only pairs are $\{u, v\} = \{1, 9\}$, giving ordered pairs $(21, 189)$ and $(189, 21)$ ($2$ solutions).

  • Case 2: $G - 20 = 3 \implies G = 23$. Then $L - 12 = 59 \implies L = 71$.

$23 \nmid 71$, so no solution.

  • Case 3: $G - 20 = -1 \implies G = 19$. Then $L - 12 = -177 \implies L = -165 < 0$, impossible.
  • Case 4: $G - 20 = -3 \implies G = 17$. Then $L - 12 = -59 \implies L < 0$, impossible.

Thus there are exactly $2$ ordered pairs: $(21, 189)$ and $(189, 21)$.

Question 521

Cực khó · +50 điểm

Đề: AMC 10 2019A · Question 25 · Lớp 8–10

For how many integers $n$ between $1$ and $50$, inclusive, is $\dfrac{(n^2 - 1)!}{(n!)^n}$ an integer?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $34$

Let $A_n = \dfrac{(n^2 - 1)!}{(n!)^n}$. For $n = 1$, $A_1 = \dfrac{0!}{1^1} = 1$ is an integer. For $n$ prime, $(n^2 - 1)!$ contains multiples $n, 2n, \dots, (n - 1)n$, giving $n - 1$ factors of $n$, whereas $(n!)^n$ has $n$ factors of $n$. Hence $A_n$ is not an integer for any prime $n$. For $n = 4$, $15!$ contains $11$ factors of $2$, while $(4!)^4$ contains $12$ factors of $2$, so $A_4$ is not an integer. For any composite $n > 4$, $A_n$ is an integer. Between $1$ and $50$, there are $15$ primes, and $n = 4$ is excluded. Thus, the number of integers is $50 - 15 - 1 = 34$.

Question 522

Cực khó · +50 điểm

Đề: AMC 10 2020A · Question 24 · Lớp 8–10

Let $n$ be the least positive integer greater than $1000$ for which \[ \gcd(63, n + 120) = 21 \quad \text{and} \quad \gcd(n + 63, 120) = 60. \] What is the sum of the digits of $n$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $18$

From $\gcd(n + 63, 120) = 60$, we can write $n + 63 = 60k$ for some odd positive integer $k$ (since $120 = 2 \cdot 60$, $k$ cannot be even). Thus $n = 60k - 63$. Substituting into the first condition gives \[ n + 120 = 60k + 57 = 3(20k + 19). \] Since $\gcd(63, 3(20k + 19)) = 21 = 3 \cdot 7$, we must have $7 \mid (20k + 19)$ and $3 \nmid (20k + 19)$. Reducing modulo $7$ gives $6k + 5 \equiv 0 \pmod 7 \implies k \equiv 5 \pmod 7$. Combining $k \equiv 5 \pmod 7$ with $k$ odd gives $k \equiv 5 \pmod{14}$. Reducing modulo $3$ gives $2k + 1 \not\equiv 0 \pmod 3 \implies k \not\equiv 1 \pmod 3$. Since $n > 1000$, we require $60k - 63 > 1000 \implies k \geqslant 18$. Testing $k \equiv 5 \pmod{14}$ with $k \geqslant 18$: $k = 19$ fails because $19 \equiv 1 \pmod 3$; the next value $k = 33$ satisfies $33 \equiv 0 \not\equiv 1 \pmod 3$. Therefore $n = 60 \cdot 33 - 63 = 1917$, whose digit sum is $1 + 9 + 1 + 7 = 18$.

Question 523

Cực khó · +50 điểm

Đề: AMC 10 2020B · Question 24 · Lớp 8–10

How many positive integers $n$ satisfy \[ \dfrac{n + 1000}{70} = \lfloor \sqrt{n} \rfloor? \] (Recall that $\lfloor x \rfloor$ is the greatest integer not exceeding $x$.)

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $6$

Let $k = \lfloor \sqrt{n} \rfloor$, which is a positive integer. The given equation gives $n = 70k - 1000$, and the definition of the floor function gives $k^2 \leqslant n < (k + 1)^2$. Substituting $n = 70k - 1000$ yields two inequalities:

1. $k^2 \leqslant 70k - 1000 \iff k^2 - 70k + 1000 \leqslant 0 \iff (k - 20)(k - 50) \leqslant 0$, so $20 \leqslant k \leqslant 50$. 2. $70k - 1000 < k^2 + 2k + 1 \iff k^2 - 68k + 1001 > 0 \iff (k - 34)^2 > 1156 - 1001 = 155$.

Since $12^2 = 144 < 155 < 169 = 13^2$, the second inequality holds if and only if $|k - 34| \geqslant 13$, meaning $k \leqslant 21$ or $k \geqslant 47$. Intersecting with $20 \leqslant k \leqslant 50$ leaves $k \in \{20, 21, 47, 48, 49, 50\}$, each yielding a unique positive integer $n = 70k - 1000$. Thus there are $6$ solutions.

Question 524

Cực khó · +50 điểm

Đề: AMC 10 2021B · Question 25 · Lớp 8–10

Let $S$ be the set of lattice points in the coordinate plane, both of whose coordinates are integers between $1$ and $30$, inclusive. Exactly $300$ points in $S$ lie on or below a line with equation $y = mx$. The possible values of $m$ lie in an interval of length $\dfrac{a}{b}$, where $a$ and $b$ are relatively prime positive integers. What is $a + b$?

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $85$

A point $(x, y) \in \{1, \ldots, 30\}^2$ lies on or below $y = mx$ if and only if $\dfrac{y}{x} \leqslant m$. Check the slope $m = \dfrac{2}{3}$: the number of points with $y \leqslant \dfrac{2}{3}x$ is $\sum_{x=1}^{30} \left\lfloor \dfrac{2x}{3} \right\rfloor$. In each block of three consecutive integers $x = 3k - 2, 3k - 1, 3k$, the floors are $(2k - 2) + (2k - 1) + 2k = 6k - 3$. Summing over $k = 1, \ldots, 10$ gives \[ \sum_{k=1}^{10} (6k - 3) = 6 \cdot 55 - 30 = 300. \] Since points $(3k, 2k)$ ($1 \leqslant k \leqslant 10$) lie on $y = \dfrac{2}{3}x$, any $m < \dfrac{2}{3}$ leaves fewer than $300$ points on or below the line, so the left endpoint of the valid interval is $\dfrac{2}{3}$ (inclusive). The right endpoint (exclusive) is the smallest slope $\dfrac{p}{q} > \dfrac{2}{3}$ among points $(q, p) \in S$, which minimizes $\dfrac{p}{q} - \dfrac{2}{3} = \dfrac{3p - 2q}{3q}$. Since $3p - 2q \geqslant 1$, this minimum occurs when $3p - 2q = 1$ and $q \leqslant 30$ is as large as possible. Reducing $2q \equiv -1 \pmod 3$ gives $q \equiv 1 \pmod 3$, so the largest $q \leqslant 30$ is $q = 28$ (with $p = 19$). Thus the valid interval is $\left[\dfrac{2}{3}, \dfrac{19}{28}\right)$, which has length \[ \dfrac{19}{28} - \dfrac{2}{3} = \dfrac{57 - 56}{84} = \dfrac{1}{84}, \] and $a + b = 1 + 84 = 85$.

Determine the largest positive integer $ n $ such that there exists a unique positive integer $ k $ satisfying $ \frac { 8 } { 15 } < \frac { n } { n+k } < \frac { 7 } { 13 }. $

Chọn đáp án

Xem đáp án và lời giải

Đáp án: $ n=112 $

Nhân chéo với các mẫu dương, ta được $6n/7<k<7n/8$. Khoảng này có độ dài $n/56$. Với $n>112$, độ dài lớn hơn $2$ nên có ít nhất hai số nguyên. Với $n=112$ khoảng là $(96{,}98)$, chỉ chứa $97$. Vậy $n$ lớn nhất là $112$.

Cài đặt ứng dụng O₂ Education

Thêm O₂ Education vào Màn hình chính trên iPhone / iPad để học nhanh như ứng dụng gốc:

  1. Nhấn biểu tượng Chia sẻ trên thanh công cụ Safari.
  2. Cuộn xuống và chọn Thêm vào MH chính (Add to Home Screen).
  3. Nhấn Thêm ở góc trên bên phải để hoàn tất.