(Translated by https://www.hiragana.jp/)
The On-Line Encyclopedia of Integer Sequences® (OEIS®)
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 A007542

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

Showing entries 1-10 | older changes
A007542 Successive integers produced by Conway's PRIMEGAME.
(history; published version)
#76 by Michael De Vlieger at Tue Apr 04 07:46:14 EDT 2023
STATUS

proposed

approved

#75 by Michel Marcus at Tue Apr 04 02:01:24 EDT 2023
STATUS

editing

proposed

#74 by Michel Marcus at Tue Apr 04 02:01:19 EDT 2023
LINKS

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

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

STATUS

proposed

editing

#73 by Michael De Vlieger at Mon Apr 03 21:41:15 EDT 2023
STATUS

editing

proposed

#72 by Michael De Vlieger at Mon Apr 03 21:41:10 EDT 2023
LINKS

Kevin I. Piterman and Leandro Vendramin, <a href="https://crossroads-2023.github.io/vendramin/gap.pdf">Computer algebra with GAP</a>, 2023. See p. 40.

STATUS

approved

editing

#71 by Alois P. Heinz at Mon Feb 15 16:03:15 EST 2021
STATUS

proposed

approved

#70 by Michael S. Branicky at Mon Feb 15 15:03:51 EST 2021
STATUS

editing

proposed

#69 by Michael S. Branicky at Mon Feb 15 15:01:51 EST 2021
PROG

def fractran_orbit(start, program, steps):

orbitorb = [start]

for s in range(1, steps): orbitorb.append(succ(orbitorb[-1], program))

return orbitorb

print(fractran_orbit(2, PRIMEGAME, steps=42)) # Michael S. Branicky, Feb 15 2021

#68 by Michael S. Branicky at Mon Feb 15 13:35:27 EST 2021
PROG

(Python)

from fractions import Fraction

nums = [17, 78, 19, 23, 29, 77, 95, 77, 1, 11, 13, 15, 1, 55] # A202138

dens = [91, 85, 51, 38, 33, 29, 23, 19, 17, 13, 11, 2, 7, 1] # A203363

PRIMEGAME = [Fraction(num, den) for num, den in zip(nums, dens)]

def succ(n, program):

for i in range(len(program)):

if (n*program[i]).denominator == 1: return (n*program[i]).numerator

def fractran_orbit(start, program, steps):

orbit = [start]

for s in range(1, steps): orbit.append(succ(orbit[-1], program))

return orbit

print(fractran_orbit(2, PRIMEGAME, steps=42)) # Michael S. Branicky, Feb 15 2021

STATUS

approved

editing

#67 by Susanna Cuyler at Wed Jun 17 21:20:01 EDT 2020
STATUS

proposed

approved

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 6 17:59 EDT 2024. Contains 375718 sequences. (Running on oeis4.)