結果 : mod function discrete math