1

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}

  1. A B C D
  2. A B C E
  3. A B D E
  4. A C D E
  5. 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.

1 Answers1

1

Note that if we choose any $k$ elements of an ordered list of size $n$, there is only one way to arrange these terms such that the order is preserved.

Can you conclude what the answer to your question is from here?

Nic
  • 2,296