Question 6
Number theory BDMO 2023 Regional · Dhaka
Promi came to a restaurant where she will get ice cream by playing a game. The game is that she will have to pass a number to a device at the counter. If the number is divisible by 7, she will get an ice cream. Then the device gives the quotient back, so she can reuse the quotient as many times as they want. The device stops if 7 does not divide the number she enters. Promi chooses the factorial of the number 2023 (). How many ice creams will she receive?