The floor and ceiling functions are used here in way that still adds up to n.