A collection of ordered steps that solve a mathematical problem. A precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps.
To be unfortunate or unlucky; to run out of luck.
To experience great luck; to be extremely fortunate or lucky.