Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

A relation of the prime counting function π\piπ to counting the ordered ways of a number nnn as a sum of two primes and two questions?

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

The definitions are from these two questions:

  • https://math.stackexchange.com/questions/3164216/a-series-related-to-prime-numbers

  • https://math.stackexchange.com/questions/4349186/trying-to-understand-apply-the-hilbert-serre-theorem-in-a-specific-situation

Let H(t)H(t)H(t) be the Hilbert–Poincaré series of V:=⨁n∈NVnV := \bigoplus_{n\in \mathbb{N}} V_n V:=⨁n∈N​Vn​, where Vn:=⟨log⁡(1),⋯ ,log⁡(n)⟩QV_n := \left\langle \log(1), \cdots, \log(n) \right\rangle_{\mathbb{Q}}Vn​:=⟨log(1),⋯,log(n)⟩Q​ where it is used that:

log⁡(n)=∑p∣nvp(n)log⁡(p)\log(n) = \sum_{p\mid n} v_p(n) \log(p)log(n)=∑p∣n​vp​(n)log(p)

log⁡(p)\log(p)log(p) with ppp prime, are linearly independent over the rational numbers.

Then π(n)=dim⁡Q(Vn)\pi(n) = \dim_{\mathbb{Q}}(V_n)π(n)=dimQ​(Vn​).

So we have H(t)=∑n=1∞π(n)tnH(t) = \sum_{n=1} ^{\infty} \pi(n)t^nH(t)=∑n=1∞​π(n)tn where π(n)\pi(n)π(n) is the prime counting function. By the prime number theorem, the radius of convergence is 111. Observing π(n)=π(n−1)+1\pi(n) = \pi(n-1)+1π(n)=π(n−1)+1 if nnn is prime and π(n)=π(n−1)\pi(n) = \pi(n-1)π(n)=π(n−1) if nnn is composite, we might rewrite this as H(t)=f(t)/(1−t)H(t) = f(t)/(1-t)H(t)=f(t)/(1−t) where f(t)=∑p prime tpf(t) =\sum_{p \text{ prime }} t^pf(t)=∑p prime ​tp. Define the sequence bnb_nbn​ for n=−1,0,1,2,⋯n=-1,0,1,2,\cdotsn=−1,0,1,2,⋯ as f′(t)/f(t)=∑n=−1bntn f'(t)/f(t) = \sum_{n=-1} b_n t^nf′(t)/f(t)=∑n=−1​bn​tn. Then we can recover the primes from this sequence:

p=2+∑q<p,q prime bp−1−q p = 2 + \sum_{q <p, q \text{ prime }} b_{p-1-q}p=2+∑q<p,q prime ​bp−1−q​

For example:

For example the first coefficients are given by the series:

2∗t(−1)+1+(−1)∗t+4∗t2+(−5)∗t3+11∗t4+(−16)∗t5+22∗t6+(−37)∗t7+67∗t8+(−101)∗t9+166∗t10+(−260)∗t11+404∗t12+(−652)∗t13+⋯2*t^{(-1)} + 1 + (-1)*t + 4*t^2 + (-5)*t^3 + 11*t^4 + (-16)*t^5 + 22*t^6 + (-37)*t^7 + 67*t^8 + (-101)*t^9 + 166*t^{10} + (-260)*t^{11} + 404*t^{12} + (-652)*t^{13} + \cdots 2∗t(−1)+1+(−1)∗t+4∗t2+(−5)∗t3+11∗t4+(−16)∗t5+22∗t6+(−37)∗t7+67∗t8+(−101)∗t9+166∗t10+(−260)∗t11+404∗t12+(−652)∗t13+⋯

so b−1=2,b0=1,b1=−1,b2=4b_{-1} = 2, b_0 = 1, b_1 = -1 , b_2 = 4b−1​=2,b0​=1,b1​=−1,b2​=4 etc.

We have for example:

3=2+b0=2+13 = 2+b_0 = 2+13=2+b0​=2+1

5=2+b2+b1=2+4−15 = 2+b_2+b_1 = 2+4-15=2+b2​+b1​=2+4−1

7=2+b4+b3+b1=2+11−5−17 = 2+b_4+b_3+b_1 = 2+11-5-17=2+b4​+b3​+b1​=2+11−5−1 Let an,ka_{n,k}an,k​ denote the number of ordered ways of writing nnn as a sum of kkk primes. Then after some calculation, one finds that: an,k=kn−2k∑v=0n−1av,kbn−1−va_{n,k} = \frac{k}{n-2k} \sum_{v=0}^{n-1} {a_{v,k} b_{n-1-v}}an,k​=n−2kk​∑v=0n−1​av,k​bn−1−v​ which is a recurence relation. Furthermore if αn\alpha_nαn​ n=0,1,2,3,⋯n=0,1,2,3,\cdotsn=0,1,2,3,⋯ are all roots of f(t)f(t)f(t) not equal to zero, then for n≥0n\ge 0n≥0 bn=−∑k=0∞1αkn+1 b_n = - \sum_{k=0} ^ \infty \frac{1}{\alpha_k^{n+1}}bn​=−∑k=0∞​αkn+1​1​

