Factorial in GAP

Example for versions GAP 4.4.12

This example uses standard Factorial function.

for n in [0..16] do
    Print(n, "! = ", Factorial(n), "\n");
od;