Professional Documents
Culture Documents
=RandomLowerUpper(L, U)
Returns -
- An integer
- A randomly selected integer in a set of integers ranging from L to U
=Fact(N)
Returns -
- An integer
- The factorial of N, mathematically written as ' N! '
- N!
- N (N - 1) (N - 2) 3 2 1
- 0! = 1
=Perm(N, R)
Returns -
- An integer
- Using the Fact(N) function
- The number of permutations in a pool of N numbers taken R at a time
- (N! / (N - R)!)
=Comb(N, R)
Returns -
- An integer
- Using the Perm(N, R) and Fact(N) functions
- The number of combinations in a pool of N numbers taken R at a time
- (Perm(N, R) / Fact(R))
- (Perm(N, R) / R!)
- ((N! / (N - R)!) / R!)
- (N! / (R! (N - R)!))
=Cdist(N, R, C, Z)
Returns -
- An integer
- Using the Comb(N, R) function
- The occurrence count of a number Z in a column C within a pool of N numbers taken R at a time
- Comb((Z - 1), (C - 1)) Comb((N - Z), (R - C))
- (((Z - 1)! / ((C - 1)! (Z - 1 - (C - 1))!) ((N - Z)! / ((R - C)! (N - Z - (R - C))!)))
- ((Z - 1)! (N - Z)!) / ((C - 1)! (Z - C)! (R - C)! (N - Z - R +C)!)
=fColumnSum(N, R, Z)
Returns -
- An integer
- Using the Cdist(N, R, C, Z) and Comb(N, R) functions
- The sum of occurrence counts in the first column, 1, from the first number 1 to a number Z
=Index2Combin(N, R, Index)
Returns -
- A string
- Using the fColumnSum(N, R, Z) and Comb(N, R) functions
- A Combination based on an Index in a pool of N numbers taken R at a time
- 00's for an error condition
=Combin2Index(N, R, Range)
Returns -
- An integer
- Using the fColumnSum(N, R, Z) function
- An Index value from a Combination within a pool of N numbers taken R at a time
- A -1 for an error condition
1 2 6 24 120
#VALUE!
|--Range--> <---|
#VALUE! 1 2 3 47 48 49