我的理解是 24=3*2*2*2 So if n is not divisible by 2 or 3 means n can be 1,5,7,11,13etc (n-1)*(n+1) could be0,24, 48,120, 12*14 就算是0的时候,除以24 remainder也是0.所以r=0是确定的。其他情况下 r肯定被24整除。
257If n is a positive integer and r is the remainder when (n-1)(n+1) is divided by 24, what is the value of r? 1). n is not divisible by 2 2). n is not divisible by 3 条件一:如果不能被2整除,那么n是奇数,奇数加1减1都是偶数,但是余数各不相同,所以条件一单独不可以。 条件二:如果n不能被3整除,我们选用几个数试一下,如4和5,一个余数是15,一个余数是0。 条件一加条件二:如果既不能被2整除又不能被3整除,那么n-1和n+1肯定一个能被2整除一个能被3整除。所以余数喂0、 选择C
我想问一下条件1和2结合在一起了以后只能说明(N-1)(N+1)可以被4和被3整除,为什么一定就可以被24整除呢? 谢谢大家哈~~~
-- by 会员 越影 (2010/5/13 13:49:45)
-- by 会员 pighappy (2010/5/13 14:12:22)
谢谢,我疏忽了~ |