3
Part of 2022 OMpD
Problems(2)
Person on the chair n says that the n on their left are liars
Source: 2022 3rd OMpD L3 P3 - Brazil - Olimpíada Matemáticos por Diversão
7/8/2023
Let be a positive integer. In an election debate, we have seats arranged in a circle and these seats are numbered from to , clockwise. In each of these chairs sits a politician, who can be a liar or an honest one. Lying politicians always tell lies, and honest politicians always tell the truth.At one heated moment in the debate, they accused each other of being liars, with the politician in chair saying that the politician immediately to his left is a liar, the politician in chair saying that all the politicians immediately to his left are liars, the politician in the char saying that all the politicians immediately to his left are liars, and so on. Note that the politician in chair accuses all politicians (including himself) of being liars.For what values of is this situation possible to happen?
combinatorics
Removing digits 1 and adding N to the number on the blackboard
Source: 2022 3rd OMpD L2 P3 - Brazil - Olimpíada Matemáticos por Diversão
7/8/2023
Let be a positive integer. Initially, a positive integer is written on the board. At each step, we can perform one of the following two operations with the number written on the board:(i) Add to the number written on the board and replace that number with the sum obtained;(ii) If the number on the board is greater than and has at least one digit , then we can remove the digit from that number, and replace the number initially written with this one (with removal of possible leading zeros)For example, if and , we can do the following sequence of operations:
And if and , we can do the following sequence of operations:
For what values of is it always possible, regardless of the initial value of on the blackboard, to obtain the number on the blackboard, through a finite number of operations?
combinatoricsDigits