|
p 224论坛上的解释
a = 2u, b = 2v, and c = 2w + 1,
u^2 + v^2 = w(w+1)
both w and (w+1) can be written as sum of 2 squares
ie. if w can be written as (m^2+n^2) and (w+1) as (p^2+q^2),
then w(w+1) can be written as (mp+nq)^2+(mq-np)^2 or (mp-nq)^2 + (mq+np)^2
0 <= m, n, p, q and 1 <= w |
|