login
Smallest cube with digit sum n (or 0 if no such cube exists).
0

%I #2 Mar 31 2012 10:26:36

%S 1,0,0,0,0,0,0,8,27,64,0,0,0,0,0,0,2744,729,2197,0,0,0,0,0,0,17576,

%T 19683,6859,0,0,0,0,0,0,148877,287496,438976,0,0,0,0,0,0,778688,

%U 2299968,3869893,0,0,0,0,0,0,43986977,75686967,174676879,0,0,0,0,0,0

%N Smallest cube with digit sum n (or 0 if no such cube exists).

%e 64 is the smallest cube with digit sum 10

%K base,easy,nonn

%O 1,8

%A _Erich Friedman_, Jul 04 2001