%I #18 Dec 08 2024 06:55:08
%S 344,855,1072,1674,2752,3402,3500,3744,4439,4941,5256,6244,6840,6867,
%T 6984,8576,9288,9604,9728,10261,10656,10745,10773,10989,13357,13392,
%U 14167,14364,15093,16480,17080,17603,17920,18305,18369,18648,20026
%N Numbers which are sums of two and also sums of three positive cubes.
%H Giovanni Resta, <a href="/A085336/b085336.txt">Table of n, a(n) for n = 1..10000</a>
%e 1072 is a term because 1072 = 729 + 343 = 1000 + 64 + 8.
%t Cases[{i = #, IntegerPartitions[i, {#}, Range@CubeRoot@i^3] & /@ {2, 3}} & /@Range@30000, {a_, {_?(# != {} &) ..}} :> a] (* _Hans Rudolf Widmer_, Dec 08 2024 *)
%Y Cf. A003072, A003325.
%K nonn
%O 1,1
%A _Labos Elemer_, Jul 07 2003