The numbers bnb_nbn​ might be computed inductively using: nan,1=∑v=0nbv−1an−v,1 n a_{n,1} = \sum_{v=0}^n b_{v-1} a_{n-v,1}nan,1​=∑v=0n​bv−1​an−v,1​ from which one sees, that bn∈Zb_n \in \mathbb{Z}bn​∈Z.

One real root of f(t)f(t)f(t) seems to be the number,

γ=−0.62923⋯\gamma = -0.62923 \cdotsγ=−0.62923⋯

(OEIS: http://oeis.org/A078756 )

For γ\gammaγ numerical coincidences suggest that:

lim⁡n→∞bnbn+1=γ=−0.629233⋯\lim_{n \rightarrow \infty} \frac{b_n}{b_{n+1}} = \gamma = -0.629233\cdotslimn→∞​bn+1​bn​​=γ=−0.629233⋯

which could be one way to define γ\gammaγ. Then one has to show, that this limit exists and that f(γ)=0f(\gamma) = 0f(γ)=0.

Q1) If someone has an idea in this direction,that would be nice.

Using H(t)2=f(t)2/(1−t)2H(t)^2 = f(t)^2/(1-t)^2H(t)2=f(t)2/(1−t)2 and the Cauchy-formula for multiplication of power series and comparing coefficients of ttt, one finds that:

π∗(n):=∑k=0nπ(k)π(n−k)=∑k=0nak,2(n−k+1)\pi^*(n):=\sum_{k=0}^n \pi(k) \pi(n-k) = \sum_{k=0}^n a_{k,2}(n-k+1)π∗(n):=∑k=0n​π(k)π(n−k)=∑k=0n​ak,2​(n−k+1)

Solving this last formula for an,2a_{n,2}an,2​ and using induction on nnn we find that:

an,2=π∗(n)−2π∗(n−1)+π∗(n−2)a_{n,2} = \pi^*(n)-2 \pi^*(n-1)+\pi^*(n-2)an,2​=π∗(n)−2π∗(n−1)+π∗(n−2)

which reflects the title chosen. Using this, the Goldbach conjecture might be written as:

∀n≥2:π∗(2n)+π∗(2n−2)2>π∗(2n−1)\forall n \ge 2: \frac{\pi^*(2n)+\pi^*(2n-2)}{2} > \pi^*(2n-1)∀n≥2:2π∗(2n)+π∗(2n−2)​>π∗(2n−1)

A quick test shows, that this inequality is very difficult to achieve...:

n lhs rhs lhs>rhs
0 0.0 0 False
1 0.0 0 False
2 0.5 0 True
3 4.5 4 True
4 15.0 14 True
5 33.5 32 True
6 59.0 58 True
7 91.5 90 True
8 134.0 132 True
9 186.0 184 True
10 248.0 246 True
11 322.5 320 True
12 409.0 406 True
13 508.5 506 True
14 620.0 618 True
15 741.0 738 True
16 874.0 872 True
17 1021.5 1018 True
18 1184.0 1180 True
19 1359.5 1358 True
20 1547.0 1544 True
21 1748.0 1744 True
22 1965.0 1962 True
23 2199.5 2196 True
24 2451.0 2446 True
25 2722.0 2718 True
26 3011.0 3008 True
27 3315.0 3310 True
28 3637.0 3634 True
29 3975.5 3972 True
30 4330.0 4324 True
31 4704.5 4702 True
32 5099.0 5094 True
33 5514.0 5508 True
34 5948.0 5946 True
35 6399.0 6394 True
36 6870.0 6864 True
37 7364.5 7360 True
38 7883.0 7878 True
39 8425.0 8418 True

On the other hand we know that

π∗(n)−2π∗(n−1)+π∗(n−2)=an,2=2n−4∑v=0n−1av,2bn−1−v\pi^*(n)-2 \pi^*(n-1)+\pi^*(n-2) = a_{n,2} = \frac{2}{n-4} \sum_{v=0}^{n-1} {a_{v,2} b_{n-1-v}}π∗(n)−2π∗(n−1)+π∗(n−2)=an,2​=n−42​∑v=0n−1​av,2​bn−1−v​

