Repeating a calculation until a prior desired result is produced. This refers to the 2000 US presidential elections, where Al Gore lost, but a long recount process gave the impression that it was going to continue forever until Al Gore is determined the winner (although eventually, the recount was stopped by the court and Bush was declared the winner).
The process you proposed is an algoreithm: instead of coming up with the right results it will just waste time and finally come up with exactly your predetermined results!
The Urban Dictionary Mug
One side has the word, one side has the definition. Microwave and dishwasher safe. Lotsa space for your liquids.
Buy the mug