FUNCTION : srep - CALLING SEQUENCE : srep(s,c,N) PARAMETERS : s,c,N - integers such that N>0, (s,c)=1 and c is a divisor of N SYNOPSIS : Let c be a positive divisor of N. Given s in (Z/cZ)^x this proc returns an s1 in (Z/NZ)^x such that s1 == s mod c. EXAMPLES : > with(thetaids): > srep(); --------------------------------------------------------- srep(s,c,N) Let c be a positive divisor of N. Given s in (Z/cZ)^x this proc returns an s1 in (Z/NZ)^x such that s1 == s mod c. --------------------------------------------------------- > srep(6, 13, 26); 19 DISCUSSION : This function is used in Acmake and Scmake. SEE ALSO : Acmake, Scmake