83

I sat an exam 2 months ago and the question paper contains the problem:

Given that there are $168$ primes below $1000$. Then the sum of all primes below 1000 is

(a) $11555$ (b) $76127$ (c) $57298$ (d) $81722$

My attempt to solve it: We know that below $1000$ there are $167$ odd primes and 1 even prime (2), so the sum has to be odd, leaving only the first two numbers. Then I tried to use the formula "Every prime can be written in of the form $6n-1$,$6n+1$ except $2$ and $3$.", but I got stuck at that.

Bill Dubuque
  • 282,220
  • 7
    Only (b) is really plausible on size. I'd expect the average size to be in the 400-500 area, but definitely less than 500. Then you have eliminated (c) and (d) on parity anyway. – Joffan Jan 30 '17 at 02:27
  • 1
    Could you specify what kind of calculator/computer you are allowed to rely on for an answer? – user1717828 Jan 30 '17 at 14:29
  • 12
    Just by "multiple-choice psychology" I expect both obviously wrong answers (c) and (d) to be somehow close to (and ideally on both sides of) the correct answer. This is the case only if (b) is the correct answer. – Curd Jan 30 '17 at 16:22
  • @Curd, that is not a proof, that is an educated guess or value judgment, based on "psychology". I agree with your guess, but my agreement does not make it a proof. But still an interesting answer/comment :) – SlimsGhost Jan 30 '17 at 17:41
  • 4
    @SlimsGhost: I know what a mathematical proof looks like, but nobody was asking for a proof. I'm just making fun of multiple-choice tests. – Curd Jan 30 '17 at 20:24
  • 5
    I have to say, that this test question is horrible. It's gimicky and relies on a lot of mental jumps, the opposite of what a test question should do. – HopefullyHelpful Jan 31 '17 at 09:18
  • 3
    According to OEIS A034387 (both "Comments" and "Formula") one can approximate the answer by $1000^2/(2\log 1000)$ which gives $72382.4$. This suggests that (a) could be wrong. That same reference has a "Link" with Table of n, a(n) for n = 1..10000. – Jeppe Stig Nielsen Jan 31 '17 at 12:44
  • @Curd sorry, my mistake with the comment. I was just trying to have fun too, promise :) Still love the question and answers and comments on this one. – SlimsGhost Jan 31 '17 at 16:17
  • A key multiple-choice insight is that we don't need to accurately estimate the sum, since (C),(D) are infeasible and (A) implies an impossibly low average of 68.8, as several answers pointed out. So we never need to compute or accurately estimate (B). It's interesting, but not necessary to answering the MC question. – smci Feb 01 '17 at 01:04
  • 1
    one more way : if 1 to 169 were the 169 first prime, the sum will already be 14365, and this is setting lower bounds standards very, very low – Archie Feb 01 '17 at 14:30
  • 1
    @HopefullyHelpful I disagree. I think this is a very good test question. This question requires the student really to think and use their creativity. – wythagoras Feb 01 '17 at 20:49

8 Answers8

154

The sum of the first 168 positive integers is $\frac{168^2+168}{2}=14196$, which is greater than answer (a). The sum of the first 168 primes must be even greater than that.

Meni Rosenfeld
  • 4,113
  • 2
  • 17
  • 26
  • Oscar Lanzi has a similar answer (which is earlier); yours is a bit more simple (but your bound is only half as good, though already good enough to exclude (a)). – Jeppe Stig Nielsen Jan 31 '17 at 14:59
  • 4
    I agree Oscar's answer is similar, and it helped inspire this one. But I think it's instructive to show just how obviously too low (a) is, and how trivially simple the bound that excludes it can be. That said I didn't quite expect this answer to be so popular, I guess people like simplicity... – Meni Rosenfeld Jan 31 '17 at 21:19
  • 4
    Beauty lies in simplicity. – Brian Feb 01 '17 at 03:33
62

you just have to decide between $11555$ and $76127$.

Notice that the first implies the average prime under $1000$ is $11555/168<69$. Which is clearly false.

