Broad question, and I'll leave it to you all to make it more specific. For me, doing math is different from programming is different from writing a paper, so I listen to different music for all three activities. I remember when I was doing a lot of programming, I used to listen to lots of trance,
vocal trance, and techno in general. Now that I don't do much programming, I listen to classical ...