Jump to content

Factors of an integer: Difference between revisions

Line 1,338:
factor(N, X + 1, Limit, !Accumulator) ).
 
:- func factor(int::in) = (list(int)::out) is det.
%:- mode factor(in) = out is det.
factor(N) = Factors :- factor(N, Factors).
 
Cookies help us deliver our services. By using our services, you agree to our use of cookies.