Combinatorial calculator n=38C2, k= result
Find out how many different ways you can choose k items from a set of n items. With/without repetition, with/without order.Calculation:
The number of elements (n) must not be less than the number of selected elements (k). If n < k, the calculation proceeds with the values of n and k swapped.
Ck(n)=(kn)=k!(n−k)!n! n=38 k=4 C4(38)=(438)=4!(38−4)!38!=4⋅3⋅2⋅138⋅37⋅36⋅35=73815
The number of combinations: 73815
A bit of theory - the foundation of combinatorics
Variations
A variation of the k-th class of n elements is an ordered k-element group formed from a set of n elements. The elements are not repeated, and the order of the group's elements matters.The number of variations can be easily calculated using the combinatorial rule of product. For example, if we have a set of n = 5 numbers {1, 2, 3, 4, 5} and we need to make third-class variations, then V(3,5) = 5 × 4 × 3 = 60.
Vk(n)=n(n−1)(n−2)...(n−k+1)=(n−k)!n!
n! is called the factorial of n, which is the product of the first n natural numbers. The factorial notation is clearer and equivalent. For calculations, it is sufficient to use the procedure derived from the combinatorial rule of product.
Permutations
A permutation is an ordered arrangement of all n elements of a set, where each element is used exactly once, the order matters, and no repetition is allowed.P(n)=n(n−1)(n−2)...1=n!
Example: We have 4 books. In how many ways can we arrange them side by side on a shelf?
Variations with repetition
A variation with repetition of the k-th class of n elements is an ordered k-element group formed from a set of n elements, where elements can be repeated and order matters. A typical example is forming numbers from the digits 2, 3, 4, 5 and counting how many such numbers exist. We calculate the count using the combinatorial rule of product:Vk′(n)=n⋅n⋅n⋅n...n=nk
Permutations with repetition
A permutation with repetition is an ordered arrangement of n elements where some elements appear more than once. The repetition of elements reduces the total number of distinct permutations.Pk1k2k3...km′(n)=k1!k2!k3!...km!n!
A typical example: find how many distinct seven-digit numbers can be formed from the digits 2, 2, 2, 6, 6, 6, 6.
Combinations
A combination of the k-th class of n elements is an unordered k-element group formed from a set of n elements. The elements are not repeated and the order does not matter. In mathematics, such unordered groups are called sets and subsets. The count is called a combination number and is calculated as follows:Ck(n)=(kn)=k!(n−k)!n!
A typical example: we have 15 students and need to choose 3. How many ways can this be done?
Combinations with repetition
Here we select k-element groups from n elements, regardless of order, where elements can be repeated. k is generally greater than n (otherwise we would obtain ordinary combinations). The count is:Ck′(n)=(kn+k−1)=k!(n−1)!(n+k−1)!
Explanation of the formula: the number of combinations with repetition equals the number of ways to place n − 1 separators among n − 1 + k positions. A typical example: we go to a store to buy 6 chocolates. There are only 3 types available. How many different selections can we make? k = 6, n = 3.
Foundation of combinatorics in word problems
- Lottery
The lottery is 47000 elk, in which 4800 wins. What is the probability that the purchase of 6 elks won nothing? - Morse alphabet
Calculate how many words of Morse code to create compiling dashes and dots in the words of one to piatich characters. - Shooter
The probability that a skilled shooter hits the centre of target zone I is 0.13. The probability of hitting inner circle II is 0.58. What is the probability that the shooter hits zone I or zone II? - Calculation of CN
Calculate: (486 choose 159) - (486 choose 327) - Cars plates
How many different license plates can a country have since they use 3 letters followed by 2 digits?
more math problems »
