Singer, songwriter and satirist who eschewed the limelight to return to teaching mathematics

A mathematician by training, he acquired a devoted following with songs that set sardonic lyrics to music that was often maddeningly cheerful.

Lehrer, a Harvard-trained mathematician, wrote darkly humorous songs, often with political connotations.