OFFSET
1,1
COMMENTS
Conjecture: a(n) exists for all positive integers n.
For all n <= 10^6, a(493196) = 1858 is the largest.
LINKS
Eric Weisstein's World of Mathematics, Cubic Number.
Eric Weisstein's World of Mathematics, Waring's Problem.
EXAMPLE
a(3) = 101 because 3 + 101^3 = 18^3 + 70^3 + 88^3, and no integers less than 101 satisfied this way.
MATHEMATICA
f[n_]:=Module[{d, T, a, b, c, maxd=400}, For[d=1, d<=maxd, d++, T=n+d^3;
c=Floor[T^(1/3)];
While[c>=Ceiling[(T/3)^(1/3)], For[b=Min[c, Floor[(T-c^3)^(1/3)]], b>=Ceiling[((T-c^3)/2)^(1/3)], b--, a=Round[(T-c^3-b^3)^(1/3)];
If[a>0&&a<=b&&a^3+b^3+c^3==T, Return[d]]];
c--]]]; Table[f[n], {n, 1, 50}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zhining Yang, Jan 23 2026
STATUS
approved
