Code Golf: Fractran
Fractran – 1779 fractions (Edit: fixed) (I hope people are still following this thread, because this took a while!) It appears SO won’t let me post something as long as this, so I posted the Fractran source here. Input is specified as follows: First, we encode a fraction m/n = p_0^a0… p_k^ak by: Start with … Read more