There are 18 sweets in one piles, and 23 in another. Two play a game: in one go one can eat one pile of sweets, and the other can be divided into two piles. The loser is one who cannot make a move, i.e. before this player’s turn there are two piles of sweets with one sweet in each. Who wins with a regular game?
In a communication system consisting of 2001 subscribers, each subscriber is connected with exactly \(n\) others. Determine all the possible values of \(n\).
There are two purses and one coin. Inside the first purse is one coin, and inside the second purse is one coin. How can this be?
A raisin bag contains 2001 raisins with a total weight of 1001 g, and no raisin weighs more than 1.002 g.
Prove that all the raisins can be divided onto two scales so that they show a difference in weight not exceeding 1 g.
The following text is obtained by encoding the original message using Caesar Cipher.
WKHVLAWKROBPSLDGRIFUBSWRJUDSKBGHGLFDWHGWKHWRILIWLHWKBHDURIWKHEULWLVKVHFUHWVHUYLFH.
The following text is also obtained from the same original text:
KYVJZOKYFCPDGZRUFWTIPGKFXIRGYPUVUZTRKVUKYVKFWZWKZVKYPVRIFWKYVSIZKZJYJVTIVKJVIMZTV.
A cryptogram is given:
Restore the numerical values of the letters under which all of the equalities are valid, if different letters correspond to different digits. Arrange the letters in order of increasing numerical value and to find the required string of letters.
The key of the cipher, called the “lattice”, is a rectangular stencil of size 6 by 10 cells. In the stencil, 15 cells are cut out so that when applied to a rectangular sheet of paper of size 6 by 10, its cut-outs completely cover the entire area of the sheet in four possible ways. The letters of the string (without spaces) are successively entered into the cut-outs of the stencil (in rows, in each line from left to right) at each of its four possible positions. Find the original string of letters if, after encryption, the following text appeared in the sheet of paper
There are 20 students in a class, and each one is friends with at least 14 others. Can you prove that there are four students in this class who are all friends?
Each of the three axes has one rotating pin and a fixed arrow. The gears are connected in series. On the first gear there are 33 teeth, on the second – 10, on the third – 7. On each tooth of the first gear one symbol or letter of the following string of letters and symbols is written in the clockwise direction in the following order:
A B V C D E F G H I J K L M N O P Q R S T U W X Y Z ! ? \(>\) \(<\) $ £ €
On the teeth of the second and third gears in increasing order the numbers 0 to 9 and 0 to 6 are written respectively in a clockwise direction. When the arrow of the first axis points to a letter, the arrows of the other two axes point to numbers.
The letters and symbols of the message are encrypted in sequence. Encryption is performed by rotating the first gear anti-clockwise until the first possible letter or symbol that can be encrypted is landed on by the arrow. At this point, the numbers indicated by the second and third arrows are consistently written out. At the beginning of the encryption, the 1st wheel points to the letter A, and the arrows of the 2nd and 3rd wheels to the number 0.
Encrypt the Slavic name OLIMPIADA.
A message is encrypted using numbers where each number corresponds to a different letter of the alphabet. Decipher the following encoded text:
1317247191772413816720713813920257178