algorithm(数论)