In mathematics, the factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n: In mathematics, the factorial of a positive integer n, denoted by n!, is the product of all positive integers less than or equal to n: