Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.math > #331657 > unrolled thread

Legendre 1.08366

Started byDavid Bernier <david250@videotron.ca>
First post2016-04-12 13:50 -0400
Last post2016-04-13 19:39 +0000
Articles 17 — 6 participants

Back to article view | Back to sci.math


Contents

  Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-12 13:50 -0400
    Legendre 1.08366 timmy1729 <tommy1729@gmail.com> - 2016-04-12 12:52 -0700
      Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-12 18:22 -0400
        Re: Legendre 1.08366 timmy1729 <tommy1729@gmail.com> - 2016-04-12 17:24 -0700
          Re: Legendre 1.08366 R Kym Horsell <kym@kymhorsell.com> - 2016-04-13 00:32 +0000
          Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-12 23:18 -0400
          Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 02:48 -0400
            Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 02:49 -0400
        Re: Legendre 1.08366 abu.kuanysh05@gmail.com - 2016-04-12 17:24 -0700
    Re: Legendre 1.08366 bert <bert.hutchings@btinternet.com> - 2016-04-13 03:48 -0700
      Re: Legendre 1.08366 timmy1729 <tommy1729@gmail.com> - 2016-04-13 04:01 -0700
        Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 11:06 -0400
          Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 11:27 -0400
      Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 11:15 -0400
        Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 11:56 -0400
          Re: Legendre 1.08366 David Bernier <david250@videotron.ca> - 2016-04-13 12:09 -0400
          Re: Legendre 1.08366 James Waldby <not@valid.invalid> - 2016-04-13 19:39 +0000

#331657 — Legendre 1.08366

FromDavid Bernier <david250@videotron.ca>
Date2016-04-12 13:50 -0400
SubjectLegendre 1.08366
Message-ID<nejcbk$8k8$1@dont-email.me>
Legendre  1.08366

is a good pair of strings/keywords to do Google searches on prime number
counting.

The reason is that Adrien-Marie Legendre, in his well-known
1830 book Theorie des nombres,

approximated
pi(x) by:

      x
----------------------
log(x) - 1.08366

This was cited by many 19th and even 20th century authors, so
it leeds for example to British articles by Glaisher in the late
1800s using extended prime tables to ~= 6 million,
and comparing Legendre's formula to
pi(x) ~= li(x), and so on.

David Bernier



-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [next] | [standalone]


#331662

Fromtimmy1729 <tommy1729@gmail.com>
Date2016-04-12 12:52 -0700
Message-ID<7f8222fc-4e02-4b8d-a382-7c48fbde06a3@googlegroups.com>
In reply to#331657
And the point is ?

Was there a good reason to use 1.08366 INSTEAD of 1 , OTHER than curve fitting from the small primes ?

If not it seems useless ...

Regards 

Tommy1729

[toc] | [prev] | [next] | [standalone]


#331678

FromDavid Bernier <david250@videotron.ca>
Date2016-04-12 18:22 -0400
Message-ID<nejs8d$p8q$1@dont-email.me>
In reply to#331662
On 04/12/2016 03:52 PM, timmy1729 wrote:
> And the point is ?
> 
> Was there a good reason to use 1.08366 INSTEAD of 1 , OTHER than curve fitting from the small primes ?
> 
> If not it seems useless ...
> 
> Regards 
> 
> Tommy1729
> 


Thinking as a "data scientist", you can try for any positive x  to find
a number A(x) such that:

pi(x) =  x/(log(x) - A(x)).

As a rule, because x/log(x) underestimates pi(x) substantially,
we need an estimator larger than x/log(x), and x/(log(x) - A) fits
the bill, for A > 0.

i.e. A > 0 implies:  x/(log(x) - A) >  x/log(x)  , which
is in the right direction.

For x = 10^8, I find
A(x) = A(10^8) ~=
1.0639540143328509571472858249154126319888350108334609318404426682761573941146892

N.B.:  Wikipedia in Italian has some very nice graphs
of the "constant" of Legendre, meaning the 'A' that solves
x/(log(x) - A)  = pi(x) ,
for x up to 10^5 in one graph,
and x up to 10^7 in the second:

the fake "constant" of Legendre is denoted B.

Ref.:
Costante di Legendre,
https://it.wikipedia.org/wiki/Costante_di_Legendre

Dave



-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331687

Fromtimmy1729 <tommy1729@gmail.com>
Date2016-04-12 17:24 -0700
Message-ID<56f43343-8938-4a68-a8e4-9a7ce29ecb34@googlegroups.com>
In reply to#331678
In other words ... NO.

It was just curve fitting and guessing.

Regards

Tommy1729

[toc] | [prev] | [next] | [standalone]


#331693

FromR Kym Horsell <kym@kymhorsell.com>
Date2016-04-13 00:32 +0000
Message-ID<nek433$1jv6$1@gioia.aioe.org>
In reply to#331687
timmy1729 <tommy1729@gmail.com> wrote:
> In other words ... NO.
> It was just curve fitting and guessing.
> Regards
> Tommy1729


I could say a guesser suspects everyone else is a guesser.
But I'd be guessing.

-- 
<http://tinyurl.com/9oh9ldo>

[toc] | [prev] | [next] | [standalone]


#331715

FromDavid Bernier <david250@videotron.ca>
Date2016-04-12 23:18 -0400
Message-ID<nekdk0$h5b$1@dont-email.me>
In reply to#331687
On 04/12/2016 08:24 PM, timmy1729 wrote:
> In other words ... NO.
> 
> It was just curve fitting and guessing.
> 
> Regards
> 
> Tommy1729
> 

Why did you de-reference the NULL pointer again ?


-- Dave



-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331721

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 02:48 -0400
Message-ID<nekpts$8ii$1@dont-email.me>
In reply to#331687
On 04/12/2016 08:24 PM, timmy1729 wrote:
> In other words ... NO.
> 
> It was just curve fitting and guessing.
> 
> Regards
> 
> Tommy1729
> 

The primes up to 10^6 are small primes, aye?
Well guess what:

you can't compute on your own steam, with pen and pencil,
pi(x) for 1<= x <= 10^6 .



-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331722

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 02:49 -0400
Message-ID<nekpvv$8ii$2@dont-email.me>
In reply to#331721
On 04/13/2016 02:48 AM, David Bernier wrote:
> On 04/12/2016 08:24 PM, timmy1729 wrote:
>> In other words ... NO.
>>
>> It was just curve fitting and guessing.
>>
>> Regards
>>
>> Tommy1729
>>
> 
> The primes up to 10^6 are small primes, aye?
> Well guess what:
> 
> you can't compute on your own steam, with pen and pencil,
> pi(x) for 1<= x <= 10^6 .
> 
> 
> 

and paper and erasers too...


-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331688

Fromabu.kuanysh05@gmail.com
Date2016-04-12 17:24 -0700
Message-ID<71145c7d-6145-4c0f-8b19-8c51b86c1392@googlegroups.com>
In reply to#331678
yes, but that is only in the lowest primes

> pi(x) =  x/(log(x) - A(x)).
> 
> As a rule, because x/log(x) underestimates pi(x) substantially,
> we need an estimator larger than x/log(x), and x/(log(x) - A) fits
> the bill, for A > 0.
> 
> i.e. A > 0 implies:  x/(log(x) - A) >  x/log(x)  , which
> is in the right direction.
> 
> For x = 10^8, I find
> A(x) = A(10^8) ~=
> 1.0639540143328509571472858249154126319888350108334609318404426682761573941146892
> 
> N.B.:  Wikipedia in Italian has some very nice graphs
> of the "constant" of Legendre, meaning the 'A' that solves
> x/(log(x) - A)  = pi(x) ,
> for x up to 10^5 in one graph,
> and x up to 10^7 in the second:
> 
> the fake "constant" of Legendre is denoted B.
> 
> Ref.:
> Costante di Legendre,
> https://it.wikipedia.org/wiki/Costante_di_Legendre
> 
> Dave
> 
> 
> 
> -- 
> pub   4096R/41C769D6 2014-11-04
> uid                  David Bernier (doubledeckerpot5)
> <david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331724

Frombert <bert.hutchings@btinternet.com>
Date2016-04-13 03:48 -0700
Message-ID<88433d18-8244-4133-a62c-e501d834cac5@googlegroups.com>
In reply to#331657
On Tuesday, 12 April 2016 18:50:58 UTC+1, David Bernier  wrote:
> Adrien-Marie Legendre . . . approximated pi(x) by:
> x / (log(x) - 1.08366)
> This was cited by many 19th and even 20th century authors.

