Calculating integer factorials in constant time, taking advantage of overflow | Hacker News Reader