Henry Ernest Dudeney/Puzzles and Curious Problems/155 - The Orchard Problem

by : $155$

 * The Orchard Problem
 * A market gardener was planting a new orchard.
 * The young trees were arranged in rows so as to form a square,
 * and it was found that there were $146$ trees unplanted.
 * To enlarge the square by an extra row each way he had to buy $31$ additional trees.


 * How many trees were there in the orchard when it was finished?