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ó 909 bài tập Number Theory · Số học · khối Lớp 10 · Trang 61/61 (Question 901–909)

Điểm: 0/9

What is the greatest positive integer $k$ such that $6^k$ divides $33!$ evenly?

Chọn đáp án

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

Đáp án: $15$

Phân tích $6$ thành thừa số nguyên tố và đếm số mũ từng thừa số trong $33!$ theo công thức Legendre $\sum_{i \geqslant 1} \lfloor \dfrac{33}{p^i} \rfloor$. Giá trị lớn nhất của $k$ là $15$.

What is the greatest integer $k$ such that $20^k$ is a divisor of $54!$? (Enter a number only)

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

Đáp án: $12$

Phân tích thừa số nguyên tố của $20$ và áp dụng công thức Legendre đếm số mũ trong $54!$, thừa số giới hạn cho ta số mũ lớn nhất $k = 12$.

What is the greatest positive integer $k$ such that $10^k$ divides $33!$ evenly?

Chọn đáp án

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

Đáp án: $7$

Phân tích $10$ thành thừa số nguyên tố và đếm số mũ từng thừa số trong $33!$ theo công thức Legendre $\sum_{i \geqslant 1} \lfloor \dfrac{33}{p^i} \rfloor$. Giá trị lớn nhất của $k$ là $7$.

Question 904

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

Đề: AMC 12 2004 · Question 25 · Lớp 10–12

For each integer $n \geqslant 4$, let $a_n$ denote the base-$n$ number $0.133_n$. The product $a_4 a_5 \dots a_{99}$ can be expressed as $\dfrac{m}{n!}$, where $m$ and $n$ are positive integers and $n$ is as small as possible. What is the value of $m$?

Chọn đáp án

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

Đáp án: $962$

In base $n$, $a_n = 0.133_n$ represents: \[ a_n = \dfrac{1}{n} + \dfrac{3}{n^2} + \dfrac{3}{n^3} = \dfrac{n^2 + 3n + 3}{n^3}. \] Notice the algebraic identity: \[ (n + 1)^3 - 1 = n^3 + 3n^2 + 3n = n(n^2 + 3n + 3). \] Therefore, \[ n^2 + 3n + 3 = \dfrac{(n + 1)^3 - 1}{n}. \] Hence, $a_n$ can be rewritten as: \[ a_n = \dfrac{(n + 1)^3 - 1}{n^4} = \dfrac{(n + 1)^3 - 1}{n(n^3 - 1)} \cdot \dfrac{n^3 - 1}{n^3} (\text{or telescoping form}). \] More directly: \[ a_n = \dfrac{(n + 1)^3 - 1}{n(n^3 - 1)} \times \dfrac{n^3 - 1}{n^3} \implies \prod_{n=4}^{99} \dfrac{n^2 + 3n + 3}{n^3}. \] Notice that: \[ a_n = \dfrac{(n + 1)^3 - 1}{n(n^3 - 1)} = \dfrac{1}{n} \cdot \dfrac{(n+1)^3 - 1}{n^3 - 1}. \] Taking the product from $n = 4$ to $99$: \[ \prod_{n=4}^{99} a_n = \left(\prod_{n=4}^{99} \dfrac{1}{n}\right) \left(\prod_{n=4}^{99} \dfrac{(n+1)^3 - 1}{n^3 - 1}\right). \] The first factor is: \[ \prod_{n=4}^{99} \dfrac{1}{n} = \dfrac{3!}{99!} = \dfrac{6}{99!}. \] The second product telescopes: \[ \dfrac{5^3 - 1}{4^3 - 1} \cdot \dfrac{6^3 - 1}{5^3 - 1} \dots \dfrac{100^3 - 1}{99^3 - 1} = \dfrac{100^3 - 1}{4^3 - 1} = \dfrac{1{,}000{,}000 - 1}{64 - 1} = \dfrac{999{,}999}{63}. \] Factoring $999{,}999$: \[ 999{,}999 = 9 \times 111{,}111 = 9 \times 11 \times 10{,}101 = 99 \times 10{,}101. \] Dividing by $63 = 9 \times 7$: \[ \dfrac{999{,}999}{63} = \dfrac{99 \times 10{,}101}{63} = \dfrac{11 \times 10{,}101}{7} = 11 \times 1443 = 15{,}873. \] Now multiply by $\dfrac{6}{99!}$: \[ \prod_{n=4}^{99} a_n = \dfrac{6 \times 15{,}873}{99!} = \dfrac{6 \times 11 \times 1443}{99 \times 98!} = \dfrac{66 \times 1443}{99 \times 98!} = \dfrac{2 \times 1443}{3 \times 98!} = \dfrac{2 \times 481}{98!} = \dfrac{962}{98!}. \] To minimize the factorial in the denominator, $n = 98$, and $m = 962$.

