Type in an input for N (e.g. 72) and the program will process it. The out list is the output of each computation; every time N is set to nf. The last index of the list will be the final output, given that the program halts. The frac list stores fractions in integer form, being numerators and denominators. Odd numbers are numerators, and even numbers vice versa.
Scratch implementation based on Truttle1's FRACTRAN interpreter using TypeScript. https://youtu.be/TVNos1W65O0?t=5m20s Desmos implementation of FRACTRAN: https://www.desmos.com/calculator/k4gyicg8xq More information about the language below: https://en.wikipedia.org/wiki/FRACTRAN https://www.youtube.com/watch?v=GIPtnEIQCBM