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!)
A308091 Sum of the areas of the integer-sided triangles with perimeter n and integer area. 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 12, 0, 12, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 30, 0, 72, 0, 0, 0, 198, 0, 0, 0, 60, 0, 126, 0, 66, 0, 0, 0, 288, 0, 180, 0, 0, 0, 360, 0, 84, 0, 0, 0, 330, 0, 0, 0, 648, 0, 132, 0, 204, 0, 420, 0, 876, 0, 0, 0, 114 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,12
LINKS
Wikipedia, Integer Triangle
FORMULA
a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} m * (1 - ceiling(m) + floor(m)) * sign(floor((i+k)/(n-i-k+1))), where m = sqrt((n/2)*(n/2-i)*(n/2-k)*(i+k-n/2)).
MATHEMATICA
Table[Sum[Sum[Sqrt[(n/2) (n/2 - i) (n/2 - k) (i + k - n/2)] (1 - Ceiling[Sqrt[(n/2) (n/2 - i) (n/2 - k) (i + k - n/2)]] + Floor[Sqrt[(n/2) (n/2 - i) (n/2 - k) (i + k - n/2)]])*Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]
CROSSREFS
Cf. A051516.
Sequence in context: A028615 A028704 A028607 * A096527 A028599 A270850
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 12 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 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)