Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Search: a265773 -id:a265773
     Sort: relevance | references | number | modified | created      Format: long | short | data
Numerators of primes-only best approximates (POBAs) to 1; see Comments.
+10
56
3, 2, 5, 13, 11, 19, 17, 31, 29, 43, 41, 61, 59, 73, 71, 103, 101, 109, 107, 139, 137, 151, 149, 181, 179, 193, 191, 199, 197, 229, 227, 241, 239, 271, 269, 283, 281, 313, 311, 349, 347, 421, 419, 433, 431, 463, 461, 523, 521, 571, 569, 601, 599, 619, 617
OFFSET
1,1
COMMENTS
Suppose that x > 0. A fraction p/q of primes is a primes-only best approximate (POBA), and we write "p/q in B(x)", if 0 < |x - p/q| < |x - u/v| for all primes u and v such that v < q. Note that for some choices of x, there are values of q for which there are two POBAs. In these cases, the greater is placed first; e.g., B(3) = (7/2, 5/2, 17/5, 13/5, 23/7, 19/7, ...).
See A265772 and A265774 for definitions of lower POBA and upper POBA. In the following guide, for example, A001359/A006512 represents (conjecturally in some cases) the Lower POBAs p(n)/q(n) to 1, where p = A001359 and q = A006512 except for first terms in some cases. Every POBA is either a lower POBA or an upper POBA.
x Lower POBA Upper POBA POBA
EXAMPLE
The POBAs for 1 start with 3/2, 2/3, 5/7, 13/11, 11/13, 19/17, 17/19, 31/29, 29/31, 43/41, 41/43, 61/59, 59/61. For example, if p and q are primes and q > 13, then 11/13 is closer to 1 than p/q is.
MATHEMATICA
x = 1; z = 200; p[k_] := p[k] = Prime[k];
t = Table[Max[Table[NextPrime[x*p[k], -1]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tL = Select[d, # > 0 &] (* lower POBA *)
t = Table[Min[Table[NextPrime[x*p[k]]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tU = Select[d, # > 0 &] (* upper POBA *)
v = Sort[Union[tL, tU], Abs[#1 - x] > Abs[#2 - x] &];
b = Denominator[v]; s = Select[Range[Length[b]], b[[#]] == Min[Drop[b, # - 1]] &];
y = Table[v[[s[[n]]]], {n, 1, Length[s]}] (* POBA, A265759/A265760 *)
Numerator[tL] (* A001359 *)
Denominator[tL] (* A006512 *)
Numerator[tU] (* A006512 *)
Denominator[tU] (* A001359 *)
Numerator[y] (* A265759 *)
Denominator[y] (* A265760 *)
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Clark Kimberling, Dec 15 2015
STATUS
approved
Numerators of lower primes-only best approximates (POBAs) to sqrt(2); see Comments.
+10
8
2, 7, 41, 977, 1093, 1373, 1721, 2281, 3121, 3319, 3947, 4903, 4937, 8597, 38287, 64037, 78643
OFFSET
1,1
COMMENTS
Suppose that x > 0. A fraction p/q of primes is a lower primes-only best approximate, and we write "p/q is in L(x)", if u/v < p/q < x < p'/q for all primes u and v such that v < q, where p' is least prime > p.
Let q(1) be the least prime q such that u/q < x for some prime u, and let p(1) be the greatest such u. The sequence L(x) follows inductively: for n > 1, let q(n) is the least prime q such that p(n)/q(n) < p/q < x for some prime p. Let q(n+1) = q and let p(n+1) be the greatest prime p such that p(n)/q(n) < p/q < x.
For a guide to POBAs, lower POBAs, and upper POBAs, see A265759.
EXAMPLE
The lower POBAs to sqrt(2) start with 2/2, 7/5, 41/29, 977/691, 1093/773, 1373/971. For example, if p and q are primes and q > 691, and p/q < sqrt(2), then 977/691 is closer to sqrt(2) than p/q is.
MATHEMATICA
x = Sqrt[2]; z = 200; p[k_] := p[k] = Prime[k];
t = Table[Max[Table[NextPrime[x*p[k], -1]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tL = Select[d, # > 0 &] (* lower POBA *)
t = Table[Min[Table[NextPrime[x*p[k]]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tU = Select[d, # > 0 &] (* upper POBA *)
v = Sort[Union[tL, tU], Abs[#1 - x] > Abs[#2 - x] &];
b = Denominator[v]; s = Select[Range[Length[b]], b[[#]] == Min[Drop[b, # - 1]] &];
y = Table[v[[s[[n]]]], {n, 1, Length[s]}] (* POBA, A265776/A265777 *)
Numerator[tL] (* A265772 *)
Denominator[tL] (* A265773 *)
Numerator[tU] (* A265774 *)
Denominator[tU] (* A265775 *)
Numerator[y] (* A265776 *)
Denominator[y] (* A265777 *)
KEYWORD
nonn,frac,more
AUTHOR
Clark Kimberling, Dec 20 2015
EXTENSIONS
a(15)-a(17) from Robert Price, Apr 05 2019
STATUS
approved
Numerators of upper primes-only best approximates (POBAs) to sqrt(2); see Comments.
+10
8
3, 19, 53, 61, 197, 211, 443, 491, 839, 1051, 1249, 1427, 3701, 17351, 22247, 53569, 61927, 128033
OFFSET
1,1
COMMENTS
Suppose that x > 0. A fraction p/q of primes is an upper primes-only best approximate, and we write "p/q is in U(x)", if p'/q < x < p/q < u/v for all primes u and v such that v < q, where p' is greatest prime < p in case p >= 3.
Let q(1) = 2 and let p(1) be the least prime >= x. The sequence U(x) follows inductively: for n >= 1, let q(n) is the least prime q such that x < p/q < p(n)/q(n) for some prime p. Let q(n+1) = q and let p(n+1) be the least prime p such that x < p/q < p(n)/q(n).
For a guide to POBAs, lower POBAs, and upper POBAs, see A265759.
EXAMPLE
The upper POBAs to sqrt(2) start with 3/2, 19/13, 53/37, 61/43, 197/139, 211/149. For example, if p and q are primes and q > 139, and p/q > sqrt(2), then 197/139 is closer to sqrt(2) than p/q is.
MATHEMATICA
x = Sqrt[2]; z = 200; p[k_] := p[k] = Prime[k];
t = Table[Max[Table[NextPrime[x*p[k], -1]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tL = Select[d, # > 0 &] (* lower POBA *)
t = Table[Min[Table[NextPrime[x*p[k]]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tU = Select[d, # > 0 &] (* upper POBA *)
v = Sort[Union[tL, tU], Abs[#1 - x] > Abs[#2 - x] &];
b = Denominator[v]; s = Select[Range[Length[b]], b[[#]] == Min[Drop[b, # - 1]] &];
y = Table[v[[s[[n]]]], {n, 1, Length[s]}] (* POBA, A265776/A265777 *)
Numerator[tL] (* A265772 *)
Denominator[tL] (* A265773 *)
Numerator[tU] (* A265774 *)
Denominator[tU] (* A265775 *)
Numerator[y] (* A265776 *)
Denominator[y] (* A265777 *)
KEYWORD
nonn,frac,more
AUTHOR
Clark Kimberling, Dec 20 2015
EXTENSIONS
a(14)-a(18) from Robert Price, Apr 05 2019
STATUS
approved
Denominators of upper primes-only best approximates (POBAs) to sqrt(2); see Comments.
+10
7
2, 13, 37, 43, 139, 149, 313, 347, 593, 743, 883, 1009, 2617, 12269, 15731, 37879, 43789, 90533
OFFSET
1,1
COMMENTS
Suppose that x > 0. A fraction p/q of primes is an upper primes-only best approximate, and we write "p/q is in U(x)", if p'/q < x < p/q < u/v for all primes u and v such that v < q, where p' is greatest prime < p in case p >= 3.
Let q(1) = 2 and let p(1) be the least prime >= x. The sequence U(x) follows inductively: for n >= 1, let q(n) is the least prime q such that x < p/q < p(n)/q(n) for some prime p. Let q(n+1) = q and let p(n+1) be the least prime p such that x < p/q < p(n)/q(n).
For a guide to POBAs, lower POBAs, and upper POBAs, see A265759.
EXAMPLE
The upper POBAs to sqrt(2) start with 3/2, 19/13, 53/37, 61/43, 197/139, 211/149. For example, if p and q are primes and q > 139, and p/q > sqrt(2), then 197/139 is closer to sqrt(2) than p/q is.
MATHEMATICA
x = Sqrt[2]; z = 200; p[k_] := p[k] = Prime[k];
t = Table[Max[Table[NextPrime[x*p[k], -1]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tL = Select[d, # > 0 &] (* lower POBA *)
t = Table[Min[Table[NextPrime[x*p[k]]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tU = Select[d, # > 0 &] (* upper POBA *)
v = Sort[Union[tL, tU], Abs[#1 - x] > Abs[#2 - x] &];
b = Denominator[v]; s = Select[Range[Length[b]], b[[#]] == Min[Drop[b, # - 1]] &];
y = Table[v[[s[[n]]]], {n, 1, Length[s]}] (* POBA, A265776/A265777 *)
Numerator[tL] (* A265772 *)
Denominator[tL] (* A265773 *)
Numerator[tU] (* A265774 *)
Denominator[tU] (* A265775 *)
Numerator[y] (* A265776 *)
Denominator[y] (* A265777 *)
KEYWORD
nonn,frac,more
AUTHOR
Clark Kimberling, Dec 20 2015
EXTENSIONS
a(14)-a(18) from Robert Price, Apr 05 2019
STATUS
approved
Numerators of primes-only best approximates (POBAs) to sqrt(2); see Comments.
+10
7
2, 3, 7, 41, 977, 1093, 1373, 1427, 3701, 8597, 22247, 38287, 53569, 61927, 78643
OFFSET
1,1
COMMENTS
Suppose that x > 0. A fraction p/q of primes is a primes-only best approximate (POBA), and we write "p/q in B(x)", if 0 < |x - p/q| < |x - u/v| for all primes u and v such that v < q, and also, |x - p/q| < |x - p'/q| for every prime p' except p. Note that for some choices of x, there are values of q for which there are two POBAs. In these cases, the greater is placed first; e.g., B(3) = (7/2, 5/2, 17/5, 13/5, 23/7, 19/7, ...). See A265759 for a guide to related sequences.
EXAMPLE
The POBAs to sqrt(2) start with 2/2, 3/2, 7/5, 41/29, 977/691, 1093/773, 1373/971, 1427/1009. For example, if p and q are primes and q > 29, then 41/29 is closer to sqrt(2) than p/q is.
MATHEMATICA
x = Sqrt[2]; z = 800; p[k_] := p[k] = Prime[k];
t = Table[Max[Table[NextPrime[x*p[k], -1]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tL = Select[d, # > 0 &] (* lower POBA *)
t = Table[Min[Table[NextPrime[x*p[k]]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tU = Select[d, # > 0 &] (* upper POBA *)
v = Sort[Union[tL, tU], Abs[#1 - x] > Abs[#2 - x] &];
b = Denominator[v]; s = Select[Range[Length[b]], b[[#]] == Min[Drop[b, # - 1]] &];
y = Table[v[[s[[n]]]], {n, 1, Length[s]}] (* POBA, A265776/A265777 *)
Numerator[tL] (* A265772 *)
Denominator[tL] (* A265773 *)
Numerator[tU] (* A265774 *)
Denominator[tU] (* A265775 *)
Numerator[y] (* A265776 *)
Denominator[y] (* A265777 *)
KEYWORD
nonn,frac,more
AUTHOR
Clark Kimberling, Dec 20 2015
EXTENSIONS
a(11)-a(15) from Robert Price, Apr 05 2019
STATUS
approved
Denominators of primes-only best approximates (POBAs) to sqrt(2); see Comments.
+10
7
2, 2, 5, 29, 691, 773, 971, 1009, 2617, 6079, 15731, 27073, 37879, 43789, 55609
OFFSET
1,1
COMMENTS
Suppose that x > 0. A fraction p/q of primes is a primes-only best approximate (POBA), and we write "p/q in B(x)", if 0 < |x - p/q| < |x - u/v| for all primes u and v such that v < q, and also, |x - p/q| < |x - p'/q| for every prime p' except p. Note that for some choices of x, there are values of q for which there are two POBAs. In these cases, the greater is placed first; e.g., B(3) = (7/2, 5/2, 17/5, 13/5, 23/7, 19/7, ...). See A265759 for a guide to related sequences.
EXAMPLE
The POBAs to sqrt(2) start with 2/2, 3/2, 7/5, 41/29, 977/691, 1093/773, 1373/971, 1427/1009. For example, if p and q are primes and q > 29, then 41/29 is closer to sqrt(2) than p/q is.
MATHEMATICA
x = Sqrt[2]; z = 800; p[k_] := p[k] = Prime[k];
t = Table[Max[Table[NextPrime[x*p[k], -1]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tL = Select[d, # > 0 &] (* lower POBA *)
t = Table[Min[Table[NextPrime[x*p[k]]/p[k], {k, 1, n}]], {n, 1, z}];
d = DeleteDuplicates[t]; tU = Select[d, # > 0 &] (* upper POBA *)
v = Sort[Union[tL, tU], Abs[#1 - x] > Abs[#2 - x] &];
b = Denominator[v]; s = Select[Range[Length[b]], b[[#]] == Min[Drop[b, # - 1]] &];
y = Table[v[[s[[n]]]], {n, 1, Length[s]}] (* POBA, A265776/A265777 *)
Numerator[tL] (* A265772 *)
Denominator[tL] (* A265773 *)
Numerator[tU] (* A265774 *)
Denominator[tU] (* A265775 *)
Numerator[y] (* A265776 *)
Denominator[y] (* A265777 *)
KEYWORD
nonn,frac,more
AUTHOR
Clark Kimberling, Dec 20 2015
EXTENSIONS
a(11)-a(15) from Robert Price, Apr 05 2019
STATUS
approved

Search completed in 0.008 seconds