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

Prep11,不知道(2)是怎么回事啊~求解答!谢谢~

[复制链接]
跳转到指定楼层
楼主
发表于 2011-5-8 12:23:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
If p is a positive odd integer, what is the remainder when p is divided by 4 ?
(1) When p is divided by 8, the remainder is 5.
(2) p is the sum of the squares of two positive integers.

答案是D,我不知道(2)怎么做?求牛人解答~万分感谢!

收藏收藏 收藏收藏
沙发
发表于 2011-5-8 12:57:24 | 只看该作者
P = odd  What is the remainder when p is divided by 4?

(2) p = m^2 + k^2, Since p is odd, then m^2 and k^2 is one odd and one even. Let's assume m^2 is even, then m^2 has to have 4 as a factor. If k^2 is odd, then k^2 = (2*q + 1)^2 = 4*q^2 + 4*q +1

So when p is divided by 4, the remainder is 1.
板凳
 楼主| 发表于 2011-5-8 15:09:27 | 只看该作者
精辟!到位!thanks~~~~
您需要登录后才可以回帖 登录 | 立即注册

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

手机版|ChaseDream|GMT+8, 2025-5-8 05:13
京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号

ChaseDream 论坛

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

返回顶部