Taxicab numbers: Difference between revisions
Content added Content deleted
Line 238: | Line 238: | ||
(defn next-pair [[i j]] |
(defn next-pair [[i j]] |
||
" Generate next [i j] pair of sequence (producing lower triangle pairs " |
" Generate next [i j] pair of sequence (producing lower triangle pairs) " |
||
(if (< j i) |
(if (< j i) |
||
[i (inc j)] |
[i (inc j)] |