I am trying to understand how to calculate the number of possible n-length lists from an ordered set of length k where the resultant n-length lists order must match the original ordered set.
Example: Find all length 4 lists in {A, B, C, D, E}
- A B C D
- A B C E
- A B D E
- A C D E
- B C D E
5 total options.
Note that no options start with C as there is not enough ordered elements in the set remaining to populate a length 4 list.