OFFSET
1,2
LINKS
EXAMPLE
495 is in the sequence because 495 = 3^3 + 5^3 + 7^3.
PROG
(PARI) lista(nn) = {my(list = List()); forstep (i=1, nn, 2, my(s = 0); forstep(j=i, 1, -2, s += j^3; if (s > nn^3, break); listput(list, s); ); ); Set(list); } \\ Michel Marcus, Nov 13 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 28 2020
STATUS
approved