OFFSET
1,5
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
a(10) is 3 because there are three different integer-sided, integer-area triangles with middle side length 10, namely [9,10,17], [10,10,12], and [10,10,16].
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, n, z], num++], {x, 1, n}], {z, n, 2n}]; num]; Array[a, 100, 0] (* Amiram Eldar, Jun 19 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, May 26 2000
EXTENSIONS
Definition corrected and offset changed by James R. Buddenhagen, Jan 16 2012
More terms from Amiram Eldar, Jun 19 2019
STATUS
approved