It is nothing new:
"Paul Erdös (1913-1996), "the man who loved only numbers", was one of the most brilliant and prolific mathematicians of the twentieth century. Erdös spent much of his restless life on psychostimulants. As he once remarked, "A mathematician is a device for turning coffee into theorems."
But Erdös liked stronger medicine too. After his mother's death in 1971, Erdös became quite depressed. His physician prescribed amphetamines. Erdös took Benzedrine or Ritalin almost every day for the last twenty five years of his life. Sometimes he took both. ...
Colleagues worried that Erdös might have become addicted. In 1979, he accepted a $500 bet from his friend Ronald Graham. Graham challenged Erdös to abstain from speed for 30 days. Erdös met the challenge, but his output sank dramatically. Erdös felt the progress of mathematics had been held up by a stupid wager."