Pac-Man loves eating algebra almost as much as eating ghosts.