<prompt> Write a concise definition for algorithm.  <response>: 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. 