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ó 677 bài tập Number Theory · Số học · khối Lớp 11 · Trang 2/46 (Question 16–30)

Điểm: 0/15

Có bao nhiêu cặp số nguyên dương $(x, y)$ với $x \leqslant y$ thỏa mãn phương trình: $$\dfrac{1}{x} + \dfrac{1}{y} = \dfrac{1}{6}?$$

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

Đáp án: $5$

Biến đổi: $6(x + y) = xy \iff (x - 6)(y - 6) = 36$. Vì $36$ có $9$ ước nguyên dương ($1, 2, 3, 4, 6, 9, 12, 18, 36$), các cặp $(x - 6, y - 6)$ với $x \leqslant y$ là $(1, 36), (2, 18), (3, 12), (4, 9), (6, 6)$ — gồm đúng $5$ cặp.

Trong hệ đếm cơ số âm $-2$ (negabinary), mỗi vị trí từ phải sang trái có trọng số lần lượt là $(-2)^0 = 1$, $(-2)^1 = -2$, $(-2)^2 = 4$, $(-2)^3 = -8$, $(-2)^4 = 16, \dots$ và chỉ dùng hai chữ số 0 và 1. Chẳng hạn số 110 biểu diễn $1\cdot 4 + 1\cdot(-2) + 0\cdot 1 = 2$. Hãy viết biểu diễn của số $29$ trong hệ cơ số $-2$.

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

Đáp án: $1101101$

Chia liên tiếp cho $-2$ sao cho số dư luôn thuộc $\{0, 1\}$:

  • $29 = (-2)(-14) + 1$ (dư $1$)
  • $-14 = (-2)(7) + 0$ (dư $0$)
  • $7 = (-2)(-3) + 1$ (dư $1$)
  • $-3 = (-2)(2) + 1$ (dư $1$)
  • $2 = (-2)(-1) + 0$ (dư $0$)
  • $-1 = (-2)(1) + 1$ (dư $1$)
  • $1 = (-2)(0) + 1$ (dư $1$)

Đọc ngược các số dư từ dưới lên ta được 1101101. Kiểm tra lại: $64 - 32 + 0 - 8 + 4 + 0 + 1 = 29$.

Question 18

Trung bình · +20 điểm

Đề: AIME 2013 Session I · Question 2 · Lớp 9–12

Find the number of five-digit positive integers, $n$, that satisfy the following conditions: (a) the number $n$ is divisible by $5$, (b) the first and last digits of $n$ are equal, and (c) the sum of the digits of $n$ is divisible by $5$.

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

Đáp án: $200$

If a number satisfies the given conditions, then because its first and last digits are equal, and the number is a multiple of $5$, its first and last digits must be $5$. The sum of the middle three digits must also be a multiple of $5$. If one chooses any two values for the first two of those three digits, there will be two possible choices for the third digit that will make the sum equal to a multiple of $5$. Thus there are $10\cdot 10\cdot 2 = 200$ choices for such a number.

Question 19

Trung bình · +20 điểm

Đề: AIME 2015 Session I · Question 3 · Lớp 9–12

There is a prime number $p$ such that $16p + 1$ is the cube of a positive integer. Find $p$.

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

Đáp án: $307$

Let $16p + 1 = n^3$ for some positive integer $n$. Because $16p + 1$ is odd, both $n$ and $n^2 + n + 1$ are also odd. It follows that \[ 16p = n^3 - 1 = (n - 1)(n^2 + n + 1), \] so $16 = n - 1$ and $p = n^2 + n + 1$. Thus $p = 17^2 + 17 + 1 = 307$, which is prime.

Question 20

Trung bình · +20 điểm

Đề: AIME 2015 Session II · Question 1 · Lớp 9–12

Let $N$ be the least positive integer that is both $22$ percent less than one integer and $16$ percent greater than another integer. Find the remainder when $N$ is divided by $1000$.

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

Đáp án: $131$

Let $a$ and $b$ be integers such that $N = 0.78a = 1.16b$. Then $50N = 39a$ and $25N = 29b$. Therefore $N$ must be a common multiple of $29$ and $39$. Their least common multiple, $29 \cdot 39 = 1131$, satisfies the requirements, with $a = 50 \cdot 29 = 1450$ and $b = 25 \cdot 39 = 975$. The requested remainder is $131$.

Question 21

Trung bình · +20 điểm

Đề: AIME 2015 Session II · Question 3 · Lớp 9–12

Let $m$ be the least positive integer divisible by $17$ whose digits sum to $17$. Find $m$.

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

Đáp án: $476$

