"Source: Text/Aggregates/Set.text";
"Line: 312";
"Date: Wed Nov 13 15:56:29 2019";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Aggregates/Set.text, line: 312
// Example: H10E2 ()
print "Example: H10E2";
ei := GetEchoInput();
SetEchoInput(true);
cubes := { Integers() | x^3 : x in [1..1000] };
plus := { <a, b> : a in [2..1000], b in [2..1000] | \
   b ge a and (a^3+b^3-1) in cubes };
plus;
SetEchoInput(ei);
