|
|
A096908
|
|
Primitive Pythagorean Quadruples a^2+b^2+c^2=d^2, 0<a<=b<=c<=d, gcd(a,b,c,d)=1, sorted by d, then c, then b; sequence gives b values.
|
|
9
|
|
|
2, 3, 4, 4, 6, 6, 4, 10, 5, 9, 12, 10, 6, 6, 11, 13, 8, 5, 13, 14, 6, 15, 12, 14, 10, 14, 10, 7, 16, 12, 16, 18, 21, 14, 6, 20, 20, 16, 17, 8, 7, 8, 18, 17, 18, 10, 24, 21, 24, 8, 22, 22, 26, 14, 19, 14, 24, 24, 24, 24, 12, 25, 30, 18, 18, 7, 9, 28, 28, 20, 16, 19, 8, 27, 21, 27, 18
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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, 2]] (* Ivan Neretin, May 24 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|