Subcontests
(6)NT Functional with factorial and exponent
Let N={1,2,3,…} be the set of positive integers. Find all functions f:N→N, such that for all positive integers n and prime numbers p:
p∣f(n)f(p−1)!+nf(p).Proposed by Dorlir Ahmeti Classrooms with rare capacities
Let n be an integer greater than 1. A certain school has 1+2+⋯+n students and n classrooms, with capacities for 1,2,…,n people, respectively. The kids play a game in k rounds as follows: in each round, when the bell rings, the students distribute themselves among the classrooms in such a way that they don't exceed the room capacities, and if two students shared a classroom in a previous round, they cannot do it anymore in the current round. For each n, determine the greatest possible value of k.Proposed by Victor Domínguez