4 lines
267 B
Text
4 lines
267 B
Text
findTaxi[n_] := Sort[Keys[Select[Counts[Flatten[Table[x^3 + y^3, {x, 1, n}, {y, x, n}]]], GreaterThan[1]]]];
|
|
Take[findTaxiNumbers[100], 25]
|
|
found=findTaxiNumbers[1200][[2000 ;; 2005]]
|
|
Map[Reduce[x^3 + y^3 == # && x >= y && x > 0 && y > 0, {x, y}, Integers] &, found]
|