Current location - Training Enrollment Network - Mathematics courses - N people form a circle. On the count of three, one person will come out. What is the code of the last person? How to write in mathematics?
N people form a circle. On the count of three, one person will come out. What is the code of the last person? How to write in mathematics?
It is discussed in three situations. If n people are multiples of 3, the last person's number is n/3, if n%3= 1, the last person's number is (n- 1)/3, if n%3=2, the last person's number is (n-2)/3. Note:% is the symbol of remainder, which is the same as the usage of remainder in primary school mathematical division. Example 3 ÷ 2 = 1... 1.