31

I'm interested in this question because it relates to a bad joke about people in their prime.

It seems to work for the first 20 numbers:

4 is the average of 5 and 3.
6 is the average of 5 and 7.
8 is the average of 5 and 11.
$\vdots$
16 is the average of 13 and 19.
$\vdots$

It would not be hard to write a program that checks more cases, but I suspect the hypothesis is true. If that is the case, then a more mathematical approach is needed.

geometrian
  • 3,036

4 Answers4

51

So you are asking whether for every composite number $n$ there exist primes $p,q$ such that $$n=\frac{p+q}{2}$$ That is, $2n=p+q$, so you are asking whether $2n$ can be written as the sum of two primes.

The question whether every even integer greater than $2$ is a sum of two primes is a famous open problem known as the Goldbach conjecture.

J.R.
  • 17,904
  • 3
    Of yes, I see that this is the Goldbach conjecture (poorly) disguised. Thanks to all who answered. – William Kurdahl Mar 10 '15 at 11:38
  • 13
    Technically, OP's question is slightly weaker than Goldbach, because they assume $n$ is composite, while Goldbach does not. Does that assumption change anything? – Kevin Mar 10 '15 at 13:43
  • 1
    Wow 17 upvotes? Nice.... – Panglossian Oporopolist Mar 10 '15 at 13:45
  • @Kevin $n$ is composite? The title says "is every composite number the average of two primes", not "is every $2n\ (n \not\in \mathbb{P})$ the average of two primes. Or am I reading your comment wrong? – Cole Tobin Mar 10 '15 at 14:34
  • 2
    @ColeJohnson Goldbach's asserts that any even number $2n$ can be written as the sum of two primes. But since OP restricts $n$ to be composite, OP's conjecture is less strong than Goldbach's conjecture, for e.g. Goldbach's states that $2 \cdot 7 = 14$ can be written as the sum of two primes, whereas OP's conjecture says nothing about $n = 7$ since $7$ is not composite. – Thomas Mar 10 '15 at 14:51
  • @Thomas Oh. I see. Thanks. I get all his conjectures/theorems/etc. mixed up a lot. – Cole Tobin Mar 10 '15 at 14:53
  • 10
    On the other hand, it is rather trivial to show that every prime number is the average of two primes. I would consider the stated question equivalent to the Goldbach conjecture. – Umberto P. Mar 10 '15 at 16:02
  • @user314 He, nor the question said 2 OTHER primes. A prime p, is the average of p and p. – Cruncher Mar 10 '15 at 16:27
  • -1 because this isn't something the Goldbach conjecture can be reduced to. – user541686 Mar 11 '15 at 07:11
  • Could you elaborate? @Mehrdad – Panglossian Oporopolist Mar 11 '15 at 07:18
  • 4
    @Mehrad: Goldbach asks whether 2n can be written as the sum of two primes. We split into two cases: n is prime and n is composite. By solving the n is prime case (for instance by noting that 2n = n + n) we have reduced the Goldbach conjecture to the remaining case which is equivalent to the OP's question. Am I missing something? – Vincent Mar 11 '15 at 10:50
  • @Vincent: Sorry, poor wording of my comment. I meant you should've mentioned the other case (prime n) is trivial, since right now it seems like you've stated the two problems are equivalent, whereas they're not quite. Happy to upvote you when you do (just ping me). – user541686 Mar 13 '15 at 04:50
7

This is almost the same as the Goldbach conjecture, that every even number from four is the sum of two primes.
It has been checked into the quintillions (no, really!) but not proven. In 2013, a similar theorem was proven by Harald Helfgott, that every odd number from seven up is the sum of three primes.

Empy2
  • 50,853
  • 1
    It was Vinogradov who first proved the weak Goldbach conjecture, at least for all large enough integers. – Anonymous999 Mar 11 '15 at 10:46
  • 1
    @Anonymous999: "at least for" is misleading, at least it sounds that way to me; "only for" is more accurate. And "large enough" had only explicit bounds that were way, way too huge to have hope of reaching computationally, and thus more theoretical work was required to prove the theorem, provided by Helfgott. Certainly you're correct that Helfgott's result relied on Vinogradov. [I'm just relying on what experts have said about this.] – Jonas Meyer Mar 11 '15 at 12:44
6

A generalized equation would be in the form of:

$$x =\frac{P_1+P_2}{2}$$

Where $x \in Z^+$, and $P_1,P_2 \in Z^p$ (Here, I define $Z^p$ to be a prime number).

It can be rewritten as $$2x = P_1+P_2$$

Let $2x=a$ Then the equation is: $$a = P_1+P_2$$


I.e. Your question's generalised form ($x =\frac{P_1+P_2}{2}$) is akin to the Goldbach Conjecture: http://en.wikipedia.org/wiki/Goldbach%27s_conjecture

-5

I think that it is all about prime gap.

If all natural numbers larger than 4 can be proved that it is the average of primes, the Goldbach's Conjecture will be solved, immediately