

A307736


Sum of the largest sides of all acute integer triangles with perimeter n.


1



0, 0, 1, 0, 2, 2, 3, 3, 7, 8, 9, 9, 16, 11, 24, 19, 35, 28, 39, 40, 42, 53, 56, 57, 71, 73, 98, 90, 118, 107, 126, 128, 146, 164, 170, 172, 210, 198, 252, 224, 283, 268, 295, 318, 325, 370, 379, 384, 435, 442, 492, 480, 534, 563, 576, 606, 641, 699, 713, 694
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,5


LINKS

Table of n, a(n) for n=1..60.
Wikipedia, Integer Triangle


FORMULA

a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((nk)/2)} (1sign(floor((nik)^2/(i^2+k^2)))) * sign(floor((i+k)/(nik+1))) * (nik).


MATHEMATICA

Table[Sum[Sum[(n  i  k)*(1  Sign[Floor[(n  i  k)^2/(i^2 + k^2)]]) Sign[Floor[(i + k)/(n  i  k + 1)]], {i, k, Floor[(n  k)/2]}], {k, Floor[n/3]}], {n, 150}]


CROSSREFS

Cf. A307729.
Sequence in context: A330950 A032060 A241385 * A309713 A153903 A331729
Adjacent sequences: A307733 A307734 A307735 * A307737 A307738 A307739


KEYWORD

nonn


AUTHOR

Wesley Ivan Hurt, May 15 2019


STATUS

approved



