Combinatorics?
Source: Mexico National Olympiad 2015 Problem 4
November 25, 2015
number theorycombinatorics
Problem Statement
Let be a positive integer. Mary writes the triples of not necessarily distinct integers, each between and inclusive on a board. Afterwards, she finds the greatest (possibly more than one), and erases the rest. For example, in the triple she erases the numbers 1 and 3, and in the triple she erases only the number 1,Show after finishing this process, the amount of remaining numbers on the board cannot be a perfect square.