ChaseDream
搜索
返回列表 发新帖
查看: 644|回复: 3
打印 上一主题 下一主题

请教一道GWD上的数学题

[复制链接]
跳转到指定楼层
楼主
发表于 2010-6-16 10:19:58 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
If n is a positive integer and ris the remainder when (n – 1)(n + 1) is divided by 24, what isthe value of r?
(1)     2 isnot a factor of n.
(2)     3 isnot a factor of n.


答案是C,虽然枚举了一下貌似可以,但是不知道怎么推导的,求详解
收藏收藏 收藏收藏
沙发
发表于 2010-6-16 13:34:46 | 只看该作者
(1),(2)分别不充分,这个比较容易看出来,可以举出反例

(1)(2)在一起,可以推断出(n – 1)(n + 1) 能被24整除,证明如下:
if 2 is not a factor of n, then 2 is a factor of n-1, and 2 is a factor of n+1

furthermore, 4 is a factor of one of n-1, n+1. suppose n-1 is not divisible by 4. since it is divisible by 2, its remainder when divided by 4 must be 2. then n+1's remainder when divided by 4 must be 0. similarly, we can conclude that if n+1 is not divisible by 4, then n-1 must be divisible by 4.

therefore (n – 1)(n + 1) can be divided by 2*4=8.

also, since 3 is not a factor of n, then 3 must be a factor of either n-1 or n+1. (if the remainder of n/3 is 1, then n-1 is divisible by 3. if the remainder of n/3 is 2, then n+1 is divisible by 3)

therefore (n – 1)(n + 1) can also be divided by 3

since (n – 1)(n + 1) can be divided by 3 and 8, it is divisible by 24.

hope that helps
板凳
发表于 2010-6-16 13:55:40 | 只看该作者
(1)2不是n的因数,说明n是个奇数,那么(n-1)(n+1)就是个连续偶数,两个连续偶数一个肯定是2的倍数一个肯定是4的倍数,继而能够推出(n-1)(n+1)能够被8整除,但是否能被24整除不清楚
(2)3不是n的因数,(n-1)(n+1)中肯定有一个是3的倍数,但不知道是不是24的倍数
(1)+(2)推出(n-1)(n+1)是24的倍数;那么r就为0了

中文版本
地板
 楼主| 发表于 2010-6-16 16:57:53 | 只看该作者
谢谢楼上几位大哥的热心解答~
总算是明白了
您需要登录后才可以回帖 登录 | 立即注册

Mark一下! 看一下! 顶楼主! 感谢分享! 快速回复:

手机版|ChaseDream|GMT+8, 2026-1-8 23:35
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

© 2003-2025 ChaseDream.com. All Rights Reserved.

返回顶部