Standard Algorithm In Math