I've been familiar with the formula of finding the $r$-permutation of an $n$-element set; but I've only been half-so familiar with deriving the formula. See, I know that to prove the truth of $$ P(n,r) = \frac{n!}{(n-r)!} $$
It is first conventional to show that $$ P(n,r) = n \times (n-1) \times (n-2) \times \cdots \times (n-r+1) $$ and this is exactly where I find myself struggling.
To construct all possible ways of choosing $r$ elements from an $n$ element set, we can reason accordingly: the first element can be chosen in $n$ different ways, the second element can be chosen in $(n-1)$ different ways ... and it is said to me that the $r$th element can be chosen in $n-(r-1)$ different ways. But I do not see why the last one stands. I can admire the pattern in which it makes sense. Since judging by the position of the element, the first element can be represented with $n-(1-1)$ (because it's in the first place), then second with $n-(2-1)$ (because it's in the second place), the third in $n-(3-1)$ (because it's in the third place), and finally the $r$th with $n-(r-1)$ (because it's in the $r$th place); but this pattern hasn't been concretely proven, and hence isn't it only merely a conjecture? Could anyone provide a good impermeable proof of this? Thank you in advance.
There are $r$ consecutive integers in the list $0, 1, \dots, r-1$ and these correspond to the $r$ factors by subtracting each from $n$.
In general, we have to be careful counting the number of integers in a discrete interval to avoid a fencepost error. For instance, for integers $a \leq b$, the number of integers $k$ satisfying $a \leq k \leq b$ is $b - a + 1$, which you is one more than the difference between the endpoints.
This formula yields the expected $r$ when applied to either $0 \leq k \leq r-1$ as I did above or the slightly more complicated expressions $n-r+1 \leq k \leq n$ that arises in the actual factors. It doesn't matter which one you count because they are in bijection with one another.