Newton did it lounging under an apple tree. Archimedes did it soaking in a bathtub. Einstein did it while shaving. Those are the settings in which these great minds did their best thinking (at least according to legend). The common theme is that they were in the state of relaxed concentration. Rather than sit at your desk hammering away at a problem, it is often wise to let your mind wander. In his terrific book The Element Sir Ken Robinson describes the process: