标题: 问一道关于余数的DS。求指教这类题目的解题方法 [打印本页] 作者: lyxxuan 时间: 2017-8-7 23:10 标题: 问一道关于余数的DS。求指教这类题目的解题方法 What is the remainder when the sum of the positive integers x and y is divided by 6?
(1) When x is divided by 6, the remainder is 3.
(2) When y is divided by 6, the remainder is 1.
答案是C
谁能说一下解题思路吗,每次遇到这种有余数或者涉及的通项的题就转不过弯啊
非常感谢!作者: ly1nn 时间: 2017-8-7 23:13
x=6k+3
y=6k+1
sum of x y = (x+y)=6k+3+6k+1=6k+4
余数是4