11. 959-!-item-!-187;#058&000583
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.
由条件2也能推出?
怎么考虑的?
谢谢
举报
如果2对的话,而p是奇数 ,那么p可以写成如下形式:
p= (2a+1)^2+ (2b)^2
a,b地位等同,可以互换
所以p=4*a^2+4*a+1+4*b^2
所以余数是1
many thanks
发表回复
手机版|ChaseDream|GMT+8, 2025-11-17 10:51 京公网安备11010202008513号 京ICP证101109号 京ICP备12012021号
ChaseDream 论坛
© 2003-2025 ChaseDream.com. All Rights Reserved.