Thomas Andrew (Tom) Lehrer (/ˈlɛr.ər/; born April 9, 1928) is an American singer-songwriter, satirist, pianist, and mathematician. He has lectured on mathematics and musical theater. He is best known for the pithy, humorous songs he recorded in the 1950s and '60s.
His work often parodies popular song forms, though he usually creates original melodies when doing so. A notable exception is "The Elements", where he sets the names of the chemical elements to the tune of the "Major-General's Song" from Gilbert and Sullivan's Pirates of Penzance. Lehrer's early work typically dealt with non-topical subject matter and was noted for its black humor in songs such as "Poisoning Pigeons in the Park". In the 1960s, he produced a number of songs dealing with social and political issues of the day, particularly when he wrote for the U.S. version of the television show That Was the Week That Was. Despite their of-the-moment subject matter and references, the popularity of these songs has endured; Lehrer quoted a friend's explanation: "Always predict the worst and you'll be hailed as a prophet."