# 7777777 and .999... == 1

**URL:** <https://boards.straightdope.com/t/7777777-and-999-1/693964>\
**Category:** The BBQ Pit\
**Created:** [July 24, 2014, 7:51pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964 "2014-07-24T19:51:33Z")\
**Posts on this page:** 20\
**Page:** 6

<div class="post-metadata">

**Author:** ![andros](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andros](https://boards.straightdope.com/u/andros)\
**Post date:** [July 29, 2014, 2:32pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/101 "2014-07-29T14:32:20Z")

</div>

Ok, I am well-known as a skilled hacker, so I just tried to independently verify your experiment.

I finally got it to compile…but then it printed “HELLO WORLD” like a million times then let out all my compy’s magic smoke. Please advise.

---

<div class="post-metadata">

**Author:** ![Darth\_Panda](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Darth\_Panda](https://boards.straightdope.com/u/Darth_Panda)\
**Post date:** [July 29, 2014, 4:21pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/102 "2014-07-29T16:21:24Z")

</div>

> [@Jragon](#):
>
> hey guyz im pretty sure .999… is not 1 look at my proof i used programming in c language  
> easy to show  
> let me blow ur minds  
> probably no1 ever tried this
> 
> maybe u guys should try something b4 spouting ur  
> empty proofs
> 
> never trust  
> others
> 
> here it is  
> obvious as can be  
> powerful stuff  
> effortless done…
> 
> ```auto
> 
> #include <stdio.h>
> 
> typedef char* number;
> 
> int main( void ) {
> number nines = ".999...";
> number one = "1";
> 
> printf("%d
> ", nines == one);
> return 0;
> }
> 
> ```

You can’t use the ellipses here - it’s a limitation of the programming language. Try the experiment again, but key in an infinite amount of nines and let us know how it works out.

---

<div class="post-metadata">

**Author:** ![DingoelGringo](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@DingoelGringo](https://boards.straightdope.com/u/DingoelGringo)\
**Post date:** [July 29, 2014, 4:29pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/103 "2014-07-29T16:29:14Z")

</div>

> [@Budget\_Player\_Cadet](#):
>
> I wish I was more surprised by this. I mean, math isn’t like most other fields of science. There is no _uncertainty_. There are postulates and _proofs_. The sole uncertainty comes in at the edges, and there we’re often able to prove that certain problems have no solution! But this is… this is not hard. There are countless proofs for this, and this guy is _such a retard_. I’m honestly just in that thread to look smart, because something has to make up for my abysmal failure this semester. 😕

The only math course I took in college before dropping out started with an explanation that 2+2 may or may not =4. But it is generally agreed that it does so we (the writers and students of that book) will accept it as doing so.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [July 29, 2014, 5:11pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/104 "2014-07-29T17:11:45Z")

</div>

> [@Stealth\_Potato](#):
>
> That 0.9̅ is another notation for 1 is a simple and obvious fact; . . .
> 
> \< snippy . . . \>
> 
> I pray, with little hope, for an end to the madness.

Hey all youse guys who dig mathematical discussions, we just had a little side-discussion over at ATMB about this. Turns out that neato-keeno symbol of numbers with the overbars like 0.9̅ isn’t displayed correctly, or not at all, in a lot of browsers. A shame that is, really.

Discussion here: [How’d he do that? (Numbers with overbars)](http://boards.straightdope.com/sdmb/showthread.php?t=729694)

---

<div class="post-metadata">

**Author:** ![Colibri](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/colibri/32/1841_2.png) [@Colibri](https://boards.straightdope.com/u/Colibri)\
**Post date:** [July 29, 2014, 5:47pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/105 "2014-07-29T17:47:18Z")

</div>

> [@DingoelGringo](#):
>
> The only math course I took in college before dropping out started with an explanation that 2+2 may or may not =4. But it is generally agreed that it does so we (the writers and students of that book) will accept it as doing so.

Actually, 2+2 = 5, for sufficiently large values of 2.

---

<div class="post-metadata">

**Author:** ![Trinopus](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@Trinopus](https://boards.straightdope.com/u/Trinopus)\
**Post date:** [July 29, 2014, 8:57pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/106 "2014-07-29T20:57:02Z")

</div>

Two protons plus two protons don’t add up to (exactly) four protons. There’s a little mass deficit.

Nature refutes math!

---

<div class="post-metadata">

**Author:** ![Stealth\_Potato](https://avatars.discourse-cdn.com/v4/letter/s/d78d45/32.png) [@Stealth\_Potato](https://boards.straightdope.com/u/Stealth_Potato)\
**Post date:** [July 29, 2014, 9:50pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/107 "2014-07-29T21:50:13Z")

</div>

> [@Darth\_Panda](#):
>
> You can’t use the ellipses here - it’s a limitation of the programming language. Try the experiment again, but key in an infinite amount of nines and let us know how it works out.

Piffle! We can solve this problem easily simply by choosing a superior programming language. For example, let us suppose the following in Haskell:

```auto

import Data.Ratio
import Control.Applicative

nines :: [Rational]
nines = (9%) . (10^) <$> [1..]

```

This perfectly straightforward definition allows us to readily approximate the problem to any degree:

```auto

> sum $ take 2 nines
99 % 100

> sum $ take 5 nines
99999 % 100000

> sum $ take 20 nines
99999999999999999999 % 100000000000000000000

```

And so on. Because of Haskell’s well-known ability to handle infinite lists, finding the real, definitive answer to this conundrum once and for all is trivial:

```auto

> sum nines
     

```

I’ll get back to you as soon as that finishes running.

---

<div class="post-metadata">

**Author:** ![Zakalwe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zakalwe/32/270_2.png) [@Zakalwe](https://boards.straightdope.com/u/Zakalwe)\
**Post date:** [July 29, 2014, 11:32pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/108 "2014-07-29T23:32:16Z")

</div>

> [@Colibri](#):
>
> Actually, 2+2 = 5, for sufficiently large values of 2.

That’s just silly. As we all know, 2+2=3.9999…

Or 3 for sufficiently _small_ values of 2.

---

<div class="post-metadata">

**Author:** ![Colibri](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/colibri/32/1841_2.png) [@Colibri](https://boards.straightdope.com/u/Colibri)\
**Post date:** [July 29, 2014, 11:40pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/109 "2014-07-29T23:40:55Z")

</div>

> [@Zakalwe](#):
>
> That’s just silly. As we all know, 2+2=3.9999…
> 
> Or 3 for sufficiently _small_ values of 2.

It’s an old math joke about rounding errors. If you are rounding to integers, 2.4 gets rounded down to 2. But 2.4 + 2.4 = 4.8, and 4.8 gets rounded up to 5.

---

<div class="post-metadata">

**Author:** ![sich\_hinaufwinden](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@sich\_hinaufwinden](https://boards.straightdope.com/u/sich_hinaufwinden)\
**Post date:** [July 30, 2014, 12:29am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/110 "2014-07-30T00:29:32Z")

</div>

> [@friedo](#):
>
> The real numbers are not discrete. They’re smooth. For any two real numbers _a_ and _b_, if _a_ ≠ _b_, then there is a number between _a_ and _b_.

Isn’t it even more truer to say that there’s an infinite amount of numbers between any two unequal numbers? I know that you know this and you hint at it when you say:

> [@friedo](#):
>
> We can do this forever, and if two numbers are unequal, we can always point to a number between them.

And yet I think it helps to note that specifically. And rather than say:

> [@friedo](#):
>
> So is there a number between 0.999… and 1? If so, what is it?
> 
> If there isn’t a number between them, then 0.999… must be 1.

…we can point out that we’re not asking for someone to find a needle in a haystack - some magical number - that satisfies the condition of being between 0.999… and 1.

We can say ‘‘Hey, there’s an infinite amount of numbers between 0.999… and 1 if they aren’t equal, so just show us any one of those to prove that. If there’s an infinite amount to choose from it should be relatively easy to do so.’’

I’m not just trying to nit pick here. I think it helps drive home your point - one that’s already been made about …999.999… times so far, among others, in the GQ thread.

---

<div class="post-metadata">

**Author:** ![Darth\_Panda](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Darth\_Panda](https://boards.straightdope.com/u/Darth_Panda)\
**Post date:** [July 30, 2014, 12:43am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/111 "2014-07-30T00:43:15Z")

</div>

Wait, I’m confused about this thread. So the cops knew that internal affairs were setting them up?

---

<div class="post-metadata">

**Author:** ![sich\_hinaufwinden](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@sich\_hinaufwinden](https://boards.straightdope.com/u/sich_hinaufwinden)\
**Post date:** [July 30, 2014, 12:51am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/112 "2014-07-30T00:51:48Z")

</div>

> [@Darth\_Panda](#):
>
> Wait, I’m confused about this thread. So the cops knew that internal affairs were setting them up?

Of course they fucking knew they were being set up.

Did you even read the Og damn book?

In what fucking world would it make sense that they didn’t know they were being set up?!

---

<div class="post-metadata">

**Author:** ![The\_Great\_Unwashed](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/the_great_unwashed/32/4791_2.png) [@The\_Great\_Unwashed](https://boards.straightdope.com/u/The_Great_Unwashed)\
**Post date:** [July 30, 2014, 12:55am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/113 "2014-07-30T00:55:15Z")

</div>

> **[Julia Quinn - Those mathematicians are vicious... | Facebook](https://www.facebook.com/AuthorJuliaQuinn/photos/a.59952827053.71263.42811462053/10152315466402054/?type=1&theater)**
>
> Those mathematicians are vicious...

---

<div class="post-metadata">

**Author:** ![Trinopus](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@Trinopus](https://boards.straightdope.com/u/Trinopus)\
**Post date:** [July 30, 2014, 1:22am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/114 "2014-07-30T01:22:15Z")

</div>

> [@sich\_hinaufwinden](#):
>
> . . . …we can point out that we’re not asking for someone to find a needle in a haystack - some magical number - that satisfies the condition of being between 0.999… and 1.
> 
> We can say ‘‘Hey, there’s an infinite amount of numbers between 0.999… and 1 if they aren’t equal, so just show us any one of those to prove that. If there’s an infinite amount to choose from it should be relatively easy to do so.’’
> 
> I’m not just trying to nit pick here. I think it helps drive home your point - one that’s already been made about …999.999… times so far, among others, in the GQ thread.

Mathematically, of course, the weaker phrasing is sufficient, but in terms of convincing rhetoric, you’re quite right: your formula is more emphatic, and harder to quibble with.

But, you know how it is. There are still people who disagree with Euclid’s proof that there are an infinite number of primes. It doesn’t matter that Euclid shows us how to construct a new prime number different from all that have gone before: some people, at an intuitive level, can’t accept it.

There is an interesting branch of psychology called “Intuitive Physics.” It covers things like “impetus” and the idea that a ball thrown from a carousel ought to follow a curved path. It examines how our minds tend to interpret reality.

The .999… issue is, really, more of a psychological matter than a mathematical one. The math is settled. It’s the mental state of those who reject the math that is of some interest.

(Hell, I know people who still insist that the “Three men rent a hotel room for $30” thing is impossible to be explained by mathematics!)

---

<div class="post-metadata">

**Author:** ![friedo](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@friedo](https://boards.straightdope.com/u/friedo)\
**Post date:** [July 30, 2014, 3:47am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/115 "2014-07-30T03:47:23Z")

</div>

> [@sich\_hinaufwinden](#):
>
> We can say ‘‘Hey, there’s an infinite amount of numbers between 0.999… and 1 if they aren’t equal, so just show us any one of those to prove that. If there’s an infinite amount to choose from it should be relatively easy to do so.’’
> 
> I’m not just trying to nit pick here. I think it helps drive home your point - one that’s already been made about …999.999… times so far, among others, in the GQ thread.

Yep, absolutely right.

---

<div class="post-metadata">

**Author:** ![Senegoid](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/senegoid/32/6606_2.png) [@Senegoid](https://boards.straightdope.com/u/Senegoid)\
**Post date:** [July 30, 2014, 7:47am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/116 "2014-07-30T07:47:20Z")

</div>

> [@Colibri](#):
>
> Actually, 2+2 = 5, for sufficiently large values of 2.

> [@Colibri](#):
>
> It’s an old math joke about rounding errors. If you are rounding to integers, 2.4 gets rounded down to 2. But 2.4 + 2.4 = 4.8, and 4.8 gets rounded up to 5.

OMG! No sooner do we have a Pit thread discussing the endless discussion of the value of 0.999… than we have **Colibri** bringing up _this_ old favorite again!

[“2+2=5 for large values of 2” Huh?](http://boards.straightdope.com/sdmb/showthread.php?t=419965) started by **SuaSponte** in GQ, 05-08-2007. (And it was none other than **Colibri** who closed that thread!)

They argued till they were blue in the pixels over what the joke really means, and never came to a consensus. Of course, I was of the _other_ point of view on that.

---

<div class="post-metadata">

**Author:** ![Zakalwe](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/zakalwe/32/270_2.png) [@Zakalwe](https://boards.straightdope.com/u/Zakalwe)\
**Post date:** [July 30, 2014, 11:53am UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/117 "2014-07-30T11:53:46Z")

</div>

So, if you have a joke (J) that is a member of the set Funny (F), then explaining J makes it not F? 🙂

---

<div class="post-metadata">

**Author:** ![Colibri](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/colibri/32/1841_2.png) [@Colibri](https://boards.straightdope.com/u/Colibri)\
**Post date:** [July 30, 2014, 3:06pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/118 "2014-07-30T15:06:57Z")

</div>

> [@Senegoid](#):
>
> They argued till they were blue in the pixels over what the joke really means, and never came to a consensus. Of course, I was of the _other_ point of view on that.

Of course, you could use this thread (and the one that spawned it) to demonstrate that no proposition on this board ever “comes to a consensus.” There will almost always be someone found to argue an erroneous position until everyone is “blue in the pixels” (probably purple in this case). There is no position so wrong that someone won’t argue in favor of it.😃

---

<div class="post-metadata">

**Author:** ![Freddy\_the\_Pig](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@Freddy\_the\_Pig](https://boards.straightdope.com/u/Freddy_the_Pig)\
**Post date:** [July 30, 2014, 3:48pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/119 "2014-07-30T15:48:37Z")

</div>

Aaaaaaand the mother thread cracks the 1,500-post barrier! Or should I say, the 1,499.999 . . . -post barrier.

---

<div class="post-metadata">

**Author:** ![Freddy\_the\_Pig](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@Freddy\_the\_Pig](https://boards.straightdope.com/u/Freddy_the_Pig)\
**Post date:** [July 30, 2014, 4:17pm UTC](https://boards.straightdope.com/t/7777777-and-999-1/693964/120 "2014-07-30T16:17:13Z")

</div>

I see also that the mother thread is getting close to 100,000 views. I think there should be a prize for the 100,000th viewer. But, I’m not sure what that prize should be.

[Previous page](https://boards.straightdope.com/t/7777777-and-999-1/693964.md?page=5)

[Next page](https://boards.straightdope.com/t/7777777-and-999-1/693964.md?page=7)
