Re: 國安局數論考古題
※ 引述《bienhayes ()》之銘言:
: Let u,v 自然數, 滿足 (a) u^2 + 16^2 = v^2 和 (b) i^u + i^v = -2,
: 其中 i 是根號 -1. 求所有 (u,v) 之值.
: 大概寫一下我的答案:
: 由 (b) 知 u and v are congruent to 2 (mod 4),
: write u = 4a+2, v = 4b+2, where a and b are nonnegative integers.
: 代入 (a), 2^8 = (u+v)(v-u) = (4a+4b+4)(4b-4a) = 2^4 (a+b+1)(b-a)
: 得 16 = (a+b+1)(b-a).
: if 2|(b-a), then b = 2c+a for some integer c.
: then a+b+1=2c+2a+1>0 is odd, which implies a=b=0, a contradiction.
: hence 16 = a+b+1 and b-a = 1, which implies a=7 and b=8.
: so (u,v) 只有一解 (30,34).
: 這題被扣16分簡直是被KO,麻煩大大幫我看看 感謝!
提供一下我的解法
(b)->u and v are congruent to 2 (mod 4)
16^2=v^2-u^2=(v+u)(v-u)
其中兩者都是自然數
且16^2>0
v+u > v-u > 0
且v-u = 0(mod 4)
16^2=2^8=2^6 x 2^2 -> (u,v)=(30,34)
=2^5 x 2^3 -> (u,v)=(12,20)不合
(u,v)=(30,34)
--
聰明的人喜歡猜心...
雖然每次都猜對了卻失去了自己的心
傻氣的人喜歡給心...
雖然每次都被笑了卻得到了別人的心
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.233.92.236
→
10/31 19:42, , 1F
10/31 19:42, 1F
→
10/31 19:54, , 2F
10/31 19:54, 2F
我自己搞笑了 改好了
※ 編輯: RC 來自: 118.233.92.236 (10/31 20:07)
→
10/31 22:22, , 3F
10/31 22:22, 3F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):