Järjestysmuotoja
Järjestysmuotoja, often translated as permutations in English, refers to the different ways a set of distinct objects can be arranged in a specific order. The concept is fundamental in combinatorics and probability theory. For a set of n distinct objects, the total number of possible ordered arrangements, or permutations, is calculated as n factorial, denoted by n!. Factorial n (n!) is the product of all positive integers up to n, i.e., n! = n × (n-1) × (n-2) × ... × 2 × 1. For example, if we have a set of three distinct objects {A, B, C}, the possible järjestysmuotoja are ABC, ACB, BAC, BCA, CAB, and CBA. The total number of these arrangements is 3! = 3 × 2 × 1 = 6.
In cases where we select a subset of k objects from a larger set of n objects