A free summer program for middle schoolers helped one Alexandria student get a scholarship offer for solving a math problem.