Number of Pythagorean triples in the range [1..n], i.e., the number of integer solutions to x^2 + y^2 = z^2 with 1 <= x,y,z <= n.

A063468

Number of Pythagorean triples in the range [1..n], i.e., the number of integer solutions to x^2 + y^2 = z^2 with 1 <= x,y,z <= n.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =0a(4) =2a(5) =2a(6) =2a(7) =2a(8) =2a(9) =4a(10) =4a(11) =4a(12) =6a(13) =6a(14) =8a(15) =8a(16) =10a(17) =10a(18) =10a(19) =12a(20) =12a(21) =12a(22) =12a(23) =12a(24) =16a(25) =18a(26) =18a(27) =18a(28) =20a(29) =22

External references