Skip to main content
1 of 1
user avatar
user avatar

APL (Dyalog Unicode), 4 bytes

I was just copying Bubbler's solution. I didn't write it, so it's community wiki.

!⍣¯1 

Try it online!

Explanation

 ⍣¯1 The inverse of this function: ! Factorial function 
user92069