Assume that there is such an $m$ less than $1000$, and let $m = 100a+10b+c$ where $a$, $b$, and $c$ are the digits of $m$. According to the required properties, there is an integer $n$ such that $100a + 10b + c = 17n$ and $a + b + c = 17$. Subtracting the second equation from the first gives $99a + 9b = 9(11a + b) = 17(n - 1)$. Thus $n - 1$ is divisible by $9$. If $n - 1 = 9$ or $n - 1 = 18$, then $17n = 170$ or $17n = 323$, respectively, and neither of these has digits that sum to $17$. If $n - 1 = 27$, then $17n = 476$, whose digits indeed sum to $17$. Thus the requested integer is $m = 476$.

Question 22

Trung bình · +20 điểm

Đề: AIME 2017 Session I · Question 2 · Lớp 9–12

When each of 702, 787, and 855 is divided by the positive integer $m$, the remainder is always the positive integer $r$. When each of 412, 722, and 815 is divided by the positive integer $n$, the remainder is always the positive integer $s \neq r$. Find $m + n + r + s$.

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

Đáp án: $62$

If the remainder is the same when each of 702, 787, and 855 is divided by $m$, then $m$ must be a factor of $787 - 702 = 85$ and of $855 - 787 = 68$. The only common factor of 85 and 68 greater than 1 is 17, so $m$ must be 17, and the common remainder is $r = 5$. Similarly, $n$ must be a factor of $722 - 412 = 310$ and of $815 - 722 = 93$. The only common factor of 310 and 93 greater than 1 is 31, so $n$ must be 31, and the common remainder is $s = 9 \neq 5$. The requested sum is $17 + 31 + 5 + 9 = 62$.

Question 23

Trung bình · +20 điểm

Đề: AIME 2017 Session I · Question 3 · Lớp 9–12

For a positive integer $n$, let $d_n$ be the units digit of $1 + 2 + 3 + \dots + n$. Find the remainder when \[ \sum_{n=1}^{2017} d_n \] is divided by 1000.

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

Đáp án: $69$

Any 20 consecutive positive integers have units digits whose sum is \[ \begin{aligned} &0 + 1 + 2 + \dots + 9 + 0 + 1 + 2 + \dots + 9 \\ &= 2(1 + 9) + 2(2 + 8) + 2(3 + 7) + 2(4 + 6) + 2(5) = 90. \end{aligned} \] Therefore $d_{n+20} = d_n$ for all integers $n \geqslant 1$. Thus one only needs to calculate $d_n$ for $1 \leqslant n \leqslant 20$, and \[ (d_1, d_2, \ldots, d_{20}) = (1, 3, 6, 0, 5, 1, 8, 6, 5, 5, 6, 8, 1, 5, 0, 6, 3, 1, 0, 0). \] Therefore \[ \sum_{n=1}^{2017} d_n = 101 \sum_{n=1}^{20} d_n - \sum_{n=18}^{20} d_n = 101 \cdot 70 - 1 = 7069. \] The requested remainder is 69.

Question 24

Trung bình · +20 điểm

Đề: AIME 2018 Session I · Question 1 · Lớp 9–12

Let $S$ be the number of ordered pairs of integers $(a, b)$, with $1 \leqslant a \leqslant 100$ and $b \geqslant 0$, such that the polynomial $x^2 + ax + b$ can be factored into the product of two (not necessarily distinct) linear factors with integer coefficients. Find the remainder when $S$ is divided by $1000$.

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

Đáp án: $600$

The factoring condition is equivalent to the discriminant $a^2 - 4b$ being equal to $c^2$ for some non-negative integer $c$. Because $b \geqslant 0$, the equation $4b = a^2 - c^2 = (a - c)(a + c)$ shows that $c \leqslant a$. Since $(a - c) + (a + c) = 2a$ is even, $a - c$ and $a + c$ have the same parity, which means $a \equiv c \pmod 2$. Thus, for each fixed integer $a$, the possible values of $c$ are non-negative integers $c \leqslant a$ such that $c \equiv a \pmod 2$. If $a$ is even, $c$ can be any even integer from $0$ to $a$, giving $\dfrac{a}{2} + 1$ values. If $a$ is odd, $c$ can be any odd integer from $1$ to $a$, giving $\dfrac{a+1}{2}$ values. Summing over all $1 \leqslant a \leqslant 100$: $$ \begin{aligned} S &= \sum_{k=1}^{50} (k + 1) + \sum_{k=1}^{50} k \\ &= 2 \sum_{k=1}^{50} k + 50 = 2 \times \dfrac{50 \times 51}{2} + 50 = 2550 + 50 = 2600. \end{aligned} $$ The remainder when $S$ is divided by $1000$ is $600$.

Question 25

Trung bình · +20 điểm

Đề: AIME 2018 Session II · Question 2 · Lớp 9–12

