Factorial notation is a mathematical notation used to represent the product of all positive integers up to a given number. It is denoted by the exclamation mark (!) placed after a number.
The factorial of a positive integer n, denoted as n!, is the product of all positive integers from 1 to n.
For example, 5! (read as "5 factorial") is calculated as: 5! = 5 x 4 x 3 x 2 x 1 = 120.
To calculate the factorial of a number, start with the given number and multiply it by all positive integers less than itself, down to 1.
For example, to calculate 6!, you would perform the following multiplication: 6 x 5 x 4 x 3 x 2 x 1 = 720.
Factorial notation has applications in combinatorics, permutations, and probability, where it is used to count the number of ways to arrange or select items.