A Handbook of Mathematical Discourse
trial and error
The process of finding an object that satisfies certain constraints by guessing various possibilities and testing them against the constraint until you find one that works is called the process of trial and error. See Example 1 under algorithm addiction. Trial and error is valid when it works but it typically takes exponential time in the size of the problem to carry out.
Citations: (348), (232).
Pages 253–254 of the book (PDF).