Let $a_0 = 2$, $a_1 = 5$, and $a_2 = 8$, and for $n \geqslant 3$ define $a_n$ recursively to be the remainder when $4(a_{n-1} + a_{n-2} + a_{n-3})$ is divided by $11$. Find $a_{2018} \cdot a_{2020} \cdot a_{2022}$.

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

Đáp án: $112$

The recurrence relation is $a_n \equiv 4(a_{n-1} + a_{n-2} + a_{n-3}) \pmod{11}$ with values in $\{0, 1, \dots, 10\}$. We compute the first few terms: $a_0 = 2$ $a_1 = 5$ $a_2 = 8$ $a_3 \equiv 4(8 + 5 + 2) = 4(15) = 60 \equiv 5 \pmod{11}$ $a_4 \equiv 4(5 + 8 + 5) = 4(18) = 72 \equiv 6 \pmod{11}$ $a_5 \equiv 4(6 + 5 + 8) = 4(19) = 76 \equiv 10 \pmod{11}$ $a_6 \equiv 4(10 + 6 + 5) = 4(21) = 84 \equiv 7 \pmod{11}$ $a_7 \equiv 4(7 + 10 + 6) = 4(23) = 92 \equiv 4 \pmod{11}$ $a_8 \equiv 4(4 + 7 + 10) = 4(21) = 84 \equiv 7 \pmod{11}$ $a_9 \equiv 4(7 + 4 + 7) = 4(18) = 72 \equiv 6 \pmod{11}$ $a_{10} \equiv 4(6 + 7 + 4) = 4(17) = 68 \equiv 2 \pmod{11}$ $a_{11} \equiv 4(2 + 6 + 7) = 4(15) = 60 \equiv 5 \pmod{11}$ $a_{12} \equiv 4(5 + 2 + 6) = 4(13) = 52 \equiv 8 \pmod{11}$ Since $(a_{10}, a_{11}, a_{12}) = (2, 5, 8) = (a_0, a_1, a_2)$, the sequence is periodic with period $10$. Now we evaluate the indices modulo $10$: $2018 \equiv 8 \pmod{10} \implies a_{2018} = a_8 = 7$. $2020 \equiv 0 \pmod{10} \implies a_{2020} = a_0 = 2$. $2022 \equiv 2 \pmod{10} \implies a_{2022} = a_2 = 8$. Therefore, the requested product is \[ a_{2018} \cdot a_{2020} \cdot a_{2022} = 7 \times 2 \times 8 = 112. \]

Question 26

Trung bình · +20 điểm

Đề: AIME 2021 Session I · Question 3 · Lớp 9–12

Find the number of positive integers less than $1000$ that can be expressed as the difference of two integral powers of $2$.

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

Đáp án: $50$

We want to find the number of positive integers $N < 1000$ that can be written as: \[ N = 2^x - 2^y, \] where $x$ and $y$ are integers. Since $N > 0$, we must have $x > y$. If $y < 0$, then $2^y$ is not an integer, but $N$ is an integer, so $2^x$ would have to have a fractional part matching $2^y$, which requires $x = y$, contradicting $N > 0$. Thus, $y$ must be a nonnegative integer, which implies $x$ is a positive integer. Furthermore, the representation $N = 2^x - 2^y = 2^y(2^{x - y} - 1)$ is unique because $2^y$ is the highest power of $2$ dividing $N$, and $2^{x - y} - 1$ is the odd part of $N$. Since $N < 1000$, we have $2^{x-1} \leqslant 2^x - 2^y < 1000$, which implies $2^{x-1} < 1000$, so $x - 1 \leqslant 9 \implies x \leqslant 10$: For each $x \in \{1, 2, 3, 4, 5, 6, 7, 8, 9\}$: Since $2^x \leqslant 2^9 = 512 < 1000$, for any $y \in \{0, 1, \dots, x - 1\}$, we have $N = 2^x - 2^y < 1000$. There are $x$ choices of $y$ for each such $x$. The total number of choices for $1 \leqslant x \leqslant 9$ is: \[ 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 = \dfrac{9 \times 10}{2} = 45. \] For $x = 10$: We need $2^{10} - 2^y = 1024 - 2^y < 1000 \iff 2^y > 24$. The valid nonnegative integers $y < 10$ satisfying $2^y > 24$ are $y \in \{5, 6, 7, 8, 9\}$. There are $5$ choices. Therefore, the total number of such positive integers is: \[ 45 + 5 = 50. \]

Question 27

Khó · +30 điểm

Đề: AIME 2012 Session II · Question 7 · Lớp 9–12

Let $S$ be the increasing sequence of positive integers whose binary representation has exactly $8$ ones. Let $N$ be the $1000$th number in $S$. Find the remainder when $N$ is divided by $1000$.

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

