Counting Principles
Factorial
Compute n! = n × (n-1) × ⋯ × 2 × 1. Factorials count the number of ways to arrange n distinct objects.
factorial
n! = n × (n-1) × (n-2) × ⋯ × 2 × 1 Special case: 0! = 1
Counting Principles
Compute n! = n × (n-1) × ⋯ × 2 × 1. Factorials count the number of ways to arrange n distinct objects.