Least number of crates: 16
To calculate the greatest number of crates needed, we need to calculate the total number of apples from the 16 trees.
Total number of apples = 16 x 13 = 208
Therefore, the greatest number of crates needed to contain all the apples from the 16 trees is 21.