Talk:Greedy algorithm for Egyptian fractions

From Rosetta Code
Revision as of 17:43, 3 April 2014 by rosettacode>Ledrug (→‎Still incorrect as is: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Still incorrect as is

I added incorrect tags on both REXX and Perl 6 solutions earlier, then RC went offline before I could post in this talk page. Although now the incorrect tags are removed and description changed to allow an integer in front of the expansion, it's still a cop-out. There should not be an integer term, because any rational number, whether larger than 1 or not, can be represented as a proper sum of unit fractions. In fact, it's dubious to even allow 1/1 as a term in the expansion.

The current solutions can be defended as "they match the task description", but it's better to do things right, instead of fudging the task requirement to suit existing examples. --Ledrug (talk) 17:43, 3 April 2014 (UTC)