sicp-all-tasks/sicp/2_002e41

15 lines
195 B

Exercise 2.41: Write a procedure to find all
ordered triples of distinct positive integers
i
,
j
, and
k
less than
or equal to a given integer
n
that sum to a given integer
s
.