Asinomás
  • 107,565
  • 9
    To clarify, note that there are only 19 primes under 69 and the remaining 149 primes are larger. Hence there is no way to arrive at this average. – user1952500 Jan 30 '17 at 09:27
  • 1
    Or the other way round, the average of the primes <1000 should be below 500, since the density decreases. So the sum should be below 168*500 = 84000. That leaves only 76127. – Florian F Jan 30 '17 at 11:39
  • 5
    @FlorianF Well… no, not really. 11,555 is obviously wrong, but it is definitely below 84,000. – Janus Bahs Jacquet Jan 30 '17 at 17:51
  • I just independently used the same method. Florian's estimate for (B) is a ballpark overestimate. Accuracy doesn't matter because (A) is infeasible because it implies an impossibly low mean. So we already know the answer can only be (B), whatever (B) is. We weren't asked to estimate (B) more accurately, in which case we'd integrate some Prime-counting function e.g. per the OEIS sequence @JeppeStigNielsen cites. – smci Feb 01 '17 at 01:00
  • One doesn't even need to count the number of primes under $69$. We're told that there are $168$ primes below $1000$, so the average of the primes below $1000$ is certainly greater than the average of the first $168$ positive integers, which is $169/2$. Of course, this is essentially the content of Meni Rosenfeld's answer... – Alex Wertheim Feb 02 '17 at 02:17
44

We have to decide among $\text{(A)}$ and $\text{(B)}$. Note that the $26$th prime is $101$. This implies that if $p_{n}$ denotes the $n$ th prime, then $$\sum_{n=1}^{168}p_{n} = \sum_{n=1}^{25}p_{n}+\sum_{n=26}^{168} p_{n} > \sum_{n=26}^{168} 101 =101 \times 143=14443 >\text{(A)}=11555$$

The answer is thus $\text{(B)}$, $76127$. The answer can be confirmed through direct calculation or can be verfied here.

S.C.B.
  • 23,106
34

There are $168$ primes with the first one equal to $2$ the rest $\ge 2k-1$ for $k=2,3,4,...,168$. So their sum is at least $168^2+1=28 225$.

Oscar Lanzi
  • 48,208
  • 1
    (a) would mean that the average prime is $<70$, which is horrendously implausible, for me good enough to pick (b) instead. - But this answer is the formal reason why it's implausible – Hagen von Eitzen Jan 30 '17 at 20:22
15

I just wanted to carry forward your observation about "Every prime can be written in of the form $(6n-1),(6n+1)$ except $2$ & $3$".

We can quickly get a minimum sum out of this. Assume that the $166$ primes not $2$ or $3$ are the smallest such numbers obeying the above; then $83$ are $6k{-}1$, $83$ are $6k{+}1$ and the minimum bound total is $83$ terms of $12k$, which is $12\cdot 84 \cdot 83 /2 = 504\cdot 83 = 41832$ - and we can decoratively add the $2$ and $3$ to get $41837$. This is more than big enough to eliminate option (a) as required.

Oscar Lanzi
  • 48,208
Joffan
  • 40,356
13

Your analysis that the answer must be $(a)$ or $(b)$ is convincing. Considering that $(a)$ and $(b)$ are much different, just about any simplistic method to approximate the sum of all primes should tell which is the right answer.

For example, the sum of all numbers less than $1000$ is about $500,000$. So, $\cfrac{168}{1000} \times 500,000$ or $84,000$ should be in the right ballpark. $76127$ is the right answer, by this reasoning.

stretch
  • 644
  • Yup you got me to upvote. A comparison test, see another answer, easily limits the size of the "ballpark" thus settling the question. – Oscar Lanzi Jan 30 '17 at 02:08
  • 2
    I edited out the meta-commentary (as we call it... well, at least as I call it) because we try to stay away from that stuff on SE. Anyway, I think you've got nothing to worry about. This method is legit, because the four answer choices are separated by enough to easily distinguish between them. – David Z Jan 30 '17 at 05:12
8

Primes except for $2$ are all odd, and you have $168$ distinct primes, so their sum must be at least $2 + \sum_{k=2}^{168} (2k-1) = 2 + (168^2-1) > 160^2 = 25600 > 11555$. So option (a) is out and only (b) remains.

user21820
  • 60,745
  • 1
    Of course, the question is so weak that taking the first $168$ positive integers suffices, but it's even easier to get a bound using odd positive integers! – user21820 Jan 30 '17 at 11:48
0

The methods provided previously are very correct. However, I would like to share my approach as I believe this is even simpler. It's less calculative, and more logical.

Sum is odd ⇒ answer is either (a) or (b)

Taking the number in (a) 11555 we divide it by 168 [to get the average]

11555/168≈69

69<168/2

An average of 168 distinct numbers can be less than 168/2(=84) iff at-least some of them are negative.

Which is clearly not possible since we are dealing with whole numbers.

⇒ only possible answer remain (b).