Write a concise definition for "algorithm".
An algorithm is a step-by-step procedure or set of rules for solving a problem or accomplishing a task, often used in computing and mathematical operations.
Complete the following task based on the instruction and optional input provided.### Instruction:
Write a concise definition for "algorithm".

### Output:
An algorithm is a step-by-step procedure or set of rules for solving a problem or accomplishing a task, often used in computing and mathematical operations.