In the novel Matter, by Iain M. Banks, an alien spacecraft called The 100th Idiot explains to two humans that its name comes from an old fable...
“One hundred idiots make idiotic plans and carry them out. All but one justly fail. The hundredth idiot, whose plan succeeded through pure luck, is...