Question 905

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

Đề: AMC 12 2012B · Question 24 · Lớp 10–12

Define the function $f_1$ on the positive integers by setting $f_1(1) = 1$ and if $n = p_1^{e_1}p_2^{e_2}\cdots p_k^{e_k}$ is the prime factorization of $n > 1$, then \[ f_1(n) = (p_1 + 1)^{e_1 - 1}(p_2 + 1)^{e_2 - 1}\cdots(p_k + 1)^{e_k - 1}. \] For every $m \geqslant 2$, let $f_m(n) = f_1(f_{m-1}(n))$. For how many $N$ in the range $1 \leqslant N \leqslant 400$ is the sequence $(f_1(N), f_2(N), f_3(N), \ldots)$ unbounded? Note: a sequence of positive numbers is unbounded if for every integer $B$, there is a member of the sequence greater than $B$.

Chọn đáp án

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

Đáp án: $18$

Let $S_N = (f_1(N), f_2(N), f_3(N), \ldots)$. If $N_1$ divides $N_2$, then $f_1(N_1)$ divides $f_1(N_2)$. Thus $S_{N_2}$ is unbounded if $S_{N_1}$ is unbounded. Call $N$ essential if $S_N$ is unbounded and $N \leqslant 400$ is not divisible by any smaller number $n$ such that $S_n$ is unbounded. Assume $N = p_1^{e_1}p_2^{e_2}\cdots p_k^{e_k}$ is essential. If $e_j = 1$ for some $j$, then $f_1(N) = f_1(\dfrac{N}{p_j})$. Let $n = \dfrac{N}{p_j}$ and note that $S_N$ and $S_n$ coincide after the first term and consequently $S_n$ is unbounded. This contradicts the fact that $N$ is essential. Thus $e_j \geqslant 2$ for all $1 \leqslant j \leqslant k$. Moreover, $(p_1p_2\cdots p_k)^2 \leqslant p_1^{e_1}p_2^{e_2}\cdots p_k^{e_k} = N \leqslant 400$; thus $p_1p_2\cdots p_k \leqslant \sqrt{400} = 20$. Because $2 \cdot 3 \cdot 5 > 20$ it follows that $k \leqslant 2$. First analyze the case when $n = 2^a \cdot 3^b$. In that case $f_2(n) = f_1(2^{2b-2} \cdot 3^{a-1}) = 2^{2a-4} \cdot 3^{2b-3}$; thus $S_n$ is unbounded if and only if $a \geqslant 5$ or $b \geqslant 4$, and $n$ is essential if and only if $n = 2^5$ or $n = 3^4$. If $k = 1$, then $N = p^e$ for some prime $p \leqslant 19$. The cases $p = 2$ or $p = 3$ have been considered before. If $p = 5$, then $f_1(5^a) = 2^{a-1} \cdot 3^{a-1}$ and because $a \leqslant 3$, no power of $5$ in the given range is essential. If $p = 7$, then $f_1(7^a) = 2^{3a-3}$, and thus $N = 7^3$ is essential. If $p \geqslant 11$, then $p^3 > 400$. Because $f_1(11^2) = 2^2 \cdot 3$, $f_2(13^2) = f_1(2 \cdot 7) = 1$, $f_1(17^2) = 2 \cdot 3^2$, and $f_2(19^2) = f_1(2^2 \cdot 5) = 3$, no powers of $11, 13, 17,$ or $19$ are essential. If $k = 2$, then the only possible pairs of primes $(p_1, p_2)$ are $(2, 3)$, $(2, 5)$, $(2, 7)$, and $(3, 5)$. The pair $(2, 3)$ was analyzed before and it yields no essential $N$. If $N = 2^a \cdot 5^b \leqslant 400$ is essential, then $2 \leqslant a \leqslant 4$ and $b = 2$. Moreover $f_1(N) = 2 \cdot 3^a$, so $a = 4$ and thus only $N = 2^4 \cdot 5^2$ is essential in this case. If $(p_1, p_2) = (2, 7)$ or $(3, 5)$ and $N = p_1^{e_1}p_2^{e_2} \leqslant 400$ is essential, then $N \in \{2^2 \cdot 7^2, 2^3 \cdot 7^2, 3^2 \cdot 5^2\}$. Because $f_1(2^2 \cdot 7^2) = 2^3 \cdot 3$, $f_1(2^3 \cdot 7^2) = 2^3 \cdot 3^2$, and $f_1(3^2 \cdot 5^2) = 2^3 \cdot 3$, it follows that there are no essential $N$ in this case. Therefore the only essential values of $N$ are $2^5 = 32$, $3^4 = 81$, $7^3 = 343$, and $2^4 \cdot 5^2 = 400$. These values have $\lfloor\dfrac{400}{32}\rfloor = 12$, $\lfloor\dfrac{400}{81}\rfloor = 4$, $\lfloor\dfrac{400}{343}\rfloor = 1$, and $\lfloor\dfrac{400}{400}\rfloor = 1$ multiples, respectively, in the range $1 \leqslant N \leqslant 400$. Because there are no common multiples, the required answer is $12 + 4 + 1 + 1 = 18$.

