Since PHP can't compute anything with large numbers, and my server doesn't have GMP installed, I made a few quick functions that can add, multiply, and find the factorials of large numbers.
With my function, the exact value of 51! can be evaluated in 3 seconds.
Of course, since I rushed...