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

283. 有5个整数a1,a2,a3,a4,a5,这5个数除以5的余数都不相同。问下列哪几组数除以5的余数也都各不相同。

[复制链接]
跳转到指定楼层
楼主
发表于 2010-1-25 09:32:33 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
283. 5个整数a1,a2,a3,a4,a5,这5个数除以5的余数都不相同。问下列哪几组数除以5的余数也都各不相同。
a) a1+2, a2+2,..., a5+2
b) 2*a1, 2*a2,..., 2*a5
c) a1^2, a2^2,..., a5^2

E???
收藏收藏 收藏收藏
沙发
发表于 2010-1-25 09:57:49 | 只看该作者

oh..

first, lets assume the there are five numbers
a1,a2,a3,a4,a5.  with a reminder 0,1,2,3,4. these are the only five reminders that FIVE could have.
thus, when a1+2,a2+2......a5+2. divide by 5. the reminder will become 2,3,4,0,1. So, the reminder is also unique.

and for2*a1, 2*a2,..., 2*a5,
it will be  0,2,4,1,3. which is also unique.

and for a1^2, a2^2,..., a5^2.
it will be  1,4,4,1,0. which is not unique.

so, the answer is A and B.
板凳
 楼主| 发表于 2010-1-27 01:30:13 | 只看该作者

thanks a lot

thanks a lot
您需要登录后才可以回帖 登录 | 立即注册

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

手机版|ChaseDream|GMT+8, 2025-6-30 18:35
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

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

返回顶部