# Infinity Question: What is the ratio of odd to even numbers?

**URL:** <https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668>\
**Category:** Factual Questions\
**Created:** [September 25, 2001, 12:28pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668 "2001-09-25T12:28:46Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 4:34am UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/61 "2011-09-27T04:34:43Z")

</div>

> [@RayMan](#):
>
> I have said repeatedly in this thread that there is more than one way to approach this problem, and no approach is inherently better than any other.

Sorry; you are right. I had seen and respected that you had said this originally, but forgotten it. With that back in mind, I have no quibble with your posts. (What caused me to forget this immensely sensible statement, I suppose, was your stating that “ **Hari Seldon** is wrong… There is no way that that his pile of coconuts approaches zero as time approaches 1 hour”.)

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 4:36am UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/62 "2011-09-27T04:36:23Z")

</div>

> [@Snarky\_Kong](#):
>
> Could you restate what the coconuts’ positions functions are? Just which pile a certain coconut is in, if any? Like:
> 
> P2(n)=  
> wild if n=0  
> Ape if n=1  
> Monkey if n\>1

Yes, that’s what I mean.

---

<div class="post-metadata">

**Author:** ![RayMan](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RayMan](https://boards.straightdope.com/u/RayMan)\
**Post date:** [September 27, 2011, 4:39am UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/63 "2011-09-27T04:39:16Z")

</div>

> [@Indistinguishable](#):
>
> Sorry; you are right. I had seen and respected that you had said this originally, but forgotten it. With that back in mind, I have no quibble with your posts.

I never felt you were quibbling with me, and I certainly have no quibble with your posts! This is what mathematicians do when discussing an interesting problem. Now we just need to drink lots of beer, submit this to a journal, and try to figure out how to secure funding to do further research in this area.

---

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [September 27, 2011, 1:16pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/64 "2011-09-27T13:16:38Z")

</div>

> [@Indistinguishable](#):
>
> I think you aptly point out an ambiguity in the interpretation of the problem, but that your alternative model isn’t the One True Model either; there’s just this genuine ambiguity. The situation at the end is simply not specified until it’s, well, specified. **Knowing the value of a function at some inputs doesn’t determine its value at any other inputs** , except in the face of an appropriate continuity principle; and in this case, there hasn’t been a particular continuity principle specified. You could specify one, of course, but there isn’t a uniquely distinguished one clearly better than the others.

I would say that my approach is not analogous to knowing the value of a function for 0 \<= t \< 1, but rather that it’s analogous to knowing the derivative of a function for 0 \<= t \<= 0, plus a suitable initial condition (e.g. no coconuts in either cave at t=0). Certainly, in the case of actual functions f(t), you can (often) say what the value of f(1) is in the second case, where you can’t in the first. Not the One True Model, but that gives it a big advantage.

> [@Indistinguishable](#):
>
> Let me put it this way: What we’re quibbling over isn’t math. We’re quibbling over, say, physics: how does the world behave? What principle correctly describes how the world’s state at time t is related to its state over the times prior to t? Which is either an empirical question (if we’re talking about the real world) or just a question of what particular sort of story we’re interested in writing (if we don’t care about the real world, per se). But is not, in any case, a question for which there is some mathematical means to distinguish between correct and incorrect answers. The issue is extramathematical.

We can, though, rule out answers that can be shown to be incorrect. Look at the pipe scenario. “Is mango 1 in the pipe” and “Does section 1 have a mango” must have the same answer. To go further, every approach I’m aware of that will give no coconuts in the ape’s cave will also give no mangoes in section 1. Which means you’re left arguing that there are no mangoes in the pipe, after putting in an infinite number of them, and removing none.

---

<div class="post-metadata">

**Author:** ![Hari\_Seldon](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/hari_seldon/32/5173_2.png) [@Hari\_Seldon](https://boards.straightdope.com/u/Hari_Seldon)\
**Post date:** [September 27, 2011, 2:13pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/65 "2011-09-27T14:13:21Z")

</div>

> [@Indistinguishable](#):
>
> You are presupposing a certain relation between the coconut’s state at the end of the process and the coconut’s state throughout the period prior to the end of the process, **Hari**. That connection is what people are taking issue with as underdetermined by the problem as specified.
> 
> Suppose John and Bill toss a coconut back and forth. John starts out with the coconut. After an hour, he gives it to Bill. After another half an hour, Bill gives it back to John. After another quarter hour, John gives it back to Bill. Etc. Two hours after the start, who has the coconut?

That’s absolutely correct, but the description I gave excluded that. But I described only the actions of gorilla grabs 1000 coconuts, monkey retrieves one and specifically the lowest number one in the gorilla’s cache. Obviously tossing a coconut back and forth invalidates the conclusion. But that’s not what happened. Once a coconut gets into the monkey’s cave it never leaves. And every coconut eventually does.

If you don’t see it, well you don’t and no further explanation by me is likely to help so I will refrain from further comments on this thread.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 3:17pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/66 "2011-09-27T15:17:39Z")

</div>

I think everyone in this thread agrees that “Out of the natural number-indexed coconuts on the island, each leaves the ape’s cave and enters the monkey’s cave in less than an hour. If coconuts remain in the monkey’s cave forever upon entering it (not just remaining there throughout “interval 1”, “interval 2”, “interval 3”, …, but furthermore, we can be assured, at all later times as well (to which we might attach transfinite interval numbers)), then the state of the world after one hour (at the start of interval omega, so to speak) is such that all the natural number-indexed coconuts are in the monkey’s cave (and, thus, none are in the ape’s cave)”.

It’s the principle “If coconuts remain in the monkey’s cave forever upon entering it (not just remaining there throughout ‘interval 1’, ‘interval 2’, ‘interval 3’, …, but furthermore, we can be assured, at all later times as well (to which we might attach transfinite interval numbers))” which people take issue with considering as implicit, because exactly analogous principles must just as well fail.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 3:38pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/67 "2011-09-27T15:38:32Z")

</div>

But, of course, you can always just explicitly say “Once a coconut enters the monkey’s cave, it remains there forever (not just throughout the finitely-indexed intervals, but furthermore, we can be assured, at _all_ later times)”, and then there is zero ambiguity. The only problem was that this _wasn’t_ actually explicitly stated originally.

---

<div class="post-metadata">

**Author:** ![Asympotically\_fat](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Asympotically\_fat](https://boards.straightdope.com/u/Asympotically_fat)\
**Post date:** [September 27, 2011, 3:54pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/68 "2011-09-27T15:54:18Z")

</div>

I doubt the monkey’s cave is big enough to store all the coconuts he’s half-inched from the ape. Perhpas he could use the Hilbert’s Hotel, but I hear that’s full-up already.

---

<div class="post-metadata">

**Author:** ![Half\_Man\_Half\_Wit](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/half_man_half_wit/32/21766_2.png) [@Half\_Man\_Half\_Wit](https://boards.straightdope.com/u/Half_Man_Half_Wit)\
**Post date:** [September 27, 2011, 4:00pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/69 "2011-09-27T16:00:07Z")

</div>

This is a really fun thread to skim, and try to pinpoint precisely where the transition from the abstract to the absurd occurs. I think it’s somewhere around mangos.

---

<div class="post-metadata">

**Author:** ![panamajack](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@panamajack](https://boards.straightdope.com/u/panamajack)\
**Post date:** [September 27, 2011, 4:36pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/70 "2011-09-27T16:36:24Z")

</div>

> [@ZenBeam](#):
>
> We can, though, rule out answers that can be shown to be incorrect. Look at the pipe scenario. “Is mango 1 in the pipe” and “Does section 1 have a mango” must have the same answer. To go further, every approach I’m aware of that will give no coconuts in the ape’s cave will also give no mangoes in section 1. Which means you’re left arguing that there are no mangoes in the pipe, after putting in an infinite number of them, and removing none.

The problem I have with this is that you’re jumping from “there are no mangoes in any particular section of pipe” to “there are no mangoes in the pipe”. But the pipe is infinitely long. It seems equally true to say, “for any particular section of pipe, there are mangoes further down the pipe”. I would not say that because any finite section of pipe is empty, that the infinite pipe is necessarily empty.

**Indistinguishable** , I’d say that objects remaining where they are unless interacted with is assumed to be the normal situation for a physically stated problem. Note that my approach ignores whether or not the pile is infinite, and simply shows that if you assume time 1, there will always be some time in the past at which a coconut was stolen by the monkey.

---

<div class="post-metadata">

**Author:** ![panamajack](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@panamajack](https://boards.straightdope.com/u/panamajack)\
**Post date:** [September 27, 2011, 4:38pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/71 "2011-09-27T16:38:32Z")

</div>

> [@These are my own pants](#):
>
> I doubt the monkey’s cave is big enough to store all the coconuts he’s half-inched from the ape. Perhpas he could use the Hilbert’s Hotel, but I hear that’s full-up already.

No problem; once his cave is full, he just throws them back on the pile.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 4:47pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/72 "2011-09-27T16:47:44Z")

</div>

> [@panamajack](#):
>
> **Indistinguishable** , I’d say that objects remaining where they are unless interacted with is assumed to be the normal situation for a physically stated problem.

Analogously, you might also say the normal situation for a physically stated problem is that a previously increasing quantity does not suddenly drop to zero specifically at time t unless some special interaction occurs specifically at time t to arrest its growth. Yet you propose the ape’s coconuts suddenly drop to zero specifically at one hour from the start, despite no interaction occurring specifically at one hour from the start and the ape’s number of coconuts steadily increasing until then. Which is fine; the norm for a physically stated problem is to assume a number of continuity principles which cannot all hold here. Something has to give, one way or another.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [September 27, 2011, 4:54pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/73 "2011-09-27T16:54:54Z")

</div>

Personally, I think that the simplest model is one where the monkey ends up with every indexed coconut, but that the ape ends up with a countably infinite pile of coconuts none of which are validly indexed.

---

<div class="post-metadata">

**Author:** ![RayMan](https://avatars.discourse-cdn.com/v4/letter/r/e495f1/32.png) [@RayMan](https://boards.straightdope.com/u/RayMan)\
**Post date:** [September 27, 2011, 5:16pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/74 "2011-09-27T17:16:38Z")

</div>

Let _f_(_t_) be the number of coconuts the ape has at time _t_. A continuous function _f_:[0,1] -\> **R** is bounded, since [0,1] is compact. Since the number of coconuts the ape has grows without bound as a function of time (I think/hope we all agree with that!), we are left with the inescapable conclusion that _f_ is not continuous on [0,1]. So we must agree that either _f_(1) is undefined, or _f_(1) is defined in some way such that _f_ is not continuous. Which is **fine** , we can define _f_ however we want–there’s no problem doing so and no one has argued otherwise. It’s just that, you know, this wasn’t specified when the question was originally posed, and it doesn’t jibe with our everyday intuition. Again there’s no problem with that.

> [@Chronos](#):
>
> Personally, I think that the simplest model is one where the monkey ends up with every indexed coconut, but that the ape ends up with a countably infinite pile of coconuts none of which are validly indexed.

This is what I’ve been arguing for a couple of days now, where by “none of which are validly indexed” I specifically mean “indexed in such a manner as to have asymptotic density zero in the set of natural numbers.”

---

<div class="post-metadata">

**Author:** ![Frylock](https://avatars.discourse-cdn.com/v4/letter/f/ce7236/32.png) [@Frylock](https://boards.straightdope.com/u/Frylock)\
**Post date:** [September 27, 2011, 6:31pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/75 "2011-09-27T18:31:12Z")

</div>

> [@Chronos](#):
>
> Personally, I think that the simplest model is one where the monkey ends up with every indexed coconut, but that the ape ends up with a countably infinite pile of coconuts none of which are validly indexed.

What does “validly indexed” mean?

Colloquially, I would have thought the scenario specifies that they are “validly indexed” when it numbers the coconuts in batches of a thousand.

---

<div class="post-metadata">

**Author:** ![Quercus](https://avatars.discourse-cdn.com/v4/letter/q/7ab992/32.png) [@Quercus](https://boards.straightdope.com/u/Quercus)\
**Post date:** [September 27, 2011, 7:00pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/76 "2011-09-27T19:00:31Z")

</div>

> [@C\_K\_Dexter\_Haven](#):
>
> Correct, Zut, pretty much. Unless one defines what is meant by “percentage” in some peculiar way, as a limit of an infinite sequence.
> 
> For example, you could ask what percentage of integers from 0 to 1000 contain the number 3, and you could answer that. You could ask what percentage of integers from 0 to 10,000 contain the number 3, and you could answer that. You could ask what percentage of integers from 0 to N (where N is any finite number), and presumably you could answer that.
> 
> I don’t know the answer to that offhand. I suspect there is no limit to that sequence. The percent of numbers with a 3 in them seems to be pretty fuzzy. For instnce, if you look at numbers from 1 to 2999 you get a much lower percent than if you look at numbers from 1 to 3999, since you’ve just added 1000 numbers that all contain 3.

The OP quote pretty convincingly makes the case that the limit as N -\>infinity is indeed 1. (Sure, it’s not continually increasing for every single N, but with the right N you can get as close as you want to 1 for that N and all greater Ns, which is I believe the usual definition of limit). That’s pretty intuitive: as numbers get bigger, they get more digits, which gives more chances for a three. Very very few (relatively) numbers with a million digits don’t have a 3 somewhere in all those digits, and even (relatively) fewer numbers with two million digits have no threes.

I think it’s less about defining ‘percentage’ in a peculiar way, and more about choosing a way to translate the vague English into a precise mathematical question (English isn’t very precise when infinity gets involved). If one chooses the limit formulation [What’s the limit as N goes to infinity of the ratio of numbers less than N that have a ‘3’ in the decimal representation to all numbers less than N?] the answer is pretty clearly “one”, whereas if one chooses the infinite set approach, the answer is “there are just as many members of the set of numbers with threes as without, but it’s meaningless to speak of the ratio of the size of the two infinite sets”.

One could argue that given a mathematically vague English question, the interpretation that gives a mathematically valid answer is a better interpretation, and therefore the ‘right’ answer to the question of threes is indeed 100%.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 7:52pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/77 "2011-09-27T19:52:40Z")

</div>

Not as an argument, but just as a proposal for discussion, consider this reframing:

A) There’s a signpost followed by a long white road to the east. The road’s length is infinite, but every particular point on it is a finite distance from the signpost.

A monkey and an ape start off at the signpost with paintbrushes; the monkey’s paintbrush is red and the ape’s paintbrush is blue. Each runs off away from the signpost, painting the road below them; the ape runs at 1000 MPH and the monkey runs at 1 MPH.

So every hour, the number of red miles has gone up by 1 and the number of blue miles has gone up by 999 (the gorilla paints 1000 new miles blue, while the monkey reclaims 1 blue mile as red).

After a minimal eternity, how much of the road is blue? (If you like, compress this eternity into an hour, in the usual way; the first Old Style hour takes up only 30 New Style minutes, the second Old Style hour takes up only 15 New Style minutes, and so on). Well, every piece of the road has been first hit by the gorilla and then by the monkey and then left alone, so we might say, the entire road is red and none of it is blue.

B) There’s a signpost followed by a long white road. The road’s length is infinite, but every particular point on it is a finite distance from the signpost.

A monkey and an ape start off at the signpost. The monkey stands absolutely still. The gorilla runs east down the road at 999 MPH, painting it blue. The _signpost_ runs off to the west at 1 MPH, laying down new bits of red road.

So every hour, the number of red miles has gone up by 1 and the number of blue miles has gone up by 999.

After a minimal eternity, how much of the road is blue? Well, after the first hour, the first mile of the road was painted blue and thereafter left alone. After the second hour, the second mile of the road was painted blue and thereafter left alone. And so on. So infinitely many miles of the road are blue (everything east of the immobile monkey); at the very least, that first mile surely still is.

Of course, A) and B) are the exact same situation, just from the frame of reference of the signpost and the monkey, respectively.

---

<div class="post-metadata">

**Author:** ![ZenBeam](https://avatars.discourse-cdn.com/v4/letter/z/3ab097/32.png) [@ZenBeam](https://boards.straightdope.com/u/ZenBeam)\
**Post date:** [September 27, 2011, 8:19pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/78 "2011-09-27T20:19:59Z")

</div>

> [@panamajack](#):
>
> The problem I have with this is that you’re jumping from “there are no mangoes in any particular section of pipe” to “there are no mangoes in the pipe”.

No, I’m not doing that at all.

I’m observing that there is a symmetry in the pipe scenario. It can be described equally as “slide the line of mangoes into the pipe, one mango per step.” and “slide the pipe over the mangoes, one section per step.” _Because of that symmetry_, mango 1 is in the pipe at the 1 hour mark if and only if section 1 has a mango in it at the 1 hour mark.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [September 27, 2011, 8:50pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/79 "2011-09-27T20:50:21Z")

</div>

> [@](#):
>
> After a minimal eternity, how much of the road is blue? (If you like, compress this eternity into an hour, in the usual way; the first Old Style hour takes up only 30 New Style minutes, the second Old Style hour takes up only 15 New Style minutes, and so on). Well, every piece of the road has been first hit by the gorilla and then by the monkey and then left alone, so we might say, the entire road is red and none of it is blue.

A thought: This requires the primates to both move infinitely fast. So suppose, additionally, that they both have some finite speed, and that the “miles” scale in the same way as the time intervals. In this case, even though at any time the gorilla always has more “miles” of road than the monkey, the “real” length of road claimed by the monkey eventually surpasses the “real” length of road claimed by the gorilla, and all the limits work out just the way you’d expect them to.

Oh, and as for “invalid labels”, the way I prefer to think of it, let’s say that our numbers are represented by dots: A single dot means “one”, a pair of dots means “two”, and so on. In the model I prefer for the coconut problem, the monkey ends up with every coconut with a finite number of dots, and the ape ends up with a pile of coconuts each one of which has an infinite number of dots. They’re labeled, but they’re not _validly_ labeled, in the sense that their labels don’t represent integers.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [September 27, 2011, 9:00pm UTC](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668/80 "2011-09-27T21:00:12Z")

</div>

A bit odd, though, that the ape ends up with coconuts which supposedly didn’t exist at the start… I’m still happy to consider that possibility, though. 🙂

[Previous page](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668.md?page=3)

[Next page](https://boards.straightdope.com/t/infinity-question-what-is-the-ratio-of-odd-to-even-numbers/83668.md?page=5)
