login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..55.

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

Adjacent sequences:  A308154 A308155 A308156 * A308158 A308159 A308160

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 31 23:46 EDT 2021. Contains 346377 sequences. (Running on oeis4.)