Svoboda | Graniru | BBC Russia | Golosameriki | Facebook
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)

Revision History for A183133

(Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A183133 Number of steps to compute the n-th prime in PRIMEGAME using Kilminster's Fractran program with only nine fractions.
(history; published version)
#29 by Joerg Arndt at Fri Apr 02 02:45:21 EDT 2021
STATUS

reviewed

approved

#28 by Michel Marcus at Fri Apr 02 02:34:03 EDT 2021
STATUS

proposed

reviewed

#27 by Jean-François Alcover at Fri Apr 02 02:28:37 EDT 2021
STATUS

editing

proposed

#26 by Jean-François Alcover at Fri Apr 02 02:28:19 EDT 2021
MATHEMATICA

a[n_] := a[n] = Module[{l, p, m, k},

l = {3/11, 847/45, 143/6, 7/3, 10/91, 3/7, 36/325, 1/2, 36/5};

If[n == 1, b[0] = 10; a[0] = 0, a[n - 1]]; p = b[n - 1];

For[m = 1, True, m++,

For[k = 1, !IntegerQ[p*l[[k]]], k++];

p = p*l[[k]]; If[10^(Length@IntegerDigits[p]-1) == p, Break[]]];

b[n] = p; m + a[n - 1]];

Array[a, 20] (* Jean-François Alcover, Apr 02 2021, after Alois P. Heinz *)

STATUS

approved

editing

#25 by Alois P. Heinz at Fri Mar 09 12:11:43 EST 2018
STATUS

editing

approved

#24 by Alois P. Heinz at Fri Mar 09 12:11:41 EST 2018
LINKS

Eric W. Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/FRACTRAN.html">FRACTRAN</a>.

STATUS

approved

editing

#23 by Alois P. Heinz at Sat Apr 02 20:37:21 EDT 2016
STATUS

editing

approved

#22 by Alois P. Heinz at Sat Apr 02 20:37:17 EDT 2016
LINKS

Wikipedia, <a href="https://en.wikipedia.org/wiki/FRACTRAN">FRACTRAN</a>.

STATUS

approved

editing

#21 by Alois P. Heinz at Sun May 03 20:16:18 EDT 2015
STATUS

editing

approved

#20 by Alois P. Heinz at Sun May 03 20:16:14 EDT 2015
MAPLE

for k while not type ((p*l[k], integer)

seq ((a(n), n=1..20);

STATUS

approved

editing

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 12 14:14 EDT 2024. Contains 375851 sequences. (Running on oeis4.)