# Integers with Infinitely Many Digits

**URL:** <https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025>\
**Category:** Factual Questions\
**Created:** [February 11, 2014, 2:45am UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025 "2014-02-11T02:45:03Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![whc.03grady](https://avatars.discourse-cdn.com/v4/letter/w/a6a055/32.png) [@whc.03grady](https://boards.straightdope.com/u/whc.03grady)\
**Post date:** [February 11, 2014, 3:10pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/21 "2014-02-11T15:10:45Z")

</div>

> [@Trinopus](#):
>
> (Is it even…or odd? Is it prime…or composite? You can’t answer those questions.)

I was set to tell her that it’s not an integer since an integer has to be even or odd, but it seems to me that 10000…, if it exists, is even, and is not prime. 12345… I’m less sure about.

She isn’t quite six, so I’m gonna have to dial down the answer. I think I’ll cash it out in Thudlow Boink’s terms, and it’ll give me a good chance to talk about place value: in 12345…, what place value does the ‘2’ represent? Since there’s no good answer (as far as I can tell), she’ll probably accept that. I just hope she doesn’t bring up …54321.

Thanks all for the interesting discussion so far. Don’t feel a need to end it since I’ve chimed in (and please don’t if what I propose to propose is glaringly wrong).

---

<div class="post-metadata">

**Author:** ![Buck\_Godot](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/buck_godot/32/6573_2.png) [@Buck\_Godot](https://boards.straightdope.com/u/Buck_Godot)\
**Post date:** [February 11, 2014, 5:19pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/22 "2014-02-11T17:19:33Z")

</div>

> [@Thudlow\_Boink](#):
>
> Let’s think about repeating decimals (rational or irrational) for a minute. What do they mean? Take a relatively simple one, like 0.6363636363… (the decimal representation of 7/11). The value of this repeating decimal is the sum of the infinite series 6_10[sup]-1[/sup] + 3_10[sup]-2[/sup] + 6_10[sup]-3[/sup] + 3_10[sup]-4[/sup] + 6_10[sup]-5[/sup] + 3_10[sup]-6[/sup] + …
> 
> In other words, you can specify exactly what each individual digit represents: the first 6 after the decimal point represents 6 tenths; the next digit represents 3 hundredths; the next digit represents 6 thousandths; and so on.
> 
> In a “number” like 12345… or 10000…, what does each individual digit represent? That 2 in 12345… means 2 of _what_? Ask your daughter that.

Continuing in this vein, I’ve been taught that when you see … in an informal mathematical setting what you really have is an infinite series. So from this point of view,

1234567…

is the following series

n[sub]1[/sub]=1  
n[sub]i[/sub]=i+n[sub]i-1[/sub]\*10[sup]f(i)[/sup]

where f(i) is the number of digits in i.

Now continuing this on towards infinity its clear that if fails to converge. So unless you want to invoke some fancy definitions of convergence where [1+2+3+4+…= -1/12](http://boards.straightdope.com/sdmb/showthread.php?t=712713)

You are going to have to just leave it as being infinity or undefined. In any case not an integer.

---

<div class="post-metadata">

**Author:** ![Saint\_Cad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/saint_cad/32/18907_2.png) [@Saint\_Cad](https://boards.straightdope.com/u/Saint_Cad)\
**Post date:** [February 11, 2014, 5:28pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/23 "2014-02-11T17:28:06Z")

</div>

One reason the idea of integers having infinite digits won’t work. We know the cardinality of integers is countable and the number of reals (0, 1) is uncountable. If integers could have infinite digits then they could be put into 1-1 correspondence with an uncountable set making Cantor go crazy(er).

---

<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:** [February 11, 2014, 5:54pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/24 "2014-02-11T17:54:16Z")

</div>

> [@Saint\_Cad](#):
>
> One reason the idea of integers having infinite digits won’t work. We know the cardinality of integers is countable and the number of reals (0, 1) is uncountable. If integers could have infinite digits then they could be put into 1-1 correspondence with an uncountable set making Cantor go crazy(er).

You could turn that around and say that the proofs that the number of integers is smaller than the number of reals are flawed, because they all assume (explicitly or implicitly) that there are no integers with an infinite number of digits.

---

<div class="post-metadata">

**Author:** ![md2000](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@md2000](https://boards.straightdope.com/u/md2000)\
**Post date:** [February 11, 2014, 5:54pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/25 "2014-02-11T17:54:42Z")

</div>

The problem is infinity.

I suppose there’s a branch of math that treats infinity as a number (something a bit more esoteric than I’ve gotten into) , but basically, infinity is… infinite. It has no upper bound. As a result of “no upper bound”, you can’t for example, subtract 1 from it. It’s still infinite, by definition.  
Mathematically, any changes or alterations to infinity are meaningless.

If your daughter is bored, maybe she can deduce the rules for math and infinity, based on the fact that it has no upper bound. I’m sure someone has already.  
infinity (times/minus/plus/divided by) X = infinity (where X not infinity)  
infinity/infinity = 1 (?)  
Infinity x 0 = 0 (?) (for sufficiently large values of infinity 😃 )

Infinity-1=infintity. (one less than infinite is still infinite)  
Infinity x 2 = infinity (thus 11111… x 2 =22222…  
11111… x10 = 111111…

The problem is you are going at it the wrong way. Writing it 111111… implies there is a left-hand end-point. There isn’t, if it is infinite. More correctly it could be written …1111111.0  
( …11111.0 which equals …111110.0 is more correct)  
both are infinity so are equal, neither is larger than the other, so therefore neither is smaller than the other, therefore they are equal.

---

<div class="post-metadata">

**Author:** ![Saint\_Cad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/saint_cad/32/18907_2.png) [@Saint\_Cad](https://boards.straightdope.com/u/Saint_Cad)\
**Post date:** [February 11, 2014, 6:08pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/26 "2014-02-11T18:08:28Z")

</div>

> [@ZenBeam](#):
>
> You could turn that around and say that the proofs that the number of integers is smaller than the number of reals are flawed, because they all assume (explicitly or implicitly) that there are no integers with an infinite number of digits.

Umm . . . no. Cantor’s diagonal proof simply shows the reals (0,1) cannot be put into a 1-1 correspondence with the integers. It is a corollary of that that there are no integers with infinite digits.

---

<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:** [February 11, 2014, 6:41pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/27 "2014-02-11T18:41:58Z")

</div>

Cantor’s diagonal proof assumes you can enumerate the integers. Is that possible when you include all the “integers” with infinite number of digits?  
I have other objections, but I don’t have time to properly write them up now.

---

<div class="post-metadata">

**Author:** ![Learjeff](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Learjeff](https://boards.straightdope.com/u/Learjeff)\
**Post date:** [February 11, 2014, 7:38pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/28 "2014-02-11T19:38:36Z")

</div>

> [@Jragon](#):
>
> Those **can be** numbers, but we don’t talk for them because for most practical purposes, they’re not particularly useful.

Great point.

> [@whc.03grady](#):
>
> I was set to tell her that it’s not an integer since an integer has to be even or odd

Good one: 12345… clearly loses one interesting property we associate with integers.

> [@Saint\_Cad](#):
>
> One reason the idea of integers having infinite digits won’t work. We know the cardinality of integers is countable and the number of reals (0, 1) is uncountable. If integers could have infinite digits then they could be put into 1-1 correspondence with an uncountable set making Cantor go crazy(er).

I like that one!

> [@md2000](#):
>
> The problem is infinity.

You can say that again. And again. And again …

> [@ZenBeam](#):
>
> Cantor’s diagonal proof assumes you can enumerate the integers. Is that possible when you include all the “integers” with infinite number of digits?

Another great point!

I have nothing so profound, but one property of integers is that they’re a well-ordered set. I wouldn’t know how to begin ordering these other numbers. One could define an ordering, perhaps, but it would be rather arbitrary, rather than true by definition as is the case with integers.

---

<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:** [February 11, 2014, 9:52pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/29 "2014-02-11T21:52:39Z")

</div>

There would be a partial ordering, in that you could say (for instance) that …22222 \> …11111 . But you’d have a hard time comparing …313131 to …222222 .

Alternately, you could impose a well-ordering by assigning greater significance to the digits closer to the decimal point. But it wouldn’t be the same well-ordering as is usually assigned to the integers.

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [February 12, 2014, 4:28am UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/30 "2014-02-12T04:28:14Z")

</div>

> [@Chronos](#):
>
> There would be a partial ordering, in that you could say (for instance) that …22222 \> …11111 . But you’d have a hard time comparing …313131 to …222222 .
> 
> Alternately, you could impose a well-ordering by assigning greater significance to the digits closer to the decimal point. But it wouldn’t be the same well-ordering as is usually assigned to the integers.

Indeed, the p-adic numbers are not a total order (neither are the complex numbers, for that matter).

---

<div class="post-metadata">

**Author:** ![Learjeff](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Learjeff](https://boards.straightdope.com/u/Learjeff)\
**Post date:** [February 12, 2014, 1:48pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/31 "2014-02-12T13:48:47Z")

</div>

> [@Chronos](#):
>
> There would be a partial ordering, in that you could say (for instance) that …22222 \> …11111 . But you’d have a hard time comparing …313131 to …222222 .
> 
> Alternately, you could impose a well-ordering by assigning greater significance to the digits closer to the decimal point. But it wouldn’t be the same well-ordering as is usually assigned to the integers.

You’d need different ordering definitions for different “styles” of these ill-defined “numbers”. Give that, I doubt the different styles fall into the same class of “number”.

For example, you could fully order 12345… and 11111… and 1000… with a simple enough algorithm. Likewise, you could fully order …54321 and …11111. But you couldn’t order the two styles, so they wouldn’t be comparable numbers (literally).

---

<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:** [February 12, 2014, 11:11pm UTC](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025/32 "2014-02-12T23:11:52Z")

</div>

> [@ftg](#):
>
> I was never happy with the way p-adics were handled.
> 
> …9999 + 1 = 0? Not to this Computer Scientist. There’s an overflow digit that has to be accounted for. Let’s use “:” to account for this. I.e., …9999 +1 = 1:0. The number before the “:” is overflow from operations on the “lower” digits. Addition and subtraction can be defined more reasonably, etc.
> 
> Multiplication has to be able to cascade these overflows. E.g., 1:0 \* 1:0 is 1:0:0.
> 
> But at least some key properties of primes and such are preserved.
> 
> Division gets trickier. 1/1:0 is some type of infinitesimal. Which I am a big fan of but not too many others.
> 
> BTW: What’s the name for the opposite of an infinitesimal? “Infinitesimax”?
> 
> Another problem with p-adics is years ago back on the sci.math newsgroup there was a problematic individual with an obsession with them, so they got tainted as a crank topic.

If you can make the arithmetic work, be my guest. But the carries go on indefinitely and in these 10-adic numbers …99999 + 1 =0.

The real answer is that you can define any number system you like and give it any rules you like. But can you use it for anything? Are your rules consistent? The rules of p-adic (or even n-adic) arithmetic are consistent and have models. Same with power series. But while you can also extend power series by allowing a finite number of negative powers, you cannot define the algebraic operations if you allow infinitely many both negative and positive exponents. Similarly p-adics with infinitely many digits before the decimal point can have only finitely many after. If you do that you get the p-adic rationals.

In order to add two such numbers you start on the right, not the left end. But you need an end. Incidentally, in the p-adics, 1 \> 11 \> 111 \> 1111 \> …

[Previous page](https://boards.straightdope.com/t/integers-with-infinitely-many-digits/681025.md?page=1)
