It's literally just math. I liked the music and all that it gave me motivation, and the robot voice saying "solve" was pretty nice too. Gave an extra half star for patriotism.
Wish I could take the time to solve all this, but I really don't feel like it...