MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Prime count question


On 13 May 2012, at 09:02, J.Jack.J. wrote:

> Let pi(x) be the number of primes greater than or equal to x.

This "number" is infinity for every finite x=E2=80=A6???

If you mean less or equal than it is implemented in Mathematica as the function PrimePi


>
> Then how do I find, through Mathematica, x such that
>
> t(x) = pi(x) / ((x/ln(x))*(1+1/ln(x) + 2.51/(ln^2(x))))
>
> is the highest t(y) such that  599 <= y <= 355991?
>
> Many thanks in advance -- thanks also to those who helped with my
> previous question.
>

t[x_] := PrimePi[x]/(x/Log[x] + (1 + 1/Log[x] + 2.51/Log[x]^2))


 Maximize[{t[x], 599 <= x <= 355991}, x]

{1.15703, {x -> 607.004}}

Andrzej Koz=C5=82owski=



  • Prev by Date: Re: does siri use mathematica?
  • Next by Date: Re: Prime count question
  • Previous by thread: Prime count question
  • Next by thread: Re: Prime count question