AlgebrarbeglA

Challenge

78! - k = k - !87

Solve for k flag format is udctf{k}

Dedicated to Wrath of Math

Solution

First, I did some digging into factorials and subfactorials. I highly encourage you to watch Youtube videos from Wrath of Math that was recommended, because he explains it really well. I watched this one about subfactorials.

Now that we understand what it's all about, let's restate the equation and solve for k.

Because these are such large numbers, we will use Python to solve it for us.

And we get our result !

Last updated