In which I use Lua scripting to solve a challenging (but silly) math problem.