Are you suggesting trading programming time for mentoring time, or just programming a math teacher's projects as a means to learn?
How would you initiate something like that anyway? I would feel more than a little awkward wandering on to a local campus and knocking on doors in the math dept. Are there any online resources/communities?