You are viewing a single thread.
View all comments 45 points
Fuck I thought that was an absolute factorial.
7 points
13 points
*
Introducing, the signed factorial: ¡n! = n × -(n-1) × (n-2) x -(n-3) x … x (-1)^(n-2)(2) ×(-1)^(n-1)(1)
11 points
7 points
*
I’d prefer an alternative definition that starts with the base case ¡0! = 1, and then for n > 0 we define ¡n! = n * -¡(n-1)!
5 points