That just shows how misleading an empirical investigation can be. 
Mathworld Wolfram confirms (citing Rosser and Schoenfeld 1962) 
that the true limiting value for sufficiently large x is 1.  It 
appears from their graphs that "sufficiently large" is enormously 
greater than the range of x accessible before the computer era.
-- 

[toc] | [prev] | [next] | [standalone]


#331725

Fromtimmy1729 <tommy1729@gmail.com>
Date2016-04-13 04:01 -0700
Message-ID<e2daca5a-1b04-4bdc-a551-6cd4c8a54de9@googlegroups.com>
In reply to#331724
Thumbs Up for Bert :)

[toc] | [prev] | [next] | [standalone]


#331741

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 11:06 -0400
Message-ID<neln3e$npv$1@dont-email.me>
In reply to#331725
On 04/13/2016 07:01 AM, timmy1729 wrote:
> Thumbs Up for Bert :)
> 

Peace!  My early post in this thread about the tested
range for Legendre didn't get very far and wide, I think, maybe.

I apologize for my outburst at you.

dave


-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331746

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 11:27 -0400
Message-ID<nelob2$318$1@dont-email.me>
In reply to#331741
On 04/13/2016 11:06 AM, David Bernier wrote:
> On 04/13/2016 07:01 AM, timmy1729 wrote:
>> Thumbs Up for Bert :)
>>
> 
> Peace!  My early post in this thread about the tested
> range for Legendre didn't get very far and wide, I think, maybe.
> 
> I apologize for my outburst at you.
> 
> dave
> 
> 

For the record,

it wasn't a post: it was an email I sent to Tommy1729 at
Date = "Tue, 12 Apr 2016 17:31:20 -0400" :


========= Begin Copy Email From me to Tommy1729 ===============


On 04/12/2016 03:52 PM, timmy1729 wrote:
> And the point is ?
>
> Was there a good reason to use 1.08366 INSTEAD of 1 , OTHER than curve
fitting from the small primes ?

Yes, of course, for the range Legendre explored.

It gave a very good fit to the data he had available then.

It wasn't the small primes: it went up to 1,000,000 .

Secondly, x/log(x)  underestimates pi(x):

x = 100, round(100/log(100)) = 22; pi(100) = 25.
x = 10^3, round((10^3)/log(10^3)) = 145; pi(10^3) = 168

More to the point, with x = 10^6,

x/(log(x) -1) rounded is:        78,030

x/(log(x) - 1.08366) rounded is: 78,543

pi(x) is:  78,498

so:
| pi(10^6) - round(10^6/(log(10^6) -1))|  = 468 ,
  while
| pi(10^6) - round(10^6/(log(10^6) -1.08366))| =  45

and lastly:

| pi(10^6) -  round(10^6/log(10^6)) |  = 6116 ,

so x/log(x) is out by 6116 for x = 10^6 .

Dave


>
> If not it seems useless ...
>
> Regards
>
> Tommy1729
>


=====================End of Copy of  Email======================


David Bernier

[toc] | [prev] | [next] | [standalone]


#331743

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 11:15 -0400
Message-ID<nelnks$so7$1@dont-email.me>
In reply to#331724
On 04/13/2016 06:48 AM, bert wrote:
> On Tuesday, 12 April 2016 18:50:58 UTC+1, David Bernier  wrote:
>> Adrien-Marie Legendre . . . approximated pi(x) by:
>> x / (log(x) - 1.08366)
>> This was cited by many 19th and even 20th century authors.
> 
> That just shows how misleading an empirical investigation can be. 
> Mathworld Wolfram confirms (citing Rosser and Schoenfeld 1962) 
> that the true limiting value for sufficiently large x is 1.  It 
> appears from their graphs that "sufficiently large" is enormously 
> greater than the range of x accessible before the computer era.
> 

Yes, I agree. Also, in the absence of proof of a good knowledge
of where the non-trivial zeta zeros lie in the critical strip,
out to infinity, the graphs with counts of primes (or approximate counts)
don't show the "error bars" (absent further knowledge of zeta zeros)
of pi(x) vs. li(x) , or  | pi(x) - li(x)|
representatitvely, i.e. | pi(x) - li(x) | ~ O(1/sqrt(x))


__for the tested range of x only___  .

Riemann Hypothesis at Wikipedia:

https://en.wikipedia.org/wiki/Riemann_hypothesis

and (better):

Prime-counting function at Wikipedia:

https://en.wikipedia.org/wiki/Prime-counting_function

especially the Section on Inequalities.

