Square form factorization: Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
Petelomax (talk | contribs)
Line 1,077:
//principal form
{b,a,c} = {r,1,a}
h = floor((rN+b)/a)*a-b
c = floor((mN-h*h)/a)