Đáp án: $32$

Because $C_{12}^8 = 495$ and $C_{13}^8 = 1287$, the $1000$th integer in $S$ must have $13$ digits. There are $C_{13}^8 = 1287$ integers in $S$ less than $2^{13}$, and exactly $C_{11}^5 = 462$ of these have $13$ digits and begin with $11$. The $1000$th integer in $S$ must be the number in position $462 - (1287 - 1000) = 175$ among the numbers beginning with $11$. Of these, $C_9^3 = 84$ of them begin with $1100$, another $C_8^3 = 56$ of them begin with $11010$, and $C_7^3 = 35$ of them begin with $110110$. It follows that the largest number in $S$ beginning with $110110$ must be in position $84 + 56 + 35 = 175$ among the elements of $S$ that begin with $11$. Thus the $1000$th integer in $S$ is $1101101111000_2$. This number has the value \[ N = 2^{12} + 2^{11} + 2^9 + 2^8 + 2^6 + 2^5 + 2^4 + 2^3 = 7032. \] The requested remainder when $N$ is divided by $1000$ is $32$.

Question 28

Khó · +30 điểm

Đề: AIME 2012 Session II · Question 10 · Lớp 9–12

Find the number of positive integers $n$ less than $1000$ for which there exists a positive real number $x$ such that $n = x \lfloor x \rfloor$. (Note: $\lfloor x \rfloor$ is the greatest integer less than or equal to $x$.)

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

Đáp án: $496$

Let $a$ be a positive integer. Because the distance from the integer $a^2$ to the integer $a(a+1)$ is $a(a+1) - a^2 = a$, there are $a$ positive integers $n$ that satisfy $a^2 \leqslant n < a(a+1)$. For each such $n$ there is a rational number $x = \dfrac{n}{a}$ such that $n = xa = x\lfloor x \rfloor$. The condition $a(a+1) \leqslant 1000$ implies that $a \leqslant 31$. All values of $n$ corresponding to $a = 1, 2, 3, \dots, 31$ satisfy the conditions of the problem, and thus there are $1 + 2 + 3 + \dots + 31 = \dfrac{31(31+1)}{2} = 496$ such values of $n$.

Question 29

Khó · +30 điểm

Đề: AIME 2013 Session I · Question 8 · Lớp 9–12

The domain of the function $f(x) = \arcsin(\log_m(nx))$ is a closed interval of length $\dfrac{1}{2013}$, where $m$ and $n$ are positive integers and $m > 1$. Find the remainder when the smallest possible sum $m + n$ is divided by $1000$.

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

Đáp án: $371$

The domain of $f(x)$ is the solution of the inequality $-1 \leqslant \log_m(nx) \leqslant 1$, or equivalently, $\dfrac{1}{mn} \leqslant x \leqslant \dfrac{m}{n}$. Thus the domain is a closed interval of length $\dfrac{1}{2013} = \dfrac{m}{n} - \dfrac{1}{mn} = \dfrac{m^2 - 1}{mn}$. Hence $n = \dfrac{2013(m^2 - 1)}{m}$. Because $m$ and $m^2 - 1$ are relatively prime, $m$ must be a factor of $2013 = 3 \cdot 11 \cdot 61$. The smallest possible value of $n$ is $\dfrac{2013(3^2 - 1)}{3} = 5368$, and the smallest possible sum $m + n$ is $5368 + 3 = 5371$. The requested remainder is $371$.

Question 30

Khó · +30 điểm

Đề: AIME 2017 Session I · Question 7 · Lớp 9–12

For nonnegative integers $a$ and $b$ with $a + b \leqslant 6$, let $T(a, b) = C_6^a C_6^b C_6^{a+b}$. Let $S$ denote the sum of all $T(a, b)$, where $a$ and $b$ are nonnegative integers with $a + b \leqslant 6$. Find the remainder when $S$ is divided by 1000.

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

Đáp án: $564$

It follows from \[ C_6^{a+b} = C_6^{6 - (a+b)} \] that \[ S = \sum_{a+b \leqslant 6} C_6^a C_6^b C_6^{6 - (a+b)} = \sum_{a+b+c = 6} C_6^a C_6^b C_6^c. \] For given values of $a, b$, and $c$, the term $C_6^a C_6^b C_6^c$ corresponds to the number of choices when selecting $a$ elements from $\{1, 2, 3, 4, 5, 6\}$, $b$ elements from $\{7, 8, 9, 10, 11, 12\}$, and $c$ elements from $\{13, 14, 15, 16, 17, 18\}$. Thus $S$ is equal to the number of 6-element subsets of $\{1, 2, 3, \ldots, 18\}$, namely $C_{18}^6 = 18{,}564$. The requested remainder is 564.

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.