in reply to Re: Efficient enumeration of pandigital fractions
in thread Efficient enumeration of pandigital fractions
Thanks!
Nice ideas here and elsewhere!
One nitpick: your rule 3 (that the last multiplication can't have a carry so that the numerator is base/2 - 1 digits long) doesn't mean that i < n/2, it's e (the first digit of the denominator) that has to be < n/2. i can't be 1, base/2, base-2 and base-1 (and possibly others are excluded for certain bases).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Efficient enumeration of pandigital fractions
by LanX (Saint) on Jul 21, 2018 at 21:24 UTC | |
by kikuchiyo (Hermit) on Jul 22, 2018 at 06:20 UTC |