A store normally sells windows at $$100$ each. This week the store is offering one free window for each purchase of four. Dave needs seven windows and Doug needs eight windows. How much will they save if they purchase the windows together rather than separately?
For $n$ windows, the store offers a discount of $100 \cdot \left\lfloor\frac{n}{5}\right\rfloor$ (floor function). Dave receives a discount of $100 \cdot \left\lfloor \frac{7}{5}\right \rfloor = 100$ and Doug receives a discount of $100 \cdot \left\lfloor \frac{8}{5}\right\rfloor = 100$. These amount to $200$ dollars in discounts. Together, they receive a discount of $100 \cdot \left\lfloor \frac{15}{5} \right\rfloor = 300$, so they save $300-200=100\ $. $\fbox{100}$.