※ 引述《ttst0720 (心情陽光)》之銘言:
: 為何要設6k+-1呢?請給我保貴的解答謝謝!
: https://i.imgur.com/6tcfE4L.jpg
P = 2m + 1
P^2 + 2 = 4m^2 + 4m + 3
= 3m^2 + 3m + 3 + [m^2 + m]
= 3[m^2 + m + 1] + m[m + 1]
能被3整除者
=> m = 3k 或 m = 3k - 1
=> P = 6k + 1 或 P = 6k - 1
不能被3整除者
=> m = 3k - 2
=> P = 6k - 3 = 6(k - 1) + 3 = 6k' + 3
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 39.10.66.159
※ 文章網址: https://www.ptt.cc/bbs/Math/M.1555169072.A.F28.html