proposed
approved
proposed
approved
editing
proposed
Number of integer 4-tuples (x,y,z,u) satisfying |x|^3 + |y|^3 + |z|^3 + |u|^3 = n, -n <= x,y,z,u <= n.
Conjectured g.f.: (1 + 2*Sum_{j>=1} x^(j^3))^4.
proposed
editing
editing
proposed
a(n) = A175365(n) + 2*Sum_{k=1..floor(n^(1/3))} A175365(n - k^3). - Daniel Suteu, Aug 15 2021
proposed
editing
editing
proposed
editing
proposed
(PARI) a(n, k=4) = if(n==0, return(1)); if(k <= 0, return (0)); if(k == 1, return(ispower(n, 3))); my(count = 0); for(v = 0, sqrtnint(n, 3), count += (2 - (v == 0))*if(k > 2, a(n - v^3, k-1), if(ispower(n - v^3, 3), 2 - (n - v^3 == 0), 0))); count; \\ Daniel Suteu, Aug 15 2021