OFFSET
4,3
FORMULA
G.f.: Sum_{k>=1} mu(k)*x^(4*k) / Product_{j=1..4} (1 - x^(j*k)). - Ilya Gutkovskiy, Aug 31 2019
a(n) = Sum_{k=1..floor(n/4)} Sum_{j=k..floor((n-k)/3)} Sum_{i=j..floor((n-j-k)/2)} [gcd(k,j,i,n-i-j-k) = 1], where [ ] is the Iverson bracket. - Wesley Ivan Hurt, Jan 17 2021
MATHEMATICA
Table[Sum[Sum[Sum[KroneckerDelta[GCD[k, j, i, (n - i - j - k)], 1], {i, j, Floor[(n - j - k)/2]}], {j, k, Floor[(n - k)/3]}], {k, Floor[n/4]}], {n, 4, 80}] (* Wesley Ivan Hurt, Jan 17 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved