In science, Pasteur codified serendipity as a method. Fortune, he said, favors the prepared mind. Others have defined (good) luck as the coincidence of preparation and opportunity.