Skip to main content

কীভাবে Combinations Permutations গণনা করবেন

Combinations Permutations কি?

Combinations count ways to choose items where order does not matter. Permutations count ways where order does matter. Both use factorials and appear in probability, statistics, and combinatorics.

ধাপে ধাপে নির্দেশিকা

  1. 1Permutations (order matters): P(n,r) = n! / (n−r)!
  2. 2Combinations (order irrelevant): C(n,r) = n! / (r!(n−r)!)
  3. 3Rule of thumb: if you can swap two items and get a different result, use permutations

সমাধান করা উদাহরণ

ইনপুট
Choose 3 from 10 (order matters)
ফলাফল
720
P(10,3) = 10×9×8 = 720
ইনপুট
Choose 3 from 10 (order irrelevant)
ফলাফল
120
C(10,3) = 720/6 = 120
ইনপুট
Lotto: 6 from 49
ফলাফল
13,983,816
C(49,6)

সেটিংস