MK-MO 2023 Problem 3
In a city of gnomes there are identical towers, each of which has stories, with exactly one gnome living on each story. Every gnome in the city wears a hat colored in one of possible colors and any two gnomes in the same tower have different hats. A pair of gnomes are friends if they wear hats of the same color, one of them lives in the -th story of his tower and the other one in the -st story of his tower. Determine the maximal possible number of pairs of gnomes which are friends.
Authored by Nikola Velov
Dataset text AI-MO AoPS. Quoted with source.
Solutions
No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.
Similar problems
These problems have the most words in common with this statement.