dave



-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331747

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 11:56 -0400
Message-ID<nelq0r$in7$1@dont-email.me>
In reply to#331743
On 04/13/2016 11:15 AM, David Bernier wrote:
> On 04/13/2016 06:48 AM, bert wrote:
>> On Tuesday, 12 April 2016 18:50:58 UTC+1, David Bernier  wrote:
>>> Adrien-Marie Legendre . . . approximated pi(x) by:
>>> x / (log(x) - 1.08366)
>>> This was cited by many 19th and even 20th century authors.
>>
>> That just shows how misleading an empirical investigation can be. 
>> Mathworld Wolfram confirms (citing Rosser and Schoenfeld 1962) 
>> that the true limiting value for sufficiently large x is 1.  It 
>> appears from their graphs that "sufficiently large" is enormously 
>> greater than the range of x accessible before the computer era.
>>
> 
> Yes, I agree. Also, in the absence of proof of a good knowledge
> of where the non-trivial zeta zeros lie in the critical strip,
> out to infinity, the graphs with counts of primes (or approximate counts)
> don't show the "error bars" (absent further knowledge of zeta zeros)
> of pi(x) vs. li(x) , or  | pi(x) - li(x)|
> representatitvely, i.e. | pi(x) - li(x) | ~ O(1/sqrt(x))
> 
> 
> __for the tested range of x only___  .
> 
> Riemann Hypothesis at Wikipedia:
> 
> https://en.wikipedia.org/wiki/Riemann_hypothesis
> 
> and (better):
> 
> Prime-counting function at Wikipedia:
> 
> https://en.wikipedia.org/wiki/Prime-counting_function
> 
> especially the Section on Inequalities.
> 
> dave
> 
> 
> 

I was thinking that for paper, pencil and logarithm tables calculation
on a desert island,

There's a best 'B' of Legendre by range of x:

we could set-up the ranges as covering six orders
of magnitude (powers of ten):


for x = 1 to 10^6, let B =  ...
for x = 10^6 to 10^12, let B = ...
for x = 10^12 to 10^18, let B = ...
for x = 10^18,to 10^24, let B = ...
for x = 10^24,to 10^30, let B = ...
for x = 10^30,to 10^36, let B = ...
for x = 10^36,to 10^42, let B = ...
for x = 10^42,to 10^48, let B = ...
for x = 10^48,to 10^54, let B = ...
for x = 10^54,to 10^60, let B = ...
for x = 10^60,to 10^66, let B = ...
for x = 10^66,to 10^72, let B = ...
for x = 10^72,to 10^78, let B = ...
for x = 10^78,to 10^84, let B = ...
for x = 10^84,to 10^90, let B = ...
for x = 10^90,to 10^96, let B = ...
for x = 10^96,to 10^102, let B = ...
for x = 10^102,to 10^108, let B = ...
for x = 10^108,to 10^114, let B = ...
for x = 10^114,to 10^120, let B = ...
for x = 10^120,to 10^126, let B = ...
for x = 10^126,to 10^132, let B = ...
for x = 10^132,to 10^138, let B = ...
for x = 10^138,to 10^144, let B = ...
for x = 10^144,to 10^150, let B = ...
for x = 10^150,to 10^156, let B = ...
for x = 10^156,to 10^162, let B = ...
for x = 10^162,to 10^168, let B = ...
for x = 10^168,to 10^174, let B = ...
for x = 10^174,to 10^180, let B = ...
for x = 10^180,to 10^186, let B = ...
for x = 10^186,to 10^192, let B = ...
for x = 10^192,to 10^198, let B = ...
for x = 10^198,to 10^204, let B = ...
for x = 10^204,to 10^210, let B = ...
for x = 10^210,to 10^216, let B = ...
for x = 10^216,to 10^222, let B = ...
for x = 10^222,to 10^228, let B = ...
for x = 10^228,to 10^234, let B = ...
for x = 10^234,to 10^240, let B = ...
for x = 10^240,to 10^246, let B = ...
for x = 10^246,to 10^252, let B = ...
for x = 10^252,to 10^258, let B = ...
for x = 10^258,to 10^264, let B = ...
for x = 10^264,to 10^270, let B = ...
for x = 10^270,to 10^276, let B = ...
for x = 10^276,to 10^282, let B = ...
for x = 10^282,to 10^288, let B = ...
for x = 10^288,to 10^294, let B = ...
for x = 10^294,to 10^300, let B = ...

