Your first paragraph puts Rand’s writing in context and makes complete sense; but the second paragraph couldn’t be further from reality. It is, in fact, a false equivalence. John Nash’s contributions to economics are actually based on mathematics and have been proven to be sound theory using verifiable data. Ayn Rand’s economic philosophy is based on ideological beliefs that have failed over and over again; the latest example of that failure can seen on an epic scale in Kansas, under Governor Brownback. Comparing the economic contributions of Rand to Nash is like comparing the debunked hypotheses of nazi eugenics with the theories of Stephen Hawking; there’s absolutely no equivalence between the two. One has caused harm and the other has added to humanity’s collective knowledge and understanding of the universe.
Since there is no such thing as the right of some men to vote away the rights of others, and no such thing as the right of the government to seize the property of some men for the unearned benefit of others — the advocates and supporters of the welfare state are morally guilty of robbing their opponents, and the fact that the robbery is legalized makes it morally worse, not better. The victims do not have to add self-inflicted martyrdom to the injury done to them by others; they do not have to let the looters profit doubly, by letting them distribute the money exclusively to the parasites who clamored for it. Whenever the welfare-state laws offer them some small restitution, the victims should take it.
Rand's first major success as a writer came with The Fountainhead in 1943, a romantic and philosophical novel that she wrote over a period of seven years.  The novel centers on an uncompromising young architect named Howard Roark and his struggle against what Rand described as "second-handers"—those who attempt to live through others, placing others above themselves. It was rejected by twelve publishers before finally being accepted by the Bobbs-Merrill Company on the insistence of editor Archibald Ogden, who threatened to quit if his employer did not publish it.  While completing the novel, Rand was prescribed Benzedrine , a brand of amphetamine , to fight fatigue.  The drug helped her to work long hours to meet her deadline for delivering the finished novel, but when the book was done, she was so exhausted that her doctor ordered two weeks' rest.  Her use of the drug for approximately three decades may have contributed to what some of her later associates described as volatile mood swings.