A096910 Primitive Pythagorean Quadruples a^2+b^2+c^2=d^2, 0
3, 7, 9, 9, 11, 11, 13, 15, 15, 17, 17, 19, 19, 19, 21, 21, 21, 21, 23, 23, 23, 25, 25, 27, 27, 27, 27, 27, 29, 29, 29, 31, 31, 31, 31, 33, 33, 33, 33, 33, 33, 33, 35, 35, 35, 35, 37, 37, 37, 37, 39, 39, 39, 39, 39, 39, 41, 41, 41, 41, 41, 43, 43, 43, 43, 43, 43, 45, 45, 45
Offset: 1
Keywords
Links
- Ivan Neretin, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Pythagorean Quadruple.
Crossrefs
Programs
-
Mathematica
mx = 50; res = {}; Do[If[GCD[b, c, d] > 1, Continue[]]; If[IntegerQ[a = Sqrt[d^2 - b^2 - c^2]] && a > 0 && a <= b, AppendTo[res, {a, b, c, d}]], {d, mx}, {c, d}, {b, c}]; res[[All, 4]] (* Ivan Neretin, May 24 2015 *)
Comments