For the second....let the number of campers = N and the total tents = T so we have
T = ceiling(N/3) + 1
The "ceiling" is defined as .. the least integer that is greater than or equal to (N/3)
Thus, if we had 21 campers ... ceiling(N/3) = ceiling(21/3) = ceiling(7) = 7
However, if we had 22 campers ... ceiling(22/3) = ceiling(7 + 1/3) = 8
The reason for using this is that we need an "extra" tent for any "fractional" campers
