Go back
Nine

Nine

Posers and Puzzles

wolfgang59
Quiz Master

RHP Arms

Joined
09 Jun 07
Moves
48794
Clock
23 Jun 15
Vote Up
Vote Down

What percentage of integers contain the digit 9 (at least once)?

f
Defend the Universe

127.0.0.1

Joined
18 Dec 03
Moves
16687
Clock
23 Jun 15

Assuming you don't use leading zeroes, the chances that a given integer has a '9' in it is:

1 - (8/9)(9/10)^n

Where 'n' is the length of the integer in digits.

I guess you might take the limit of that as 'n' approaches infinity? But that would make it very close to "all of them" I think

f
Defend the Universe

127.0.0.1

Joined
18 Dec 03
Moves
16687
Clock
23 Jun 15
Vote Up
Vote Down

What about this?

https://www.wolframalpha.com/input/?i=summation+from+n%3D1+to+infinity+of+%28%281-%288%2F9%29%289%2F10%29%5En%29%2F%2810%5En%29%29

wolfgang59
Quiz Master

RHP Arms

Joined
09 Jun 07
Moves
48794
Clock
23 Jun 15
Vote Up
Vote Down

Originally posted by forkedknight
Assuming you don't use leading zeroes, the chances that a given integer has a '9' in it is:

1 - (8/9)(9/10)^n

Where 'n' is the length of the integer in digits.

I guess you might take the limit of that as 'n' approaches infinity? But that would make it very close to "all of them" I think
Yes.
100% of the integers have at least one occurrence of the digit "9".

😀

AThousandYoung
1st Dan TKD Kukkiwon

tinyurl.com/2te6yzdu

Joined
23 Aug 04
Moves
26754
Clock
29 Jun 15
Vote Up
Vote Down

Originally posted by forkedknight
Assuming you don't use leading zeroes, the chances that a given integer has a '9' in it is:

1 - (8/9)(9/10)^n

Where 'n' is the length of the integer in digits.

I guess you might take the limit of that as 'n' approaches infinity? But that would make it very close to "all of them" I think
If N = 1

1 - (8/9)(9/10) = 1 - (8/10) = 1/5

One fifth of all the one digit integers is not 9. Fail formula.

f
Defend the Universe

127.0.0.1

Joined
18 Dec 03
Moves
16687
Clock
02 Jul 15
1 edit
Vote Up
Vote Down

Originally posted by AThousandYoung
If N = 1

1 - (8/9)(9/10) = 1 - (8/10) = 1/5

One fifth of all the one digit integers is not 9. Fail formula.
Sorry, I guess it's an off-by-one error:

p = 1 - (8/9)(9/10)^(n-1)

F

Joined
11 Nov 05
Moves
43938
Clock
30 Jul 15
Vote Up
Vote Down

Originally posted by wolfgang59
Yes.
100% of the integers have at least one occurrence of the digit "9".

😀
Do you say that all integers has at least one nine? Then I can give you a counterexample - 8.

f
Defend the Universe

127.0.0.1

Joined
18 Dec 03
Moves
16687
Clock
30 Jul 15
2 edits
Vote Up
Vote Down

All, except for an infinite number of them

F

Joined
11 Nov 05
Moves
43938
Clock
30 Jul 15
Vote Up
Vote Down

But - and this is not a joke:

Among all integers there are exactly as many numbers with a nine in them as they are numbers without a nine in them. No approximately but exactly! Not as n reach infinity, but when n *is* infinity!

This is provable. Cantor showed us how.

wolfgang59
Quiz Master

RHP Arms

Joined
09 Jun 07
Moves
48794
Clock
05 Aug 15
Vote Up
Vote Down

Originally posted by FabianFnas
But - and this is not a joke:

Among all integers there are exactly as many numbers with a nine in them as they are numbers without a nine in them. No approximately but exactly! Not as n reach infinity, but when n *is* infinity!

This is provable. Cantor showed us how.
Cantor cant count.

f
Defend the Universe

127.0.0.1

Joined
18 Dec 03
Moves
16687
Clock
05 Aug 15
Vote Up
Vote Down

Originally posted by FabianFnas
But - and this is not a joke:

Among all integers there are exactly as many numbers with a nine in them as they are numbers without a nine in them. No approximately but exactly! Not as n reach infinity, but when n *is* infinity!

This is provable. Cantor showed us how.
Well the the answer should be 50%, and I don't think that's true...

F

Joined
11 Nov 05
Moves
43938
Clock
05 Aug 15
Vote Up
Vote Down

Originally posted by forkedknight
Well the the answer should be 50%, and I don't think that's true...
The number of all integers is infinitely many.
How much is 50% of infinity?

wolfgang59
Quiz Master

RHP Arms

Joined
09 Jun 07
Moves
48794
Clock
05 Aug 15
Vote Up
Vote Down

Originally posted by FabianFnas
How much is 50% of infinity?
A half.

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.