OFFSET
1,2
COMMENTS
(1) Row 1 of R consists of principal and intermediate convergents to x; however, not all intermediate convergents occur; e.g., 10/7, 58/41, 338/239 are missing.
(2) (row limits of R) = x; (column limits of R) = 0.
(3) Every positive integer occurs exactly once in D, so that as a sequence, A143529 is a permutation of the positive integers.
FORMULA
For any positive irrational number x, define an array D by successive rows as follows: D(n,k) = least positive integer q not already in D such that there exists an integer p such that 0 < |x - p/q| < |x - c/d| for every positive rational number c/d that has 0 < d < q. Thus p/q is the "best remaining approximate" of x when all better approximates are unavailable. For each q, define N(n,k)=p and R(n,k)=p/q. Then R is the "array of best remaining approximates of x," D is the corresponding array of denominators and N, of numerators.
EXAMPLE
Northwest corner of D:
1 2 3 5
4 6 7 10
8 9 13 14
11 16 20 32
Northwest corner of R:
1/1 3/2 4/3 7/5
6/4 8/6 10/7 14/10
11/8 13/9 18/13 20/14
16/11 23/16 28/20 45/32
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Aug 23 2008
STATUS
approved