Sum and product puzzle: Difference between revisions

m
Line 2,139:
% The number X+Y has only one sum decomposition for which fact 2 is true.
Solutions3 = [[X,Y] : [X,Y] in Solutions2, foreach([XX,YY] in Solutions2, XX + YY = X + Y) XX = X, YY = Y end],
 
println(Solutions3).
</lang>