What is a Simplified Expression for pi(x)?

  • Thread starter Thread starter serge
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary
The discussion revolves around deriving a simplified expression for the prime counting function pi(x) using Wilson's theorem and the gamma function. It introduces a function h(x) that evaluates to zero for primes and one for non-prime integers greater than four, leading to a formula for pi(x) based on a summation. Participants inquire about converting the summation into an integral and differentiating it to find d pi(x) / dx. They also explore the possibility of expressing h(x) as an infinite product and simplifying the pi(x) expression further. The conversation highlights the complexity of the topic and the potential for alternative approaches to derive pi(x).
serge
Messages
8
Reaction score
0
Yet another formula for pi(x) (prime number counting function)
start with wilson's therorem : p is prime iff p divides (p-1)! + 1
let G(x) be the gamma function
then p is prime iff sin(pi*(G(x)+1)/x) = 0
let f be the function x -> sin(pi*(G(x)+1)/x)

Since f(x) = sin(pi*G(x)/x+pi/x) and because G(x)/x is integer (and even) when x is an integer <> 4,
for any integer x, non prime and different from 4, f(x) = sin(pi/x)

Then let h(x) = f(x) / sin(pi/x) = sin(pi*(G(x)+1)/x) / sin(pi/x)

h(x) = 0 if x is prime
h(x) = 1 for any non prime integer x >4
h(4) = -1

therefore, for x >= 5,

pi(x) = x-2+sum[k=5..x, h(k)] :smile:

Questions :
1) Is there a way to convert this sum into an integral and have a cool expression of pi(x) ?

2) is there a way to differentiate this sum and then have an expression
of d pi(x) / dx ?

3) since sin(pi*x) = pi*x*product[n=1..inf, 1-(x/n)^2)],
and G(x)=(x-1)*G(x-1),
is there a way to express h(x) as an infinite product, and then simplify it and simplfy the above expression of pi(x) ?
 
Last edited:
Physics news on Phys.org
don,t want to discourage you ( i think your formulation is interesting) but there are a lots of function exact (with a triple integral, i myself have obtained several integral forms for the PI(x)...

A hint to transform a series into an integral you can make use of the equality:

\sum_{0}^{\infty}a(n)=\int_{-\infty}^{\infty}dxa(x)w(x)

where a(n) is the general term of the series and w(x) is the Laplace inverse transform of:

\frac{1}{1-e^{-s}}

Another approach (exact formula) is using the Poisson,s summation formula:

\sum_{n=0}^{\infty}A(n)=\int_0^{\infty}dxA(x)\sum_{n=-\infty}^{\infty}e^{inx}

hope it helps...if you wait a bit you will be able to hear the critics of shmoe and Matt Grime about your approach to Pi(x)..(don,t hope it be positive though..:))
 
Last edited:
Segre: you can write a much shorter derivation.

If I define g by:

<br /> g(n) := \left\{<br /> \begin{array}{ll}<br /> 1 \quad &amp; n \mbox{ is prime} \\<br /> 0 &amp; n \mbox{ is not prime}<br /> \end{array}<br />

then it's clear that

<br /> \pi(n) = \sum_{k = 1}^{n} g(k)<br />

right? I'll leave the rest as an exercise.


BTW, you might want to check the convergence conditions before doing any sort of transform.
 
Last edited:
Hurkyl said:
Segre: you can write a much shorter derivation.

If I define g by:

<br /> g(n) := \left\{<br /> \begin{array}{ll}<br /> 1 \quad &amp; n \mbox{ is prime} \\<br /> 0 &amp; n \mbox{ is not prime}<br /> \end{array}<br />

then it's clear that

<br /> \pi(n) = \sum_{k = 1}^{n} g(k)<br />

right?

Right, of course, but my "prime predicate" function has a real argument, not integer, and my hope was that i could use some tricks of real function analysis (eg a transform of some kind) to obtain a new expression for pi(x)
 
you can use transforms, these are well known and have been aobut for 50 years in textbooks.
 
Right, of course, but my "prime predicate" function has a real argument

Not true: x has to be an integer because it's one of the bounds on your summation. :-p

And even if you extended the meaning of &Sigma; notation to allow the upper bound to be a noninteger, you could do exactly the same to the summation I posted as well.
 
I am studying the mathematical formalism behind non-commutative geometry approach to quantum gravity. I was reading about Hopf algebras and their Drinfeld twist with a specific example of the Moyal-Weyl twist defined as F=exp(-iλ/2θ^(μν)∂_μ⊗∂_ν) where λ is a constant parametar and θ antisymmetric constant tensor. {∂_μ} is the basis of the tangent vector space over the underlying spacetime Now, from my understanding the enveloping algebra which appears in the definition of the Hopf algebra...

Similar threads

  • · Replies 26 ·
Replies
26
Views
852
Replies
48
Views
4K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 3 ·
Replies
3
Views
877
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K