OFFSET
0,7
FORMULA
a(n) = Sum_{m=1..floor(n/6)} Sum_{l=m..floor((n-m)/5)} Sum_{k=l..floor((n-l-m)/4)} Sum_{j=k..floor((n-k-l-m)/3)} Sum_(i=j..floor((n-j-k-l-m)/2)} (i * (i mod 2) + j * (j mod 2) + k * (k mod 2) + l * (l mod 2) + m * (m mod 2) + (n-i-j-k-l-m) * ((n-i-j-k-l-m) mod 2)).
MATHEMATICA
Table[Sum[Sum[Sum[Sum[Sum[i * Mod[i, 2] + j * Mod[j, 2] + k * Mod[k, 2] + l * Mod[l, 2] + m * Mod[m, 2] + (n - i - j - k - l - m) * Mod[n - i - j - k - l - m, 2], {i, j, Floor[(n - j - k - l - m)/2]}], {j, k, Floor[(n - k - l - m)/3]}], {k, l, Floor[(n - l - m)/4]}], {l, m, Floor[(n - m)/5]}], {m, Floor[n/6]}], {n, 0, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Aug 07 2019
STATUS
approved