He was also on amphetamines constantly. If I was on amphetamine all the time I’d get a lot accomplished as well.
He started taking them in 1971, because he was depressed. He was 58 years old at the time and had been extremely productive for his whole career before that too.
"I'd have done it myself if only I tried hard enough."
They are good for essays though.
You can find a detailed list here: https://astralcodexten.substack.com/p/know-your-amphetamines
(My own experience is limited to various brands of Adderall, Core Pharma being the worst, before settling on Teva for many years now. Having a good doctor who watches out for your health is important, and it's part of what helped me find a winning combination.)