Russia had brilliant mathematicians even before the October revolution, however, the Soviet Union gave another incentive to become an academic - it pretty much guaranteed a highly respected job, even if the salary was modest, but also allowed most of the academics to not get involved in politics. So in a country where you couldn't form a business, being an academic or a doctor was pretty much the best career choice.
You could say that. I'm from Poland, so compared to Soviet Union it was communist-lite. I had a brilliant math teacher in high school. He had the reputation that if he was your math teacher you were automatically accepted at the local university. He was a legend in my town, and managed to stay under the radar of the communist regime.