In mathematics, method of solving a problem by repeatedly using a simpler computational method. A basic example is the process of long division in arithmetic. The term algorithm is now applied to many kinds of problem solving that employ a mechanical sequence of steps, as in setting up a computer program. The sequence may be displayed in the form of a flowchart in order to make it easier to follow. As with algorithms used in arithmetic, algorithms for computers can range from simple to highly complex.
That is, they are increasingly becoming part of the basic circuitry of computers or are easily attached adjuncts, as well as standing alone in special devices such as office payroll machines. Many different applications algorithms are now available, and highly advanced systems such as artificial intelligence algorithms may become common in the future. Artificial Intelligence (AI), a term that in its broadest sense would indicate the ability of an artifact to perform the same kinds of functions that characterize human thought.