login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A203907 Successor function for Conway's PRIMEGAME. 3
55, 15, 165, 30, 275, 45, 1, 60, 495, 75, 13, 90, 11, 105, 825, 120, 1, 135, 77, 150, 3, 26, 95, 180, 1375, 22, 1485, 210, 77, 225, 1705, 240, 29, 2, 5, 270, 2035, 23, 33, 300, 2255, 315, 2365, 52, 2475, 190, 2585, 360, 7, 375, 19, 44, 2915, 405, 65, 420 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) <= 55 * n, as 55/1 is the last and largest FRACTRAN fraction;

iterations, starting with 2, give A007542; A185242 begins with 3.

LINKS

_Reinhard Zumkeller_, Table of n, a(n) for n = 1..10000

Eric Weisstein's World of Mathematics, FRACTRAN

FORMULA

Let [17/91, 78/85, 19/51, 23/38, 29/33, 77/29, 95/23, 77/19, 1/17, 11/13, 13/11, 15/2, 1/7, 55/1] be the list of FRACTRAN fractions = [A202138(k)/A203363(k) : 1<=k<=14], then a(n) = n*f, where f is the first term yielding an integral product.

MATHEMATICA

conwayFracs = {17/91, 78/85, 19/51, 23/38, 29/33, 77/29, 95/23, 77/19, 1/17, 11/13, 13/11, 15/2, 1/7, 55}; conwayProc[n_] := Module[{curr = 1/2, iter = 1}, While[Not[IntegerQ[curr]], curr = conwayFracs[[iter]]n; iter++]; Return[curr]]; Table[conwayProc[n], {n, 60}] (* Alonso del Arte, Jan 24 2012 *)

PROG

(Haskell)

import Data.Ratio ((%), numerator, denominator)

a203907 n = numerator $ head

   [x | x <- map (* fromInteger n) fracts, denominator x == 1]

   where fracts = zipWith (%) a202138_list a203363_list

a203907_list = map a203907 [1..]

CROSSREFS

Cf. A007542.

Sequence in context: A182119 A057965 A083516 * A220134 A178509 A033375

Adjacent sequences:  A203904 A203905 A203906 * A203908 A203909 A203910

KEYWORD

nonn,easy,nice

AUTHOR

Reinhard Zumkeller, Jan 24 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified June 20 06:36 EDT 2013. Contains 226422 sequences.