Question 906

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

Đề: AMC 12 2013B · Question 23 · Lớp 10–12

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$

Expand the set of three-digit positive integers to include integers $N$, $0 \leqslant N \leqslant 99$, with leading zeros appended. Because $lcm(5^2, 6^2, 10^2) = 900$, such an integer $N$ meets the required condition if and only if $N + 900$ does. Therefore $N$ can be considered to be chosen from the set of integers between $000$ and $899$, inclusive. Suppose that the last two digits in order of the base-$5$ representation of $N$ are $a_1$ and $a_0$. Similarly, suppose that the last two digits of the base-$6$ representation of $N$ are $b_1$ and $b_0$. By assumption, $2N \equiv a_0 + b_0 \pmod{10}$, but $N \equiv a_0 \pmod 5$ and so \[ a_0 + b_0 \equiv 2N \equiv 2a_0 \pmod{10}. \] Thus $a_0 \equiv b_0 \pmod{10}$ and because $0 \leqslant a_0 \leqslant 4$ and $0 \leqslant b_0 \leqslant 5$, it follows that $a_0 = b_0$. Because $N \equiv a_0 \pmod 5$, it follows that there is an integer $N_1$ such that $N = 5N_1 + a_0$. Also, $N \equiv a_0 \pmod 6$ implies that $5N_1 + a_0 \equiv a_0 \pmod 6$ and so $N_1 \equiv 0 \pmod 6$. It follows that $N_1 = 6N_2$ for some integer $N_2$ and so $N = 30N_2 + a_0$. Similarly, $N \equiv 5a_1 + a_0 \pmod{25}$ implies that $30N_2 + a_0 \equiv 5a_1 + a_0 \pmod{25}$ and then $N_2 \equiv 6N_2 \equiv a_1 \pmod 5$. It follows that $N_2 = 5N_3 + a_1$ for some integer $N_3$ and so $N = 150N_3 + 30a_1 + a_0$. Once more, $N \equiv 6b_1 + a_0 \pmod{36}$ implies that $6N_3 - 6a_1 + a_0 \equiv 150N_3 + 30a_1 + a_0 \equiv 6b_1 + a_0 \pmod{36}$ and then $N_3 \equiv a_1 + b_1 \pmod 6$. It follows that $N_3 = 6N_4 + a_1 + b_1$ for some integer $N_4$ and so $N = 900N_4 + 180a_1 + 150b_1 + a_0$. Finally, $2N \equiv 10(a_1 + b_1) + 2a_0 \pmod{100}$ implies that \[ 60a_1 + 2a_0 \equiv 360a_1 + 300b_1 + 2a_0 \equiv 10a_1 + 10b_1 + 2a_0 \pmod{100}. \] Therefore $5a_1 \equiv b_1 \pmod{10}$, equivalently, $b_1 \equiv 0 \pmod 5$ and $a_1 \equiv b_1 \pmod 2$. Conversely, if $N = 900N_4 + 180a_1 + 150b_1 + a_0$, $a_0 = b_0$, and $5a_1 \equiv b_1 \pmod{10}$, then $2N \equiv 60a_1 + 2a_0 = 10(a_1 + 5a_1) + a_0 + b_0 \equiv 10(a_1 + b_1) + (a_0 + b_0) \pmod{100}$. Because $0 \leqslant a_1 \leqslant 4$ and $0 \leqslant b_1 \leqslant 5$, it follows that there are exactly $5$ different pairs $(a_1, b_1)$, namely $(0, 0), (2, 0), (4, 0), (1, 5)$, and $(3, 5)$. Each of these can be combined with $5$ different values of $a_0$ ($0 \leqslant a_0 \leqslant 4$), to determine exactly $25$ different numbers $N$ with the required property.

Question 907

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

Đề: AMC 12 2014 · Question 23 · Lớp 10–12

The fraction \[ \dfrac{1}{99^2} = 0.\overline{b_{n-1} b_{n-2} \dots b_2 b_1 b_0}, \] where $n$ is the length of the period of the repeating decimal expansion. What is the sum $b_0 + b_1 + \dots + b_{n-1}$?

Chọn đáp án

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

Đáp án: $883$