and so on.

My question:

" When does the "Best B" for a range such as above drop below 1.01 ? "




Dave
-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331749

FromDavid Bernier <david250@videotron.ca>
Date2016-04-13 12:09 -0400
Message-ID<nelqpd$qi3$1@dont-email.me>
In reply to#331747
On 04/13/2016 11:56 AM, David Bernier wrote:
> On 04/13/2016 11:15 AM, David Bernier wrote:
>> On 04/13/2016 06:48 AM, bert wrote:
>>> On Tuesday, 12 April 2016 18:50:58 UTC+1, David Bernier  wrote:
>>>> Adrien-Marie Legendre . . . approximated pi(x) by:
>>>> x / (log(x) - 1.08366)
>>>> This was cited by many 19th and even 20th century authors.
>>>
>>> That just shows how misleading an empirical investigation can be. 
>>> Mathworld Wolfram confirms (citing Rosser and Schoenfeld 1962) 
>>> that the true limiting value for sufficiently large x is 1.  It 
>>> appears from their graphs that "sufficiently large" is enormously 
>>> greater than the range of x accessible before the computer era.
>>>
>>
>> Yes, I agree. Also, in the absence of proof of a good knowledge
>> of where the non-trivial zeta zeros lie in the critical strip,
>> out to infinity, the graphs with counts of primes (or approximate counts)
>> don't show the "error bars" (absent further knowledge of zeta zeros)
>> of pi(x) vs. li(x) , or  | pi(x) - li(x)|
>> representatitvely, i.e. | pi(x) - li(x) | ~ O(1/sqrt(x))
>>
>>
>> __for the tested range of x only___  .
>>
>> Riemann Hypothesis at Wikipedia:
>>
>> https://en.wikipedia.org/wiki/Riemann_hypothesis
>>
>> and (better):
>>
>> Prime-counting function at Wikipedia:
>>
>> https://en.wikipedia.org/wiki/Prime-counting_function
>>
>> especially the Section on Inequalities.
>>
>> dave
>>
>>
>>
> 
> I was thinking that for paper, pencil and logarithm tables calculation
> on a desert island,
> 
> There's a best 'B' of Legendre by range of x:
> 
> we could set-up the ranges as covering six orders
> of magnitude (powers of ten):
> 
> 
> for x = 1 to 10^6, let B =  ...
> for x = 10^6 to 10^12, let B = ...
> for x = 10^12 to 10^18, let B = ...
> for x = 10^18,to 10^24, let B = ...
> for x = 10^24,to 10^30, let B = ...
> for x = 10^30,to 10^36, let B = ...
> for x = 10^36,to 10^42, let B = ...
> for x = 10^42,to 10^48, let B = ...
> for x = 10^48,to 10^54, let B = ...
> for x = 10^54,to 10^60, let B = ...
> for x = 10^60,to 10^66, let B = ...
> for x = 10^66,to 10^72, let B = ...
> for x = 10^72,to 10^78, let B = ...
> for x = 10^78,to 10^84, let B = ...
> for x = 10^84,to 10^90, let B = ...
> for x = 10^90,to 10^96, let B = ...
> for x = 10^96,to 10^102, let B = ...
> for x = 10^102,to 10^108, let B = ...
> for x = 10^108,to 10^114, let B = ...
> for x = 10^114,to 10^120, let B = ...
> for x = 10^120,to 10^126, let B = ...
> for x = 10^126,to 10^132, let B = ...
> for x = 10^132,to 10^138, let B = ...
> for x = 10^138,to 10^144, let B = ...
> for x = 10^144,to 10^150, let B = ...
> for x = 10^150,to 10^156, let B = ...
> for x = 10^156,to 10^162, let B = ...
> for x = 10^162,to 10^168, let B = ...
> for x = 10^168,to 10^174, let B = ...
> for x = 10^174,to 10^180, let B = ...
> for x = 10^180,to 10^186, let B = ...
> for x = 10^186,to 10^192, let B = ...
> for x = 10^192,to 10^198, let B = ...
> for x = 10^198,to 10^204, let B = ...
> for x = 10^204,to 10^210, let B = ...
> for x = 10^210,to 10^216, let B = ...
> for x = 10^216,to 10^222, let B = ...
> for x = 10^222,to 10^228, let B = ...
> for x = 10^228,to 10^234, let B = ...
> for x = 10^234,to 10^240, let B = ...
> for x = 10^240,to 10^246, let B = ...
> for x = 10^246,to 10^252, let B = ...
> for x = 10^252,to 10^258, let B = ...
> for x = 10^258,to 10^264, let B = ...
> for x = 10^264,to 10^270, let B = ...
> for x = 10^270,to 10^276, let B = ...
> for x = 10^276,to 10^282, let B = ...
> for x = 10^282,to 10^288, let B = ...
> for x = 10^288,to 10^294, let B = ...
> for x = 10^294,to 10^300, let B = ...
> 
> and so on.
> 
> My question:
> 
> " When does the "Best B" for a range such as above drop below 1.01 ? "
> 
> 
> 
> 
> Dave
> 

