OFFSET
1,13
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
MATHEMATICA
okQ[x_, y_, z_] := If[x + y <= z, False, Module[{s = (x + y + z)/2}, IntegerQ[ Sqrt[s(s-x)(s-y)(s-z)]]] ]; a[n_] := Module[{num = 0}, Do[Do[If[okQ[x, y, n], num++], {x, 1, y}], {y, 1, n}]; num]; Array[a, 100] (* Amiram Eldar, Nov 22 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, May 26 2000
EXTENSIONS
Name and offset changed to align with 2012 changes to A054876 by Peter Munn, Nov 23 2018
STATUS
approved