A 'FRACTRAN' Interpreter and Some Helper Functions

'FRACTRAN' is an obscure yet tantalizing programming language invented by John Conway of 'Game of Life' fame. The code consists of a sequence of fractions. The rules are simple. First, select an integer to initialize the process. Second, multiply the integer by the first fraction. If an integer results, start again with the new integer. If not, try the next fraction. Finally, if no such multiplication yields an integer, terminate the program. For more information, see < https://en.wikipedia.org/wiki/FRACTRAN> .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Rfractran")

1.0.1 by Carl Witthoft, 3 years ago


Browse source code at https://github.com/cran/Rfractran


Authors: Carl Witthoft [aut, cre]


Documentation:   PDF Manual  


LGPL-3 license


Depends on gmp


See at CRAN