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!)
A308066 Number of triangles with perimeter n whose side lengths are even. 0
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 2, 0, 1, 0, 3, 0, 2, 0, 4, 0, 3, 0, 5, 0, 4, 0, 7, 0, 5, 0, 8, 0, 7, 0, 10, 0, 8, 0, 12, 0, 10, 0, 14, 0, 12, 0, 16, 0, 14, 0, 19, 0, 16, 0, 21, 0, 19, 0, 24, 0, 21, 0, 27, 0, 24, 0, 30, 0, 27, 0, 33, 0, 30, 0, 37, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,14
LINKS
Wikipedia, Integer Triangle
FORMULA
a(n) = Sum_{k=1..floor(n/3)} Sum_{i=k..floor((n-k)/2)} sign(floor((i+k)/(n-i-k+1))) * ((i-1) mod 2) * ((k-1) mod 2) * ((n-i-k-1) mod 2).
Conjectures from Colin Barker, May 11 2019: (Start)
G.f.: x^6 / ((1 - x)^3*(1 + x)^3*(1 - x + x^2)*(1 + x^2)^2*(1 + x + x^2)*(1 + x^4)).
a(n) = a(n-4) + a(n-6) + a(n-8) - a(n-10) - a(n-12) - a(n-14) + a(n-18) for n>18.
(End)
MATHEMATICA
Table[Sum[Sum[Mod[i - 1, 2] Mod[k - 1, 2] Mod[n - i - k - 1, 2]*Sign[Floor[(i + k)/(n - i - k + 1)]], {i, k, Floor[(n - k)/2]}], {k, Floor[n/3]}], {n, 100}]
CROSSREFS
Cf. A308065.
Sequence in context: A108044 A104477 A224928 * A052173 A177825 A175790
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, May 10 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 18 18:58 EDT 2024. Contains 371781 sequences. (Running on oeis4.)