do this...

來源: borisg 2023-08-07 17:43:09 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (389 bytes)
本文內容已被 [ borisg ] 在 2023-08-07 17:55:43 編輯過。如有問題,請報告版主或論壇管理刪除.

for all integers there are 4 possibilities:

4x, 4x+1, 4x+2, 4x+3.

for 4x, the formula turns out to be 4x**2-4x**2=2, no solution;

for 4x+1, (16x**2+8x+1)/4-4x**2=2x=2, x=1.

for 4x+2, (16x**2+16x+4)/4-4x**2-4X-1=0, no solution;

for 4x+3, (16x**2+24x+9)/4-4x**2-4x-1=2x+1=2, no integer solution.

so the only solution is 5.

所有跟帖: 

謝謝您的詳細解答。 -Pilsung- 給 Pilsung 發送悄悄話 (0 bytes) () 08/07/2023 postreply 17:58:43

check 2x+1 就夠了,沒必要看除4的餘數 -STEMkid- 給 STEMkid 發送悄悄話 (0 bytes) () 08/07/2023 postreply 18:00:00

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”