Galaga Math Riddle