The first rule of discovery is to have brains and good luck. The second rule of discovery is to sit tight and wait till you get a bright idea.
How to Solve It: A New Aspect of Mathematical Method - Part III, Rules of discovery (p. 172), Princeton University Press. 1973