OFFSET
1,3
COMMENTS
From L. Edson Jeffery, Dec 17 2011: (Start)
Arrange the ordered pairs in rows
(1,1)
(2,1),(1,2)
(3,1),(2,2),(1,3)
LINKS
G. H. Hardy, A Course of Pure Mathematics (1921), p. 1.
FORMULA
Triangle format R(n,m) of ordered pairs (R(n,2r-1), R(n,2r)) with R(n,2r-1)=n+1-r and R(n,2r)=r and generating the rational (n+1-r)/r.
EXAMPLE
Triangle begins:
1,1 : 1/1;
2,1,1,2 : 2/1, 1/2;
3,1,2,2,1,3 : 3/1, 2/2, 1/3;
4,1,3,2,2,3,1,4 : 4/1, 3/2, 2/3, 1/4;
5,1,4,2,3,3,2,4,1,5 : 5/1, 4/2, 3/3, 2/4, 1/5;
...
MATHEMATICA
Flatten[Table [{n+1-r, r}, {n, 9}, {r, n}]]
u[x_] := Floor[3/2 + Sqrt[2*x]]; v[x_] := Floor[1/2 + Sqrt[2*x]]; n[x_] := 1 - x + u[x]*(u[x] - 1)/2; k[x_] := x - v[x]*(v[x] - 1)/2; Flatten[Table[{n[m], k[m]}, {m, 45}]] (* L. Edson Jeffery, Jun 20 2015 *)
PROG
(PARI) for(n=1, 9, for(r=1, n, print1(n+1-r", "r", "))) \\ Charles R Greathouse IV, Dec 20 2011
CROSSREFS
KEYWORD
easy,nonn,tabf
AUTHOR
Frank M Jackson, Oct 04 2010
EXTENSIONS
Typo corrected and tabl changed to tabf by Frank M Jackson, Oct 07 2010
STATUS
approved