A242360 Irregular triangular array of numerators of the positive rational numbers ordered as in Comments.
1, 2, 3, 1, 4, 3, 1, 5, 5, 4, 2, 1, 6, 7, 7, 5, 5, 3, 2, 1, 7, 9, 10, 8, 9, 7, 7, 6, 4, 3, 3, 2, 1, 8, 11, 13, 11, 13, 11, 12, 11, 9, 8, 10, 9, 7, 5, 5, 4, 4, 3, 3, 2, 1, 9, 13, 16, 14, 17, 15, 17, 16, 14, 13, 17, 16, 13, 11, 12, 11, 13, 11, 13, 11, 8, 6, 7
Offset: 1
Examples
First 6 rows of the array of rationals: 1/1 2/1 3/1 ... 1/2 4/1 ... 3/2 ... 1/3 5/1 ... 5/2 ... 4/3 ... 2/3 ... 1/4 6/1 ... 7/2 ... 7/3 ... 5/3 ... 5/4 ... 3/4 ... 2/5 ... 1/5 The numeratorss, by rows: 1,2,3,1,4,3,1,5,5,4,2,1,6,7,7,5,5,3,2,1.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..2500
Programs
-
Mathematica
z = 12; g[1] = {1}; f1[x_] := x + 1; f2[x_] := 1/x; h[1] = g[1]; b[n_] := b[n] = DeleteDuplicates[Union[f1[g[n - 1]], f2[g[n - 1]]]]; h[n_] := h[n] = Union[h[n - 1], g[n - 1]]; g[n_] := g[n] = Complement [b[n], Intersection[b[n], h[n]]]; t = Table[Reverse[g[n]], {n, 1, z}] Denominator[Flatten[t]] (* A242359 *) Numerator[Flatten[t]] (* A242360 *)
Comments