FUNCTION : DivCheck - Check certain divisor condition CALLING SEQUENCE : DivCheck() DivCheck(L,N) PARAMETERS : L - (geta)-list N - positive integer SYNOPSIS : For each term [n,m,r] in the geta-list L checks whether n is a divisor of N. If this holds for each term then 1 is returned, otherwise 0 is returned. This function is needed in the proc Gamma1ModFunc EXAMPLES : > with(thetaids): > DivCheck(); ------------------------------------------------------------- DivCheck(L,N) L is a getalist; i.e. L=[[b1,a1,c1],....] Checks that n is a divisor of N for each [n,m,r] in L. Returns 1 if it checks. ------------------------------------------------------------- > L2:= [[40, 3, 2], [40, 4, -5], [40, 5, 4], [40, 6, -3], [40, 7, 2], [40, 8, 2], [40, 10, -2], [40, 13, 2], [40, 14, -3], [40, 15, 4], [40, 16, -4], [40, 17, 2], [40, 20, -1], [20, 1, -2], [20, 2, 3], [20, 3, -2], [20, 4, 1], [20, 6, 3], [20, 7, -2], [20, 8, 1], [20, 9, -2]]; > DivCheck(L2,20); 0 > DivCheck(L2,40); 1 > DivCheck(L2,80); 1 DISCUSSION : SEE ALSO : provemodfuncid, Gamma1ModFunc