There is a discussion in my book that, despite my best efforts, I was unable to understand. The problem asks:
Let $n$ and $d$ be positive integers. How many positive integers not exceeding $n$ are divisible by $d$?
I understood everything except the part where the floor function is applied. I know that if an integer is divisble by $d$, then it is of the form $dk$ for some integer $k$ by definition of divisibility. I also understand that because $n$ and $d$ are positive integers, $k$ must be a positive integer, so $dk > 0$. "Not exceeding $n$" translates to $\leq n$.
But what is the logic behind the floor function? I know what it does: it returns the greatest integer less than or equal to the input. But how does using it allow us to determine how many such positive integers fit the given criteria?
Please try to keep your answer as simple as possible. I know most of you guys are professional mathematicians and/or experts, but I'm easily confused :)
