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!)
A308157 Sum of the perimeters of all integer-sided obtuse triangles with perimeter n. 1
0, 0, 0, 0, 0, 0, 7, 0, 9, 0, 22, 0, 26, 28, 45, 32, 51, 54, 95, 60, 147, 88, 184, 120, 225, 182, 270, 224, 319, 270, 434, 352, 528, 408, 630, 504, 703, 646, 819, 720, 943, 882, 1161, 968, 1350, 1104, 1504, 1296, 1666, 1500, 1887, 1716, 2120, 1890, 2420 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
Wikipedia, Integer Triangle
FORMULA
a(n) = n * A070101(n).
a(n) = n * Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} (1-sign(floor((i^2 + k^2)/(n-i-k)^2))) * sign(floor((i+k)/(n-i-k+1))).
MATHEMATICA
Table[n*Sum[Sum[ (1 - Sign[Floor[(i^2 + k^2)/(n - i - k)^2]]) Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]
CROSSREFS
Cf. A070101.
Sequence in context: A213186 A296482 A272429 * A198555 A234355 A021145
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 14 2019
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)