problem
stringlengths
2
5.64k
solution
stringlengths
2
13.5k
answer
stringlengths
2
43
problem_type
stringclasses
8 values
question_type
stringclasses
4 values
problem_is_valid
stringclasses
1 value
solution_is_valid
stringclasses
1 value
source
stringclasses
6 values
synthetic
bool
1 class
It is known that among the members of the government of Lemonia (and there are 20 members in total) there is at least one honest member, and that among any two members, at least one is a bribe-taker. How many bribe-takers are there in the government? #
Note that in the government of Lemonia, there is exactly one honest official. Indeed, according to the condition, there is one honest official; but there cannot be two honest officials—otherwise, none of them would be a bribe-taker, which contradicts the condition. Therefore, there is exactly one honest official in the...
19
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
On the Island of Misfortune, only knights, who always tell the truth, and liars, who always lie, live. In the Island's Council - there are 101 deputies. To reduce the budget, it was decided to reduce the Council by one deputy. But each of the deputies stated that if they were removed from the Council, the majority amo...
Write two inequalities corresponding to the statements of the deputy liar and the deputy knight. ## Solution Let $P$ be the number of knights in the Duma, and $L$ be the number of liars ($P+L=101$). According to the statement of the deputy knight, $P-1<50$. Therefore, $P<51$ (from this, in particular, it follows that...
51
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
Each of the three cutlets needs to be fried on a pan for five minutes on each side. Only two cutlets fit on the pan. Can all three cutlets be fried in less than 20 minutes (neglecting the time for flipping and moving the cutlets)?
It is not necessary to immediately fry a cutlet on the other side once one side is fried. ## Solution In the first 5 minutes, we fry the first two cutlets on one side. Then we flip the first cutlet, remove the second one, and place the third. We fry for another 5 minutes. Now the first cutlet is ready, and the second...
15
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
In the gymnasium, all students know at least one of the ancient languages - Greek or Latin, some know both languages. $85 \%$ of all students know Greek and $75 \%$ know Latin. What fraction of the students know both languages? #
$100-85=15 \%$ of all the guys do not know Greek, that is, they only know Latin. This means that $75-15=$ $60 \%$ speak both languages. ## Answer $60 \%$. ## Problem
60
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
$[$ Mathematical logic (other).] About mushrooms. In the basket, there are 30 mushrooms. Among any 12 of them, there is at least one russula, and among any 20 mushrooms, there is at least one boletus. How many russulas and how many boletuses are in the basket? #
Note: Among any 12 mushrooms, there is at least one russula. ## Solution Since among any 12 mushrooms there is at least one russula, there cannot be more than 11 boletus mushrooms. And since among any 20 mushrooms there is at least one boletus, there cannot be more than 19 russulas. But since there are 30 mushrooms i...
19
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
[ Symmetric Strategy ] Two players play the following game. Each player, in turn, crosses out 9 numbers (of their choice) from the sequence $1,2, \ldots, 100,101$. After eleven such crossings, two numbers will remain. The first player is awarded as many points as the difference between these remaining numbers. Prove t...
The first move is to cross out numbers from the middle. ## Solution The first move is to cross out 9 numbers from 47 to 55. The remaining numbers can be paired as follows: 1 - 56, 2 - 57, ..., 46 - 101. After each move by the second player, the first player can cross out numbers in such a way that in each pair, eithe...
52
Combinatorics
proof
Yes
Yes
olympiads
false
Bogdanov I.I. In some cells of a $10 \times 10$ table, several crosses and several zeros are placed. It is known that there is no line (row or column) completely filled with the same symbols (crosses or zeros). However, if any symbol is placed in any empty cell, this condition will be violated. What is the minimum num...
Let us assume that we have filled the table according to the condition, and cell $A$ is free. Since placing any symbol in it should result in a line of identical symbols, there must be a line containing it where all other cells are filled with crosses, and the same is true for noughts (these lines must, of course, be a...
98
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[Mathematical logic (miscellaneous).] On an island, there live liars and knights, a total of 2001 people. Knights always tell the truth, while liars lie. Each resident of the island stated: "Among the remaining residents of the island, more than half are liars." How many liars are there on the island? #
Take one knight and one liar. From the statements made by them, lower and upper bounds on the number of liars can be derived. ## Solution All the inhabitants of the island cannot be liars, otherwise each of them would be telling the truth. Let's take some knight. From his statement, it follows that the number of liar...
1001
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
Need to find out a five-digit phone number by asking questions that can only be answered with "yes" or "no." What is the minimum number of questions needed to guarantee this (assuming the answers to the questions are correct)? #
We need to ask questions in such a way that each subsequent question approximately halves the number of remaining possible options. ## Solution Initially, when we know nothing about the phone number, there are $10^{5}=100000$ possible options for the phone number. We ask the question: "Is the number greater than 5000...
17
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
There are two hourglasses - one for 7 minutes and one for 11 minutes. An egg needs to boil for 15 minutes. How can you measure this time using the available hourglasses? #
With the help of two different hourglasses, you can measure not only the time equal to their "sum," but also the time equal to their "difference." ## Solution "Start" both hourglasses simultaneously. When the 7-minute hourglass runs out, flip it and let it run for 4 more minutes until the 11-minute hourglass runs out...
15
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
The tower clock strikes three times in 12 s. How long will it take to strike six times? #
What is the interval between two consecutive strikes ## Solution Since 3 strikes of the clock take 12 seconds, the interval between two consecutive strikes is 6 seconds. From the first strike to the second is 6 seconds, and from the second to the third is also 6 seconds. Six strikes, however, occur with 5 intervals. ...
30
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
Bogdanov I.I. On each of 2013 cards, a number is written, and all these 2013 numbers are distinct. The cards are face down. In one move, it is allowed to point to ten cards, and in response, one of the numbers written on them will be reported (it is unknown which one). For what largest $t$ is it guaranteed to be poss...
1) Let's first show that it is impossible to guess $1987=2013-26$ cards. We will number the cards $A_{1}, \ldots, A_{2013}$, place the numbers from 1 to 2013 on them in the same order, and indicate how to answer so that none of the numbers on the cards $A_{1}, \ldots, A_{27}$ can be determined. For each $i=1, \ldots, ...
1986
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Shen A.H. There is an infinite one-way strip of cells, numbered with natural numbers, and a bag with ten stones. Initially, there are no stones in the cells of the strip. The following actions can be performed: - move a stone from the bag to the first cell of the strip or vice versa; - if there is a stone in the cell...
Note that for every action, there is an inverse action. Therefore, if we move from situation \$A\$, acting according to the rules, to situation \$ \mathrm{~B} \$$, then from situation \$ \mathrm{~B} \$$ we can return to situation \$ \mathrm{~A} \$$ by acting according to the rules. We will show by induction that if th...
1023
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
[ Evaluation + example Find the smallest $n$ such that any convex 100-gon can be obtained as the intersection of $n$ triangles. Prove that for smaller $n$ this cannot be done with any convex 100-gon. #
Answer: $n=50$. First, note that 50 triangles are sufficient. Indeed, let $\Delta_{k}$ be the triangle whose sides lie on the rays $A_{\mathrm{k}} A_{\mathrm{k}-1}$ and $A_{\mathrm{k}} A_{\mathrm{k}+1}$ and which contains the convex polygon $A_{1} \ldots A_{100}$. Then this polygon is the intersection of the triangles ...
50
Geometry
proof
Yes
Yes
olympiads
false
$\underline{\text { Kanel-Belov A.Y. }}$ On a sphere, five points are marked, no three of which lie on a great circle (a great circle is a circle formed by the intersection of the sphere and a plane passing through its center). Two great circles, not passing through the marked points, are called equivalent if one can ...
a) Let's move on to dual objects: each circle corresponds to a pair of opposite points on the sphere such that the diameter connecting them is perpendicular to this circle; conversely, each point corresponds to a great circle. Then the problem reduces to a dual one: points are considered equivalent if one can be transl...
290
Geometry
math-word-problem
Yes
Yes
olympiads
false
Karasov $P$. On a line, 100 sets $A_{1}, A_{2}, . ., A_{100}$ are chosen, each of which is the union of 100 pairwise non-intersecting segments. Prove that the intersection of the sets $A_{1}, A_{2}, \ldots, A_{100}$ is the union of no more than 9901 pairwise non-intersecting segments (a point is also considered a segm...
Let sets $A$ and $B$ on a line be unions of $m$ and $n$ segments, respectively. Then $A \cap B$ is a union of no more than $m+n-1$ segments. It is clear that $A \cap B$ is also a union of segments. Let the number of these segments be $k$. The endpoints of the segments in $A \cap B$ are endpoints of segments in $A$ or $...
9901
Combinatorics
proof
Yes
Yes
olympiads
false
A spider web has the form of a grid of $100 \times 100$ nodes (in other words, it is a grid of 99×99 cells). In one of its corners sits a spider, and in some 100 nodes, flies are stuck to the web. In one move, the spider can move to any adjacent node. Can the spider guarantee to eat all the flies, spending no more than...
b) Let's divide the grid into 10 horizontal strips, each with 1000 nodes ($9 \times 99$ cells). Suppose the spider is sitting in the bottom-left corner. Initially, it moves from left to right along the bottom edge of the lower strip until it sees a fly stuck in the same strip above it. Then it crosses the strip vertica...
1980
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Bakayev E.V. In each cell of a strip of length 100, there is a chip. You can swap any two adjacent chips for 1 ruble, and you can also swap any two chips that have exactly three chips between them for free. What is the minimum number of rubles needed to rearrange the chips in reverse order?
Evaluation. Each chip must change the parity of its number. A free operation does not change the parity, while a paid operation changes the parity of two chips. Therefore, at least 50 rubles will be required. Algorithm. Number the chips in order from 0 to 99. Color the cells in four colors: $a b c d a b c d . . . d$. ...
50
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[Classical combinatorics (miscellaneous).] $[$ Inclusion-exclusion principle $]$ From the sequence of natural numbers, all numbers that are squares or cubes of integers have been erased. Which of the remaining numbers is in the hundredth position?
Consider the first hundred natural numbers. Among these numbers, there are ten squares (from 1 to $10^{2}=100$) and four cubes (from 1 to $4^{3}=64$). Note that two of these numbers, namely, 1 and 64, are both squares and cubes. Thus, from the first hundred, we have crossed out 12 numbers. Among the next twelve numbers...
112
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Rebus $]$ Authors: Kumygein A.K., Raskina I.V. The magician taught Kastanka to bark as many times as he showed her secretly from the audience. When Kastanka correctly answered how much two times two is in this way, he hid a delicious cake in a suitcase with a combination lock and said: - The eight-digit code for t...
a) Note that KE and KS replace different numbers, but swapping them does not change the product UCHU. Therefore, for each solution to the puzzle, there is a paired solution where the digits corresponding to E and S are swapped. Thus, it is impossible to uniquely reconstruct the solution the magician intended. b) After...
2021
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
The family approached the bridge at night. Dad can cross it in 1 minute, Mom in 2, the child in 5, and Grandma in 10 minutes. They have one flashlight. The bridge can only hold two people at a time. How can they cross the bridge in 17 minutes? (If two people cross together, they move at the slower of their speeds. Movi...
Here is the sought-after algorithm: dad and mom - 2 min dad back with the flashlight -1 min, baby and grandma - 10 min, mom back with the flashlight -2 min, dad and mom - 2 min. In total 17 minutes
17
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
3 $[\quad$ Evaluation + example $\quad]$ There are 100 boxes, numbered from 1 to 100. One of the boxes contains a prize, and the host knows where it is. The audience can send the host a batch of notes with questions that require a "yes" or "no" answer. The host shuffles the notes in the batch and, without reading the ...
Since the order of the answers to his questions is unknown to the audience, he must make a mistake-free choice, knowing only the number of "no" answers. If $N$ notes are sent, the number of "no" answers heard can take any integer value from 0 to $N$, meaning there are $N+1$ possible outcomes. This number must determine...
99
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
Excellent student Polycarp and poor student Kolya were forming the smallest 5-digit number consisting of different even digits. Polycarp formed his number correctly, while Kolya made a mistake. However, it turned out that the difference between Kolya's number and the correct answer was less than 100. What numbers did P...
Think about what the first two digits of Polycarp's number and the last two digits of Kolya's number should be. ## Solution If we proceed as in the previous problem, Polycarp should have formed the number 02468, but the first digit cannot be zero, so Polycarp formed the number 20468. Let's try to find Kolya's number....
20486
Number Theory
math-word-problem
Yes
Yes
olympiads
false
2In one move, you are allowed to either double the number or erase its last digit. Is it possible to get from the number 458 to the number 14 in several moves? #
Try to multiply the original number by 2 until the first digit of the result becomes 7. ## Solution You can first double the number, then strike out the last digit, or you can do the opposite - strike out the last digit first, then double the number. This has almost no effect on the value of the first digit of the re...
14
Number Theory
math-word-problem
Yes
Yes
olympiads
false
I bought a lottery ticket, the sum of the digits of its five-digit number turned out to be equal to the age of my neighbor. Determine the number of this ticket, given that my neighbor solved this problem without difficulty. #
Notice, there cannot be two unequal digits in the ticket. ## Solution The ticket number is 99999. If there were at least two unequal digits in the ticket, they could be swapped, and the neighbor would not be able to solve the problem for sure. If all digits are equal but less than 9, there is always a possibility to ...
99999
Number Theory
math-word-problem
Yes
Yes
olympiads
false
Folklore In a herd consisting of horses, two-humped and one-humped camels, there are a total of 200 humps. How many animals are in the herd if the number of horses is equal to the number of two-humped camels?
Let each two-humped camel "share" a hump with a horse. Then each animal will have one hump, so the number of humps will be equal to the number of animals in the herd. ## Oтвет 200.
200
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
A person has 10 friends and over several days invites some of them to visit so that the company never repeats (on some days he may not invite anyone). How many days can he do this? #
The first method. For each of the 10 friends, there are two possibilities: to invite them or not. Therefore, the total number of ways to choose a group of friends is $2^{10}$. The second method. The problem is equivalent to finding the number of subsets of a set with 10 elements. As is known, there are $2^{10}$ of the...
1024
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In the school canteen queue, Vika, Sonya, Borya, Denis, and Alla are standing. Vika is in front of Sonya but after Alla; Borya and Alla are not standing next to each other; Denis is not standing next to Alla, Vika, or Borya. In what order are the kids standing? #
Recall problems $71,144,195$. ## Solution For convenience, let's repeat the conditions: 1) Vika stands in front of Sonya but after Alла; 2) Borya and Alла do not stand next to each other; 3) Denis does not stand next to Alла, Vika, or Borya. From condition 1, it follows that the girls stand in the following order: Al...
50
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
$\left[\begin{array}{l}\text { Arithmetic. Mental calculation, etc. } \\ {[\underline{\text { Rebus }}]}\end{array}\right.$ Authors: Galnierein G.A., Grieorenko D.: 2002 is a palindrome year, meaning it reads the same backward as forward. The previous palindrome year was 11 years earlier (1991). What is the maximum n...
Let the current year be a palindrome of the form $\overline{a b b a}$. When will the next such year occur? Consider two cases: a) $b=9$ (year of the form $\overline{a 99 a}, a<9)$. Then, 11 years later, another palindromic year will occur: $\overline{(a+1) 00(a+1)}$. For example, the years 3993 and 4004. b) $b<9$. In...
109
Number Theory
math-word-problem
Yes
Yes
olympiads
false
Shapovalov A.V. Three frogs on a swamp jumped in turn. Each landed exactly in the middle of the segment between the other two. The length of the second frog's jump is 60 cm. Find the length of the third frog's jump.
Regardless of how the frogs were sitting initially, after the first jump they will be on one straight line, with the first (A) in the middle ![](https://cdn.mathpix.com/cropped/2024_05_06_df0545ffb539121f37feg-32.jpg?height=62&width=57&top_left_y=2027&top_left_x=406) A B Now the second frog (B) jumps. It flies a dis...
30
Geometry
math-word-problem
Yes
Yes
olympiads
false
Berdnikov A. Sasha writes a sequence of natural numbers on the board. The first number $N>1$ is written in advance. New natural numbers he gets by subtracting from the last written number or adding to it any of its divisors greater than 1. Can Sasha write the number 2011 on the board at some point for any natural $N>1...
First method. By adding $N$ each time, we get 2011N. By subtracting 2011 each time, we get 2011. Second method. If $N$ is odd, add $N$ and get an even number. By adding or subtracting twos from it, we get 4022. Subtracting 2011, we get 2011. ## Answer For any.
2011
Number Theory
math-word-problem
Yes
Yes
olympiads
false
Author: Tolingo A.K. Geologists took 80 cans of different known weights on an expedition (a list is available). After some time, the labels on the cans became unreadable, and only the supply manager knows what is in each can. He can prove this to everyone (i.e., justify what is in each can) without opening the cans an...
a) For simplicity, let's mentally add one empty can (with a mass of 0). The first weighing is organized by the caretaker as follows: 27 of the heaviest cans are placed on one pan, and 27 of the lightest cans on the other. This results in the greatest possible difference. The other members of the expedition must acknowl...
98
Logic and Puzzles
proof
Yes
Yes
olympiads
false
Given $M$. There is a set of 20 weights, with which any integer weight from 1 to 1997 g can be measured (weights are placed on one pan of the scales, the weight to be measured - on the other). What is the minimum possible weight of the heaviest weight in such a set, if: a) the weights in the set are all integers, b)...
Let's order the weights of the weights (in grams) in ascending order: $p_{0} \leq p_{1} \leq \ldots \leq p_{19}$. Clearly, $p_{0} \leq 1$ (otherwise, it's impossible to weigh a load of 1 g). Similarly, $p_{1} \leq 2$ (to weigh 2 g). Since these two weights are insufficient to weigh 4 g, $p_{2} \leq 4=2^{2}$. Continuing...
146
Number Theory
math-word-problem
Yes
Yes
olympiads
false
There are 2004 boxes on the table, each containing one ball. It is known that some of the balls are white, and their quantity is even. You are allowed to point to any two boxes and ask if there is at least one white ball in them. What is the minimum number of questions needed to guarantee identifying a box containing a...
We will number the boxes (and thus the balls in them) from 1 to 2004 and denote a question by a pair of box numbers. We will call non-white balls black. We will show that a white ball can be found in 2003 questions. We will ask the questions $(1,2),(1,3),(1,2004)$. If all answers are positive, then the first ball is ...
2003
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Two sages are playing the following game. The numbers $0,1,2, \ldots, 1024$ are written down. The first sage crosses out 512 numbers (of his choice), the second crosses out 256 of the remaining, then the first crosses out 128 numbers, and so on. On the tenth step, the second sage crosses out one number; two numbers rem...
Answer: with correct play, the difference between the remaining numbers is 32 (as they say, the "cost of the game" is 32). The following considerations lead to this answer: the first player aims to maximize the difference between the remaining numbers and should always try to "thin out" the remaining set of numbers as ...
32
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Bogosiov I.I. On the reverse sides of 2005 cards, different numbers are written (one on each). In one question, it is allowed to point to any three cards and find out the set of numbers written on them. What is the minimum number of questions needed to find out what numbers are written on each card? #
Let there be $N$ questions asked. It is clear that each card participates in at least one question; otherwise, we would not be able to determine the number on it. Suppose there are $k$ cards that participate in exactly one question. Then, two such cards cannot appear in the same question. Indeed, if two such cards we...
1003
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
![](https://cdn.mathpix.com/cropped/2024_05_06_caf98da37e6d9925b347g-49.jpg?height=40&width=249&top_left_y=732&top_left_x=13) In the city of Udoyev, mayoral elections proceed as follows. If in a given round of voting no candidate receives more than half of the votes, a subsequent round is held with all candidates exce...
a) Ostap could not take the last, 2002nd place in the first round, as otherwise he would have been immediately eliminated from the candidates. Therefore, $k \leq 2001$. Suppose all candidates in the first round received almost the same number of votes, Ostap took the second-to-last place, and in each subsequent round,...
2001
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Kanel-Belov A.Y. Ali-Baba and the bandit are dividing a treasure consisting of 100 gold coins arranged in 10 piles of 10 coins each. Ali-Baba chooses 4 piles, places a cup next to each, and sets aside several coins from each pile (not less than one, but not the entire pile). The bandit must then rearrange the cups, ch...
Let's show that Ali-Baba can achieve that in 7 piles there are no more than 4 coins, while the robber can achieve that there are no piles containing fewer than 4 coins. Therefore, Ali-Baba will take $100 - 7 \cdot 4 = 72$ coins. First, let's prove that the robber can act in such a way that there are no piles containin...
72
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
\left[\begin{array}{l}{\left[\begin{array}{l}\text { Order relation } \\ \text { [ }\end{array}\right]} \\ {[\text { Problems with inequalities. Case analysis }]} \\ {[\text { Examples and counterexamples. Constructions }]} \\ {[\text { Estimation + example }}\end{array}\right] Author: Tokoreve C.i. In a class of 30 ...
Students who perform better than most of their friends are called good. Let $n$ be the number of good students, and $k$ be the number of friends each student has. We will prove that $n \leq 25$. For this, we will consider two cases. 1) $k \geq 8$. Then the five worst students in the class are not good. 2) $k \leq 7$. ...
25
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Head A.C. Dima calculated the factorials of all natural numbers from 80 to 99, found the numbers that are the reciprocals of these factorials, and printed the resulting decimal fractions on 20 infinite tapes (for example, on the last tape, the number $\frac{1}{99!}=0, \underbrace{00 \ldots 00}_{155 \text { zeros }} 10...
$N=155$. Let on ribbons, on which numbers $1 / k!$ and $1 / l!$ ( $k < l$ ) are written, there are pieces of 155 characters that are indistinguishable. Since $1 / 100! < \frac{1}{10^{156}}$, therefore $N<156$. Thus, a piece of 156 characters is always sufficient to determine from which strip it was cut. On the other h...
155
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ Combinations and Permutations ] $[$ Graph Theory (other) ] In the parliament, there are 30 deputies. Any two of them are either friends or enemies, and each one is friends with exactly six others. Any three deputies form a committee. Find the total number of committees in which all three members are pairwise friends...
In how many committees does a deputy serve? In how many committees do the remaining two members - the deputy's friend and enemy - serve? ## Solution Let's denote the deputies as points. We will connect the points with a red segment if the corresponding deputies are friends, and with a blue segment if they are enemies...
1990
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
7,8 In how many ways can the word "строка" be read, moving right or down?: C T P O K A T P O K A P O K A O K A K A A
If moving from the first letter "C", each time two options are provided - to go right or down. It is clear that movement can only start from the first letter "C". With each move, we descend to the next diagonal, and we are faced with a choice - to go right or down. With each of these two options, we again descend to t...
32
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
\begin{aligned} & \text { [Combinations and Permutations]} \\ & {[\text { Rule of Product }]}\end{aligned} Nina has 7 different chocolate candies, and Kolya has 9 different caramels. In how many ways can they exchange five candies with each other?
See the solution to problem 30690. ## Answer $C_{7}^{5} C_{9}^{5}=C_{7}^{2} C_{9}^{4}=2646$ ways. ## Problem
2646
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In how many ways can 12 white and 12 black checkers be placed on the black squares of a chessboard? #
First, we need to choose 12 fields for the white checkers, and then from the remaining 20 fields, choose 12 fields for the black checkers. ## Answer $$ C_{32}^{12} \cdot C_{20}^{12}=\frac{32!}{12!\cdot 12!\cdot 8!} \text { ways. } $$ ![](https://cdn.mathpix.com/cropped/2024_05_06_16504755117b31808ad7g-08.jpg?height=...
900
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
2+ [ Classical combinatorics (other) $] In a bag, there are 70 balls that differ only in color: 20 red, 20 blue, 20 yellow, and the rest are black and white. What is the smallest number of balls that need to be drawn from the bag, without seeing them, to ensure that among them there are at least 10 balls of the same ...
By drawing 37 balls, we risk getting 9 red, blue, and yellow balls each, and there will be no ten balls of one color. If we draw 38 balls, however, the total number of red, blue, and yellow balls among them will be no less than 28, and the number of balls of one of these colors will be no less than ten (since $28>3 \cd...
38
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In a chess club, 2 girls and 7 boys are attending. To participate in a competition, a team of four people needs to be formed, which must include at least one girl. In how many ways can this be done?
The team includes either one girl or two. Let's consider both cases. If the team has two girls, then two boys can be added to them in $\mathrm{C}_{7}^{2}$ ways. If the team includes only one girl (who can be chosen in two ways), then the team can be supplemented with three boys in $\mathrm{C}_{7}^{3}$ different ways. T...
91
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Shapovalov A.V. What is the maximum number of white and black chips that can be placed on a chessboard so that in each row and each column there are exactly twice as many white chips as black ones?
Evaluation. The number of chips on each vertical is a multiple of 3, meaning there are no more than 6, and on the entire board - no more than 48. Example: 32 white chips are placed on white squares, and 16 black chips are placed along the main "black" diagonal and along two parallel diagonals of "length" 4. ## Answer ...
48
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Folklore The vertices and midpoints of the sides of a regular decagon are marked (that is, a total of 20 points are marked). How many triangles exist with vertices at the marked points?
A triangle is uniquely determined by its three vertices. From twenty points, three can be chosen in $C_{20}^{3}=$ 1140 ways. Considering that three points lying on one side of a decagon do not form a triangle, we get: $1140-10=1130$ triangles. ## Answer 1130 triangles.
1130
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In the warehouse, there are 200 boots of sizes 41, 42, and 43, and among these 600 boots, 300 are left and 300 are right. Prove that from them, it is possible to form at least 100 complete pairs of shoes. #
In each size of some boots, there are fewer right or left ones. Let's list these types of boots by size. Some type, for example, left, will repeat at least twice, for example, in sizes 41 and 42. But since the total number of left boots in these sizes is not less than 100 (left boots of size 43 are no more than 200), w...
100
Combinatorics
proof
Yes
Yes
olympiads
false
$\begin{aligned} & \text { [Combinations and Permutations]} \\ & {[\text { Problems with Constraints }]}\end{aligned}$ There are 12 books on a shelf. In how many ways can five books be chosen from them such that no two of them are next to each other?
By putting the remaining books in correspondence with white balls, and the removed ones with black balls, we obtain a particular case of problem $\underline{60403}$. ## Answer $\mathrm{C}_{8}^{5}=56$ ways.
56
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Shapovalov A.V. In the Prostokvashino primary school, there are only 20 children. Any two of them have a common grandfather. Prove that one of the grandfathers has at least 14 grandchildren in this school. #
Consider any schoolchild $A$ and his two grandfathers $X, Y$. If not all schoolchildren are grandchildren of one of them (in which case there is nothing to prove), then there exists a schoolchild $B$ who is not a grandson of $X$ (then he must be a grandson of $Y$), and a schoolchild $C$ who is not a grandson of $Y$ (th...
14
Combinatorics
proof
Yes
Yes
olympiads
false
Rubbanov I.S. A square is divided by lines into 25 smaller square cells. In some cells, one of the diagonals is drawn such that no two diagonals share a common point (even a common endpoint). What is the maximum possible number of drawn diagonals? #
Example with 16 diagonals, see the figure. ![](https://cdn.mathpix.com/cropped/2024_05_06_e8dfada95fe97b3690e8g-10.jpg?height=340&width=332&top_left_y=1691&top_left_x=866) Estimate. Suppose it was possible to draw 17 diagonals. We will present two ways to arrive at a contradiction. First method. Each diagonal has tw...
16
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Berr S.L. 100 people came to a party. Then those who had no acquaintances among the attendees left. Then those who had exactly one acquaintance among the remaining people also left. Then, similarly, those who had exactly 2, 3, 4, ..., 99 acquaintances among the remaining people at the time of their departure, also lef...
It is not difficult to check that if all the guests, except for two people $A$ and $B$, were acquainted with each other, then at the end, everyone except $A$ and $B$ should remain, that is, 98 people. Let's prove that 99 people could not remain. It is clear that person $A$, who initially had the fewest acquaintances (...
98
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
There are 1955 points. What is the maximum number of triples that can be chosen from them so that any two triples have exactly one point in common? #
Let's highlight one of the triples $\{A, B, C\}$. Each of the other triples contains exactly one of the points $A, B, C$. Let's consider two cases. 1) All other triples contain point $A$. Then there are no more than the number of non-intersecting pairs formed from 1954 points, which is no more than 977. This number of...
977
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
$\left[\begin{array}{ll}[\text { Classical combinatorics (other) })]\end{array}\right]$ On a $11 \times 11$ grid, 22 cells are marked such that exactly two cells are marked in each row and each column. Two arrangements of marked cells are equivalent if, by swapping any number of columns among themselves and any number...
Consider a bipartite graph, where the vertices are the rows and columns of the given board, and a row and a column are connected by an edge if and only if the cell at their intersection is marked. Note that permutations of the rows and columns of the original table correspond to renumberings of the vertices in each par...
14
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Karashev $P$. In each cell of a table consisting of 10 columns and $n$ rows, a digit is written. It is known that for any row $A$ and any two columns, there exists a row that differs from $A$ exactly in these two columns. Prove that $n \geq 512$.
Let $R_{0}$ be the first row of the table. Consider any set of an even number of columns and number them from left to right: $C_{1}, \ldots, C_{2 m}$. Then there is a row $R_{1}$ in the table that differs from $R_{0}$ exactly in columns $C_{1}$ and $C_{2}$; further, there is a row $R_{2}$ that differs from $R_{1}$ exac...
512
Combinatorics
proof
Yes
Yes
olympiads
false
On a circle, there are 20 points. These 20 points are connected by 10 chords, none of which share endpoints and do not intersect. How many ways can this be done #
Let $a_{n}$ be the number of ways to connect $2 n$ points on a circle with $n$ non-intersecting chords. It is clear that $a_{1}=1$ and $a_{2}=2$. We will show that $a_{n}=a_{n-1}+a_{n-2} a_{1}+a_{n-3} a_{2}+\ldots+a_{1} a_{n-2}+a_{n-1}$ Fix one of the $2 n$ points. The chord emanating from it divides the circle into ...
16796
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Kanel-Belov A.ya. For each non-negative integer $i$, define the number $M(i)$ as follows: write the number $i$ in binary form; if the number of ones in this representation is even, then $M(i)=0$, and if it is odd - then 1 (the first terms of this sequence: $0,1,1,0,1,0,0,1, \ldots$). a) Consider the finite sequence $...
a) All binary numbers ending in 01 satisfy the condition $M(i)=M(i+1)$. Among four consecutive numbers, exactly one ends in 01, so there are 250 such numbers. In addition, numbers ending in 0111 (there are no fewer than $248: 4=62$) and ending in 011111 (there are no fewer than $60: 4=15$) also fit. In total, $250+62+1...
325
Combinatorics
proof
Yes
Yes
olympiads
false
A sheet of a notebook was colored in 23 colors by cells. A pair of colors is called good if there exist two adjacent cells colored with these colors. What is the minimum number of good pairs?
Evaluation. Let's draw a graph with 23 vertices (colors) and connect the vertices corresponding to good pairs with edges. Consider two arbitrary vertices $A$ and $B$. Take some cell $K$, colored in color $A$, and some cell $L$, colored in color $B$. Construct a "chain" of cells connecting $K$ with $L$. Each pair of ad...
22
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
$\left[\begin{array}{l}\text { Combinations and Permutations } \\ {\left[\begin{array}{l}\text { Partitions into Pairs and Groups; Bijections }]\end{array}\right]}\end{array}\right]$ There are 20 people - 10 boys and 10 girls. How many ways are there to form a company in which there would be an equal number of boys an...
For each such company, associate a set of 10 people, which includes all the girls who joined the company and all the boys who did not join it. ## Solution Let there be some company consisting of $k$ boys and $k$ girls. We will associate it with a set of 10 people, which includes $k$ girls who joined the company and $...
184756
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
The international commission consists of nine people. The commission's materials are stored in a safe. How many locks should the safe have, how many keys for them need to be made, and how should they be distributed among the commission members so that access to the safe is possible only when at least six members of the...
According to the condition, any five people cannot open the safe. This means they do not have the key to a certain lock. At the same time, any other member of the commission must have this key. Therefore, we need to install $C_{9}^{5}=C_{9}^{4}$ locks. Four keys to each lock are given to a certain quartet of commission...
126
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Bogdanov I.I. In the language of the AU tribe, there are two letters - "a" and "u". Some sequences of these letters are words, and each word contains no fewer than one and no more than 13 letters. It is known that if you write down any two words in a row, the resulting sequence of letters will not be a word. Find the ...
If all sequences, the number of letters in which is not less than 7 and not more than 13, are words, then, obviously, the condition of the problem is satisfied; in this case, the number of such words is $2^{7}+\ldots+2^{13}=2^{14}-2^{7}$. It remains to show that this number is the largest possible. The first method. T...
16256
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
$4-$ [Examples and counterexamples. Constructions] One hundred cards were laid out in a row in ascending order: $00,01,02,03, \ldots, 99$. Then the cards were rearranged so that each subsequent card was obtained from the previous one by increasing or decreasing exactly one of the digits by 1 (for example, after 29 ca...
Evaluation. After the rearrangement, the sums of the digits of adjacent numbers differ by one. Therefore, either the parity of the sum of the digits of each ticket number matches the parity of its position, or, conversely, these parities are different for all ticket numbers. Before the rearrangement, the parities match...
50
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
Tokarev S.i. Petya has a total of 28 classmates. Each of the 28 has a different number of friends in this class. How many friends does Petya have?
Petya's classmates can have $0,1,2, \ldots, 28$ friends - a total of 29 options. But if someone is friends with everyone, then everyone has at least one friend. Therefore, either someone is friends with everyone, or someone is not friends with anyone. In both cases, there are 28 options left: $1,2, \ldots, 28$ or $0,1,...
14
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
A.Y. of evnin 2000 people registered on a new website. Each of them invited 1000 people to be their friends. Two people are considered friends if and only if each of them invited the other to be a friend. What is the minimum number of pairs of friends that could have formed?
Evaluation. A total of 2,000,000 invitations were sent, while the number of pairs on the site is $1000 \cdot 1999 = 1999000$. There are 1000 more invitations than pairs, so within at least 1000 pairs, two invitations were sent. Therefore, at least 1000 pairs were formed. Example: Place everyone at the vertices of a re...
1000
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Processes and Operations ] [ Invariants and Semi-invariants ] On a bookshelf, 30 volumes of an encyclopedia are arranged in some order. In one operation, it is allowed to swap any two adjacent volumes. What is the minimum number of operations required to guarantee that all volumes can be arranged in the correct orde...
Let's call a disorder a pair of volumes where the volume with the larger number is to the left of the volume with the smaller number. In one operation, the number of disorders changes by no more than 1. ## Solution Suppose we have some arrangement of volumes on a shelf. Consider all possible pairs of volumes (there a...
435
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In a football team (11 people), a captain and his deputy need to be selected. How many ways can this be done #
The captain can be any of the 11 football players. After choosing the captain, the role of his deputy can be claimed by any of the 10 remaining players. Thus, there are $11 \cdot 10=110$ different variants. ## Answer 110 ways. At the dance floor, $N$ young men and $N$ young women have gathered. In how many ways can ...
110
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
## [ Combinations and Permutations $]$ [Tournaments and tournament tables] The Russian Chess Championship is played in a single round-robin format. How many games are played if 18 chess players participate? #
The first method. Each participant must play 17 games, with two players in each game. Therefore, the total number of games is $18 \cdot 17: 2=153$. The second method. In each game, one point is awarded. Suppose all games end in a draw. Then each participant will score $17: 2=8.5$ points. And the total number of points...
153
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Combinations and Permutations ] a) From a class of 30 students, two students need to be selected to participate in a mathematics olympiad. In how many ways can this be done? b) In how many ways can a team of three students be selected from the same class?
a) The first student can be chosen in 30 ways, the second, independently of the choice of the first student, in 29 ways. In this case, each pair is counted twice. Therefore, the total number of ways is $30 \cdot 29: 2$. b) Similarly, we get $30 \cdot 29 \cdot 28$ variants for the sequential selection of three students...
4060
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Combinations and Permutations ] In how many ways can 4 paints be chosen from 7 different ones? #
Reasoning analogously to problem $\underline{30687}$, we get that the number of these ways ( $C_{7}^{4}$ ) is $\frac{7 \cdot 6 \cdot 5 \cdot 4}{4!}$. ## Answer 35 ways.
35
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Rule of product ] a) In Wonderland, there are three cities $A, B$, and $C$. There are 6 roads from city $A$ to city $B$, and 4 roads from city $B$ to city $C$. How many ways are there to travel from $A$ to $C$? b) In Wonderland, they built another city $D$ and several new roads - two from $A$ to $D$ and two from $...
б) $K 6 \cdot 4=24$ old methods were added with $2 \cdot 2=4$ new ones. ## Answer a) 24; b) 28 ways.
28
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In an ordinary set of dominoes, there are 28 tiles. How many tiles would a set of dominoes contain if the values indicated on the tiles ranged not from 0 to 6, but from 0 to 12? #
Try to understand why a standard set of dominoes has exactly 28 tiles. ## Solution In such a set, there would be 13 "doubles." The number of other tiles is equal to the number of pairs from 13 numbers, which is $13 \cdot 12: 2$ = 78. ## Answer 91 tiles.
91
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
2 [Rectangles and Squares. Properties and Characteristics] Auto: Dorricheno $C$. Which are more numerous: rectangles with integer sides and a perimeter of 1996, or rectangles with integer sides and a perimeter of 1998? (Rectangles $a \times b$ and $b \times a$ are considered the same.)
If the perimeter of a rectangle is 1996, then the sum of the lengths of its adjacent sides is 998. ## Solution If the perimeter of a rectangle is 1996, then the sum of the lengths of its adjacent sides is 998. This means the length of the shorter side can take values from 1 to 499. If the perimeter of the rectangle i...
499
Number Theory
math-word-problem
Yes
Yes
olympiads
false
Semenova $M$. On a globe, 17 parallels and 24 meridians are drawn. Into how many parts is the surface of the globe divided?
Solve the problem for two meridians and one parallel. ## Solution Meridians divide the globe into 24 parts (slices), and parallels divide each slice into $17+1=18$ parts. In total, $18 \cdot 24=432$ parts. ## Answer Into 432 parts. ## Problem
432
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
How many integers exist from 0 to 999999, in the decimal representation of which there are no two adjacent identical digits? #
The number of $n$-digit numbers with such a property is $9^{n}$: the first place can be any of 9 digits (all except 0), the second place can also be any of 9 digits (all except the first one), and so on. ## Answer $10+9^{2}+9^{3}+9^{4}+9^{5}+9^{6}=\frac{9^{7}-1}{8}=597871$ numbers.
597871
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Classical combinatorics (other).] Given a six-digit phone number. From how many seven-digit numbers can it be obtained by erasing one digit #
How many ways are there to insert one more digit into a phone number? ## Solution Let $A B C D E F$ be a six-digit phone number. Let's count how many seven-digit numbers can be obtained from it by adding one digit. Before the number, you can prepend any of the 10 digits, but the number obtained by prepending the digi...
64
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
8,9,10 | How many six-digit numbers exist where each subsequent digit is less than the previous one?
The first method. Each such number corresponds uniquely to the selection of six digits from the number 9876543210. The second method. To obtain a number with "decreasing digits," you need to strike out any four digits from the number 9876543210. ## Answer $$ C_{10}^{6}=C_{10}^{4}=210 \text { numbers. } $$ Problem
210
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Pascal's Triangle and the Binomial Theorem ] Why do the equalities $11^{2}=121$ and $11^{3}=1331$ resemble rows of Pascal's Triangle? What is $11^{4}$?
$11^{2}=(10+1)^{2}=100+2 \cdot 10+1, 11^{3}=(10+1)^{3}=1000+3 \cdot 100+3 \cdot 10+1$. $11^{4}=C_{4}^{0} \cdot 10^{4}+C_{4}^{1} \cdot 10^{3}+C_{4}^{2} \cdot 10^{2}+C_{4}^{3} \cdot 10+C_{4}^{4}=14641$. ## Answer $11^{4}=14641$.
14641
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ Rule of product] There are four weights and a two-pan balance without a pointer. How many different weights can be accurately weighed with these weights if a) the weights can only be placed on one pan of the balance; b) the weights can be placed on both pans of the balance #
б) We can distribute the weights into 3 piles in $3^{4}=81$ ways (see problem $\underline{60348}$). We will set aside the first pile, and place the other two on the scales (the case where both of these piles are empty should be discarded). Since it does not matter which pans these piles end up on, 80 should be divided ...
40
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Classical combinatorics (other) $]$ In the cabinet of Anchuria, there are 100 ministers. Among them, there are both corrupt and honest ministers. It is known that among any ten ministers, at least one minister is a corrupt one. What is the smallest number of corrupt ministers that can be in the cabinet? #
There cannot be more than nine honest ministers: ten honest ministers would contradict the condition. On the other hand, the presence of exactly nine honest ministers does not contradict the condition. ## Answer 91.
91
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ [ product rule ] In the USA, the date is typically written as the month number, followed by the day number, and then the year. In Europe, however, the day comes first, followed by the month and the year. How many days in a year cannot be read unambiguously without knowing which format it is written in #
Obviously, these are the days whose number can be the number of the month, that is, takes a value from 1 to 12. Such days are $12 \cdot 12=144$. But the days, for which the number coincides with the month number, are understood unambiguously. Therefore, the number of days sought is $144-12=132$.
132
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
There were seven boxes. In some of them, seven more boxes (not nested inside each other) were placed, and so on. In the end, there were 10 non-empty boxes. How many boxes are there in total?
At each operation, one empty box is filled. Since there are now 10 non-empty boxes, 10 operations have been performed. With each operation, seven boxes were added. Therefore, in the end, there are $7+10 \cdot 7=77$ boxes.
77
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
$3-$ The city plan has a layout represented by a $5 \times 10$ rectangular grid. One-way traffic is in effect on the streets: travel is only allowed to the right and upwards. How many different routes are there from the bottom-left corner to the top-right corner?
Each route can be associated with a string of 15 letters "P" and "V" ("P" means moving one cell to the right, "V" - one cell up). ## Solution Each route can be associated with a string of 15 letters "P" and "V" (see hint), with exactly 5 "P" letters and 10 "V" letters. Conversely, each such string of letters can uniq...
3003
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
4+ Classical combinatorics (other). A natural number $b$ is called lucky if for any natural number $a$, such that $a^{5}$ is divisible by $b^{2}$, the number $a^{2}$ is divisible by $b$. Find the number of lucky natural numbers less than 2010.
Lemma. A number $b$ is lucky if and only if each prime number enters the prime factorization of $b$ with one of the following exponents: $0,1,2,3,4,6,8$. Proof. Let's call a non-negative integer $k$ happy if there does not exist an integer $m$ such that $2 m < k < 2 m + 2$. If $k > 4$, then choose the largest number $...
1961
Number Theory
math-word-problem
Yes
Yes
olympiads
false
Degree of a vertex Descent method Authors: Karpov D.V., Karasev R. In the country $N 1998$ there are 1998 cities, and from each city, there are non-stop flights to three other cities (all flights are two-way). It is known that from any city, with several transfers, one can fly to any other city. The Ministry of Secu...
Consider a graph where the vertices are cities and the edges are air routes. This will result in a connected graph where the degrees of the vertices are 3. Suppose that in this graph there are two intersecting (by vertex) cycles (see figure). Consider the vertex $O$, where they branch out. This vertex, obviously, has ...
200
Combinatorics
proof
Yes
Yes
olympiads
false
Evdokimov M.A. Polina has a deck of 36 cards (4 suits with 9 cards each). She chooses half of the cards she wants and gives them to Vasilisa, and keeps the other half for herself. Each turn, the players take turns opening one card of their choice (the opponent sees the suit and rank of the opened card), starting with ...
If Polina takes all the hearts, all the aces, all the kings, and all the queens, then Vasilisa will not be able to score points on the ace, king, and queen of hearts, i.e., she will score no more than 15 points. Now let's prove that for any choice of Polina, Vasilisa can earn at least 15 points. Lay out the cards in t...
15
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
How many pairs of integers $x, y$, between 1 and 1000, exist such that $x^{2}+y^{2}$ is divisible by 7.
The number $x^{2}+y^{2}$ is divisible by 7 if and only if both numbers $x$ and $y$ are multiples of 7 (see problem 108745). The number of integers between 1 and 1000 that are multiples of 7 is 142 (since $1000=142 \cdot 7+6$). Therefore, the desired number is $142^{2}$. ## Answer $142^{2}=20164$ pairs.
20164
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ [Decimal numeral system ] [ Problems with constraints ] Find the number of five-digit numbers in decimal notation that contain at least one digit 8.
Find the number of all five-digit numbers and five-digit numbers that do not contain the digit 8. ## Solution There are a total of 90000 five-digit numbers (see the solution to problem 60336). Let's find the number of five-digit numbers that do not contain the digit 8. The first digit of such a number cannot be 0 or ...
37512
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Gapochnik A.I. How many integers from 1 to 1997 have a sum of digits that is divisible by 5?
Consider 10 consecutive numbers, starting from a number ending in zero and ending with a number ending in nine. The sums of the digits of these numbers also form 10 consecutive numbers, so among them, exactly two numbers are divisible by 5. The numbers from 0 to 1999 are divided into 200 such tens, therefore, among the...
399
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ Divisibility of numbers. General properties ] $[$ Classical combinatorics (other) $]$ How many natural numbers less than a thousand are not divisible by either 5 or 7?
First, we will strike out from the set of numbers $1,2, \ldots, 999$ the numbers that are multiples of 5; their quantity is $[999 / 5]=199$. Then, from the same set of numbers $1,2, \ldots, 999$, we will strike out the numbers that are multiples of 7; their quantity is $[999 / 7]=142$. In this process, numbers that are...
686
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ Layouts and partitions ] [ Product rule $\quad]$ How many four-digit numbers (from 0001 to 9999) exist such that the sum of the first two digits equals the sum of the last two digits #
Let the sum of the first two digits be $n$, and the sum of the last two digits also be $n$. The value of $n$ ranges from 1 to 18. If the number of two-digit numbers whose digits sum to $n$ is $a_{n}$, then the desired number is $a_{1}^{2}+a_{2}^{2}+\ldots+a_{18}^{2}$. A two-digit number whose digits sum to $n$ consists...
669
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Fomin S.B. Among ten-digit numbers, which are there more of: those that can be represented as the product of two five-digit numbers, or those that cannot be represented this way #
The number of ten-digit numbers that can be represented as the product of two five-digit numbers is no more than the number of all pairs of five-digit numbers (including pairs of identical numbers). (In fact, there are significantly fewer: firstly, not all products of two five-digit numbers will be ten-digit numbers, a...
110
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ $[\quad$ Rule of product $\quad]$ a) Leshа climbs a ladder with 10 steps. In one jump, he can either go up one step or two steps. In how many ways can Leshа climb the ladder? b) When descending the same ladder, Leshа skips some steps (he can even skip all 10). In how many ways can he descend the ladder? #
a) Let $a_{n}$ denote the number of ways to climb a staircase of $n$ steps, adhering to the conditions of the problem. Obviously, $a_{1}=1, a_{2}=2$. Suppose Petya jumps onto a staircase of $n>2$ steps. If the first jump is to two steps, then he has $n-2$ steps left to jump, and the number of ways to complete the asc...
512
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Shaovalov A.v. Let's call a ticket with a number from 000000 to 999999 excellent if the difference between some two adjacent digits of its number is 5. Find the number of excellent tickets.
Let's calculate the number of non-distinct tickets. As the first digit, we can choose any of the 10 digits. Digits that differ by 5 form pairs: 0-5, 1-6, 2-7, 3-8, 4-9, so when the first digit is chosen, for the second digit in a non-distinct ticket, we can choose any of the 9 digits (excluding the one that pairs with ...
409510
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
[ Counting in two ways ] $\left[\begin{array}{ll}\text { Trees }\end{array}\right]$ A travel agency ran a promotion: "Buy a trip to Egypt, bring four friends who also buy a trip, and get the cost of your trip back." During the promotion, 13 buyers came on their own, and the rest were brought by friends. Some of them b...
Each of the $x$ "lucky ones" brought 4 friends. Therefore, the number of "brought" customers is $4x$, and 13 more came on their own, so the total number of tourists was $13 + 4x$. On the other hand, $x$ people brought new customers, while 100 did not, meaning the total number of tourists was $x + 100$. Thus, $13 + 4x =...
29
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
Calculate the coefficient of $x^{100}$ in the polynomial $\left(1+x+x^{2}+\ldots+x^{100}\right)^{3}$ after combining all like terms. #
The coefficient of $x^{100}$ is equal to the number of solutions of the equation $p+q+r=100$ in non-negative integers. ## Solution Multiplying the polynomial $1+x+x^{2}+\ldots+x^{100}$ by itself twice, we get the sum of monomials of the form $x^{p} x^{q} x^{r}$, where $p$, $q, r$ independently take values from 0 to 1...
5151
Combinatorics
math-word-problem
Yes
Yes
olympiads
false
In the old manor, the house is surrounded in a circle by tall trees - pines, spruces, and birches. There are a total of 96 trees. These trees have a strange property: of the two trees growing one apart from any coniferous tree - one is coniferous, and the other is deciduous, and of the two trees growing three apart fro...
Let's mentally remove half of the trees - those planted every other one. Then 48 trees will remain, and the condition will be as follows: of the two trees growing next to a coniferous one, one is coniferous and the other is a birch, and of the two trees growing one apart from the coniferous one, one is coniferous and t...
32
Logic and Puzzles
math-word-problem
Yes
Yes
olympiads
false
Find such a three-digit number that, when doubled, we get the number expressing the number of digits required to write all consecutive integers from one to this sought three-digit number (inclusive). #
Let $x$ be the desired number. There are 9 single-digit numbers, 90 two-digit numbers, and the number of three-digit numbers up to $x$ inclusive is $x-99$. The number of digits required to write all consecutive numbers from 1 to $x$ is $9 + 2 \cdot 90 + 3 \cdot (x - 99) = 3x - 108$. We obtain the equation $2x = 3x - 10...
108
Number Theory
math-word-problem
Yes
Yes
olympiads
false
Prozvolov V.V. Given fifty different natural numbers, twenty-five of which do not exceed 50, and the rest are greater than 50 but do not exceed 100. Moreover, no two of them differ exactly by 50. Find the sum of these numbers.
Subtract 50 from each number that is greater than 50. We will get 50 different numbers, that is, numbers from 1 to 50. Their sum is $1+2+\ldots+50=25 \cdot 51$, and the sum of the original numbers is $-25 \cdot 51+25 \cdot 50=25 \cdot 101$. ## Answer 2525.
2525
Number Theory
math-word-problem
Yes
Yes
olympiads
false
[ Classical combinatorics (miscellaneous).] $[$ Inclusion-exclusion principle $]$ From the sequence of natural numbers, all numbers that are squares or cubes of integers have been erased. Which of the remaining numbers is in the hundredth place?
Let's consider the first hundred natural numbers. Among these numbers, there are ten squares (from 1 to $10^{2}=100$) and four cubes (from 1 to $4^{3}=64$). Note that two of these numbers, namely, 1 and 64, are both squares and cubes. Thus, from the first hundred, we have crossed out 12 numbers. Among the next twelve n...
112
Combinatorics
math-word-problem
Yes
Yes
olympiads
false