A range could be divided up in a geometric progression
into 10, 20, or 30 points or values of x, plus or minus 1.

The error of an estimate Estimate could be calculated not
as  Estimate - True_Value , but rather
logarithmically, as:

error bar = log_10 ( (Estimate)/(True_Value) ) .

The technique of Least squares ( a ``regression'' in statistics?)
could be used to fix the so-called Best B  for a given range.


dave

-- 
pub   4096R/41C769D6 2014-11-04
uid                  David Bernier (doubledeckerpot5)
<david250@videotron.ca>

[toc] | [prev] | [next] | [standalone]


#331764

FromJames Waldby <not@valid.invalid>
Date2016-04-13 19:39 +0000
Message-ID<nem7a9$a6p$2@dont-email.me>
In reply to#331747
On Wed, 13 Apr 2016 11:56:18 -0400, David Bernier wrote:
> On 04/13/2016 11:15 AM, David Bernier wrote:
>> On 04/13/2016 06:48 AM, bert wrote:
>>> On Tuesday, 12 April 2016 18:50:58 UTC+1, David Bernier  wrote:
>>>> Adrien-Marie Legendre . . . approximated pi(x) by:
>>>> x / (log(x) - 1.08366)
>>>> This was cited by many 19th and even 20th century authors.
>>>
>>> That just shows how misleading an empirical investigation can be. 
>>> Mathworld Wolfram confirms (citing Rosser and Schoenfeld 1962) 
>>> that the true limiting value for sufficiently large x is 1.  It 
>>> appears from their graphs that "sufficiently large" is enormously 
>>> greater than the range of x accessible before the computer era.
>>>
>> Yes, I agree. Also, in the absence of proof of a good knowledge
>> of where the non-trivial zeta zeros lie in the critical strip,
>> out to infinity, the graphs with counts of primes (or approximate counts)
>> don't show the "error bars" (absent further knowledge of zeta zeros)
>> of pi(x) vs. li(x) , or  | pi(x) - li(x)|
>> representatitvely, i.e. | pi(x) - li(x) | ~ O(1/sqrt(x))
>> 
>> __for the tested range of x only___  .
>> Riemann Hypothesis at Wikipedia:
>> https://en.wikipedia.org/wiki/Riemann_hypothesis ...
>> Prime-counting function at Wikipedia:
>> https://en.wikipedia.org/wiki/Prime-counting_function
>> especially the Section on Inequalities.
...
> There's a best 'B' of Legendre by range of x:
> we could set-up the ranges as covering six orders
> of magnitude (powers of ten):
> for x = 1 to 10^6, let B =  ...
> for x = 10^6 to 10^12, let B = ...
> for x = 10^12 to 10^18, let B = ...
...
> My question:
> " When does the "Best B" for a range such as above drop below 1.01 ? "

A technique for bounding that occurrence is use of more-accurate
approximations to pi(x), as appear in the "Consequence One" section
of <http://primes.utm.edu/howmany.html#1> in the utm.edu webpage 
"How Many Primes Are There?".  Dusart (January 1999) showed 
(for x>598) that  f(x, 0.992) < pi(x) < f(x, 1.2762), 
where f(x,k) = (x/log x)*(1 + k/log x).

At x = 10^123, f(x, 1.2762)/f(x, 0.992) is about 1.001, which it
seems to me with proper algebra ought to allow estimation of two
or three digits of B(x).  

Some apparently-tighter bounds -- via asymptotic series -- appear at 
the end of the "Consequence Two" section.

-- 
jiw

[toc] | [prev] | [standalone]


Back to top | Article view | sci.math


csiph-web