login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054875 Number of pairwise incongruent triangles with integer sides and positive integer area and longest side of length n. 6
0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 2, 0, 3, 1, 3, 1, 0, 3, 2, 0, 0, 3, 4, 4, 0, 1, 2, 7, 0, 1, 0, 3, 3, 2, 5, 0, 6, 7, 4, 4, 0, 2, 4, 0, 0, 5, 0, 6, 7, 10, 4, 1, 3, 4, 0, 4, 0, 10, 3, 0, 3, 1, 11, 3, 0, 8, 1, 5, 0, 4, 6, 7, 13, 0, 3, 9, 0, 10, 0, 6, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,13
LINKS
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
Sequence in context: A098006 A336916 A082650 * A324115 A029239 A162201
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 16 04:20 EDT 2024. Contains 374343 sequences. (Running on oeis4.)