Notice that $99^2 = 9801$. Multiplying by $10^n$ and subtracting: \[ \dfrac{10^n - 1}{9801} = \overline{b_{n-1} b_{n-2} \dots b_1 b_0}. \] Notice the identity: \[ \dfrac{1}{99^2} = \left(\dfrac{1}{99}\right)^2 = (0.010101\dots)^2 = \sum_{k=1}^\infty \dfrac{k}{100^{k+1}} = 0.00 01 02 03 \dots 96 97 99 00\dots \] Notice that the two-digit blocks are $00, 01, 02, \dots, 97, 99$ (the block $98$ is skipped because $98 + 1 = 99$, carrying over from $100$). The period contains $99$ blocks of $2$ digits each, so the period length is: \[ n = 99 \times 2 = 198. \] The two-digit blocks in the period are all numbers from $00$ to $99$ except $98$: The sum of all numbers from $0$ to $99$ is: \[ \sum_{k=0}^{99} k = \dfrac{99 \times 100}{2} = 4950. \] Excluding $98$: The sum of the values of the blocks is $4950 - 98 = 4852$. Now we sum the individual digits: The digits appearing in all two-digit numbers from $00$ to $99$ are: Each digit $0, 1, \dots, 9$ appears $10$ times as a tens digit and $10$ times as a units digit: \[ \text{Total digit sum} = 20 \times (0 + 1 + \dots + 9) = 20 \times 45 = 900. \] Since the block $98$ is missing, we subtract the digits of $98$: \[ 900 - (9 + 8) = 900 - 17 = 883. \] Thus, the sum of the digits in the period is $883$.

Question 908

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

Đề: AMC 12 2014 · Question 48 · Lớp 10–12

The number $2017$ is prime. Let $S = \sum_{k=0}^{62} \binom{2014}{k}$. What is the remainder when $S$ is divided by $2017$?

Chọn đáp án

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

Đáp án: $1024$

Let $p = 2017$. For $0 \leqslant k \leqslant 62$, modulo $p$: \[ \binom{2014}{k} = \dfrac{2014 \cdot 2013 \cdots (2015-k)}{k!} \equiv \dfrac{(-3)(-4)\cdots(-(k+2))}{k!} \pmod{2017}. \] This product has $k$ terms: \[ \binom{2014}{k} \equiv (-1)^k \dfrac{(k+2)!}{2 \cdot k!} = (-1)^k \dfrac{(k+1)(k+2)}{2} = (-1)^k \binom{k+2}{2} \pmod{2017}. \] We sum this expression for $k = 0$ to $62$: \[ S \equiv \sum_{k=0}^{62} (-1)^k \binom{k+2}{2} \pmod{2017}. \] Using the identity $\sum_{k=0}^n (-1)^k \binom{k+2}{2}$: For $n = 62$ (an even integer): \[ \sum_{k=0}^{2m} (-1)^k \binom{k+2}{2} = (m+1)^2. \] With $2m = 62 \implies m = 31$: \[ S \equiv (31 + 1)^2 = 32^2 = 1024 \pmod{2017}. \] Thus, the remainder is $1024$.

Question 909

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

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

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 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$

We express the numbers in terms of repunits: \[ A_n = a \dfrac{10^n - 1}{9}, B_n = b \dfrac{10^n - 1}{9}, C_n = c \dfrac{10^{2n} - 1}{9}. \] The given equation $C_n - B_n = A_n^2$ becomes: \[ c \dfrac{10^{2n} - 1}{9} - b \dfrac{10^n - 1}{9} = a^2 \left(\dfrac{10^n - 1}{9}\right)^2. \] Dividing both sides by $\dfrac{10^n - 1}{9} \ne 0$: \[ c(10^n + 1) - b = \dfrac{a^2(10^n - 1)}{9} \implies 9c \cdot 10^n + 9(c - b) = a^2 \cdot 10^n - a^2. \] Rearranging terms: \[ (a^2 - 9c) 10^n = 9(c - b) + a^2. \] For this equation to hold for at least two different values of $n$, both sides must be identically zero: \[ a^2 - 9c = 0 \text{ and } 9(c - b) + a^2 = 0. \] From $a^2 = 9c$, since $a$ is a non-zero digit $1 \leqslant a \leqslant 9$: $9c$ must be a perfect square, so $c$ must be a perfect square digit ($c \in \{1, 4, 9\}$): If $c = 1$: $a^2 = 9 \implies a = 3$. Then $9(1 - b) + 9 = 0 \implies 9(2 - b) = 0 \implies b = 2$. Here $a + b + c = 3 + 2 + 1 = 6$. If $c = 4$: $a^2 = 36 \implies a = 6$. Then $9(4 - b) + 36 = 0 \implies 4 - b = -4 \implies b = 8$. Here $a + b + c = 6 + 8 + 4 = 18$. If $c = 9$: $a^2 = 81 \implies a = 9$. Then $9(9 - b) + 81 = 0 \implies 9 - b = -9 \implies b = 18$, which is not a single digit! The maximum possible value of $a + b + c$ is $18$.

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.