Hence there is a relation between π∗\pi^*π∗ and the numbers blb_lbl​. Nowing this relation we might insert for blb_lbl​ the π∗\pi^*π∗ and hence get a "formula" for the nnn-th prime in terms of evaluation of π∗\pi^*π∗, since

p=2+∑q<pbp−1−q p = 2+ \sum_{q<p} b_{p-1-q}p=2+∑q<p​bp−1−q​

Q2) Is it possible to find such a relation?

Attachment: Here is the computation for the recurence relation of an,ka_{n,k}an,k​: For k≥1k\ge 1k≥1 we have on the one hand: log⁡(f(t)k)′=kf(t)k−1f′(t)f(t)k=kf′(t)f(t)=∑n=−1∞kbntn\log(f(t)^k)' = \frac{k f(t)^{k-1} f'(t)}{f(t)^k} = k \frac{f'(t)}{f(t)} = \sum_{n=-1}^\infty k b_n t^nlog(f(t)k)′=f(t)kkf(t)k−1f′(t)​=kf(t)f′(t)​=∑n=−1∞​kbn​tn

On the other hand it is f(t)k=∑n=0∞an,ktnf(t)^k = \sum_{n=0}^\infty a_{n,k}t^nf(t)k=∑n=0∞​an,k​tn which means that log⁡(f(t)k)′=∑n=0∞nan,ktn−1∑n=0∞an,ktn\log(f(t)^k)' = \frac{\sum_{n=0}^\infty n a_{n,k} t^{n-1}}{\sum_{n=0}^\infty a_{n,k} t^{n}}log(f(t)k)′=∑n=0∞​an,k​tn∑n=0∞​nan,k​tn−1​

Hence it follows, that (by multiplying with the denominator): ∑n=0∞nan,ktn−1=k(∑n=0∞an,ktn)(∑n=0bn−1tn)1t\sum_{n=0}^\infty n a_{n,k} t^{n-1} = k (\sum_{n=0}^\infty a_{n,k} t^{n}) (\sum_{n=0} b_{n-1}t^n) \frac{1}{t}∑n=0∞​nan,k​tn−1=k(∑n=0∞​an,k​tn)(∑n=0​bn−1​tn)t1​

After multiplying with ttt and using the Cauchy product formula we get:

∑n=0∞nan,ktn=∑n=0∞k(∑v=0nav,kbn−1−v)tn\sum_{n=0}^{\infty} n a_{n,k} t^{n} = \sum_{n=0}^\infty k( \sum_{v=0}^n a_{v,k}b_{n-1-v})t^n∑n=0∞​nan,k​tn=∑n=0∞​k(∑v=0n​av,k​bn−1−v​)tn

and comparing coefficients we find that:

nan,k=k(∑v=0nav,kbn−1−v)n a_{n,k} = k ( \sum_{v=0}^n a_{v,k} b_{n-1-v})nan,k​=k(∑v=0n​av,k​bn−1−v​)

and with b−1=2b_{-1} = 2b−1​=2 it follows after solving this equation for an,ka_{n,k}an,k​ that:

an,k=kn−2k∑v=0n−1av,kbn−1−v a_{n,k} = \frac{k}{n-2k} \sum_{v=0}^{n-1} a_{v,k} b_{n-1-v}an,k​=n−2kk​∑v=0n−1​av,k​bn−1−v​

Especially for k=1k=1k=1 and n=pn=pn=p prime we find that:

p=2+∑q<pbp−1−q p = 2+ \sum_{q<p} b_{p-1-q}p=2+∑q<p​bp−1−q​

Edit: It seems that the π∗\pi^*π∗ functions satisfies the following inequality: Suppose x1,x2,⋯ ,xnx_1,x_2,\cdots,x_nx1​,x2​,⋯,xn​ are natural numbers such that the arithemetic mean of these numbers is also a natural number, then my conjecture is :

1n∑i=1nπ∗(xi)≥π∗(1n∑i=1nxi)\frac{1}{n} \sum_{i=1}^n \pi^*(x_i) \ge \pi^*(\frac{1}{n} \sum_{i=1}^n x_i)n1​∑i=1n​π∗(xi​)≥π∗(n1​∑i=1n​xi​)

Q3) If a proof of this inequality can be done, then it would be nice to share it.

Thanks for your help!

Notice that for x1=2n,x2=2n−2x_1 = 2n, x_2 = 2n-2x1​=2n,x2​=2n−2 and ≥\ge≥ replaced with >>> we have the Goldbach conjecture.

Statement and context adapted from MathOverflow · Orges Leka

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Irrational number
A real number that cannot be written as a ratio of two integers. For example, √2 is irrational, while 3/7 is rational. A decimal approximation cannot decide this.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · prime-numbers · conjectures · goldbach-type-problems

Authors listed by the source : Orges Leka

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : January 6, 2022

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni