When coding, I usually listen to Indian classical. It can't have any lyrics, as I get distracted by them.
When studying (it's my actual job, I'm a mathematics researcher), I usually prefer white noise, or just a good pair of noise cancelling headphones without anything actually playing on it. Sound of rain works pretty well too.