OFFSET
1,1
COMMENTS
First differs from A025408 at a(80)=1036. - Ray Chandler, Feb 19 2005
EXAMPLE
a(80) = 1036 = 1+8+27+1000 = 27+64+216+729.
MAPLE
isA025411:= proc(n)
local a, x, y, z, wcu ;
for x from 1 do
if 4*x^3 > n then
return false;
end if;
for y from x+1 do
if x^3+3*y^3 > n then
break;
end if;
for z from y+1 do
if x^3+y^3+2*z^3 > n then
break;
end if;
wcu := n-x^3-y^3-z^3 ;
if wcu > z^3 and isA000578(wcu) then
return true ;
end if;
end do
end do:
end do:
end proc:
for n from 1 to 1100 do
if isA025411(n) then
printf("%d, ", n) ;
end if;
end do: # R. J. Mathar, Jun 15 2018
MATHEMATICA
smax = 1036;
imax = smax^(1/3) // Ceiling;
Table[If[Less[i, j, k, l] && (s = i^3 + j^3 + k^3 + l^3) <= smax, s, Nothing], {i, 1, imax}, {j, i+1, imax}, {k, j+1, imax}, {l, k+1, imax}] // Flatten // Union (* Jean-François Alcover, Jun 26 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Ray Chandler, Feb 19 2005
STATUS
approved