👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.

What is the formula to calculate the factorial of an integer?

In mathematics, the factorial of a positive integer , denoted  , is the product of all integers from 1 to  :

Here are some examples:

Note that  according to the convention for an empty product.