cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A242361 Irregular triangular array of denominators of the positive rational numbers ordered as in Comments.

This page as a plain text file.
%I A242361 #4 Jun 11 2014 21:18:54
%S A242361 1,1,2,2,3,3,1,3,5,3,5,2,5,8,4,5,8,4,3,1,4,8,7,13,7,4,8,7,13,7,3,5,2,
%T A242361 7,13,7,12,21,11,11,5,7,13,7,12,21,11,11,5,5,8,4,3,1,5,11,11,21,12,9,
%U A242361 19,18,34,19,10,18,9,5,11,11,21,12,9,19,18,34
%N A242361 Irregular triangular array of denominators of the positive rational numbers ordered as in Comments.
%C A242361 Let F = A000045 (the Fibonacci numbers).  To construct the array of positive rationals, decree that row 1 is (1) and row 2 is (2).   Thereafter, row n consists of the following numbers in increasing order: the F(n-2) numbers 1/x from numbers x > 1 in row n-1, together with the F(n-3) numbers 1 + 1/x from numbers x < 1 in row n - 1, together with the F(n - 2) numbers (2*x + 1)/ (x + 1) from numbers x in row n-2.  Row n consists of F(n) numbers ranging from 1/((n+1)/2) to n/2 if n is odd and from 2/(n-1) to (n+2)/2 if n is even.
%H A242361 Clark Kimberling, <a href="/A242361/b242361.txt">Table of n, a(n) for n = 1..5000</a>
%e A242361 First 6 rows of the array of rationals:
%e A242361 1/1
%e A242361 2/1
%e A242361 1/2 ... 3/2
%e A242361 2/3 ... 5/3 ... 3/1
%e A242361 1/3 ... 3/5 ... 4/3 ... 8/5 ... 5/2
%e A242361 2/5 ... 5/8 ... 3/4 ... 7/5 ... 13/8 .. 7/4 ... 8/3 ... 4/1
%e A242361 The denominators, by rows:  1,1,2,2,3,3,1,3,5,3,5,2,5,8,4,5,8,4,3,1,...
%t A242361 z = 18; g[1] = {1}; f1[x_] := 1 + 1/x; f2[x_] := 1/x; h[1] = g[1]; b[n_] := b[n] = DeleteDuplicates[Union[f1[g[n - 1]], f2[g[n - 1]]]];
%t A242361 h[n_] := h[n] = Union[h[n - 1], g[n - 1]];
%t A242361 g[n_] := g[n] = Complement [b[n], Intersection[b[n], h[n]]]
%t A242361 u = Table[g[n], {n, 1, z}]; v = Flatten[u]; Length[v]
%t A242361 Denominator[v];  (* A242361 *)
%t A242361 Numerator[v];    (* A242363 *)
%Y A242361 Cf. A242363, A242359, A243574, A000045.
%K A242361 nonn,easy,tabf,frac
%O A242361 1,3
%A A242361 _Clark Kimberling_, Jun 08 2014