A224484 Numbers which are the sum of two positive cubes and divisible by 3.
9, 54, 72, 126, 189, 243, 351, 432, 468, 513, 576, 756, 855, 945, 1008, 1125, 1332, 1395, 1458, 1512, 1674, 1755, 1944, 2205, 2322, 2331, 2457, 2709, 2745, 2808, 3087, 3402, 3456, 3528, 3591, 3744, 4104, 4221, 4608, 4914, 4941
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Programs
-
Mathematica
upto[n_] := Block[{t}, Union@ Reap[ Do[If[Mod[t = x^3 + y^3, 3] == 0, Sow@ t], {x, n^(1/3)}, {y, Min[x, (n - x^3)^(1/3)]}] ][[2, 1]]]; upto[5000] (* Giovanni Resta, Jun 12 2020 *) Module[{nn=20},Select[Union[Total/@Tuples[Range[nn]^3,2]],Mod[#,3]==0 && #
Harvey P. Dale, Mar 06 2022 *)
Comments