The easier way or the tougher one? Which to choose?
A rectangle, which is not a square, has sides with lengths as integers, measured in centimeters. If its perimeter is n centimeters and its area is n squared centimeters, determine n.
Note: this problem was not created by me. It is from the Brazilian Maths Olympiad (OBM, of the year 2013).