J. Doe
J. Doe

Reputation: 103

Calculate a number of all posible combinations

There are 10 variables that can have 115 possible values. These values can not repeat. How do I calculate the number of all possible combinations?

Upvotes: 0

Views: 442

Answers (1)

Yunnosch
Yunnosch

Reputation: 26703

It is the faculty of 115 divided by the faculty of 115-10.

115! / (115-10)!
115 * 114 * 113 * 112 * 111 * 110 * 109 * 108 * 107 * 106

Because for the first of 10 variables you have a choice of 115 values, for the second one less, i.e. 114 ... and so on.

Upvotes: 1

Related Questions