wu :: forums
« wu :: forums - Betting on the Digits of Pi »

Welcome, Guest. Please Login or Register.
May 3rd, 2024, 2:49am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   hard
(Moderators: SMQ, ThudnBlunder, Eigenray, Icarus, towr, Grimbal, william wu)
   Betting on the Digits of Pi
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Betting on the Digits of Pi  (Read 4751 times)
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Betting on the Digits of Pi  
« on: Jan 15th, 2004, 6:02am »
Quote Quote Modify Modify

You are playing a game with a supercomputer from the future. The game is about betting on digits in the decimal expansion of [pi]. It works as follows:
 
 
1. You have one dollar.
 
2. The supercomputer chooses a ridiculously large natural number N. This corresponds to the Nth digit in the decimal expansion of [pi].
 
3. You are now allowed to place bets on the next k digits in the decimal expansion. You can place as many bets as you want, and slice your dollar in any fashion you like. (E.g. "I bet 2/3 of my dollar that the next five digits will be "12345", and 1/3 of my dollar that the next three digits will be "678".)
 
4. For each bet for which all digits are correctly predicted, the return is 10k, where k is the length of the subsequence you predicted. (So for correctly predicting "678", you'd get 1000 times what you invested.)
 
 
The assumption is that N is so large, it is not possible using today's technology for you to simply compute [pi]'s digits up to the Nth decimal place and make perfect predictions. So you'll have to rely on other ideas. However, the supercomputer "from the future" is apparently able to quickly compute [pi]'s decimal expansion to such great lengths, and thus can properly verify the correctness of your predictions.
 
 
Problem: Design a betting strategy that will provably return more than a dollar. Yes, at least one does exist.
 
 
Hint: You'll most likely need to use some really obscure theorems you've never ever ever ever heard of. So this will probably end up being more of a miniature math lesson than a decent puzzle. In any case, I think it's comforting to know that you can win at this game.
 
Source: rec.puzzles
« Last Edit: Jan 15th, 2004, 6:04am by william wu » IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
Benoit_Mandelbrot
Junior Member
**



Almost doesn't count.

   
WWW

Gender: male
Posts: 133
Re: Betting on the Digits of Pi  
« Reply #1 on: Jan 15th, 2004, 10:24am »
Quote Quote Modify Modify

If [pi] is a normal number, there is about a 1/10 probability that you will get a 1 digit number that you pick [0-9], and 1/90 that the number you pick will be 2 digits [10-99] and correct (this is because 0-9 are one digit), and 1/900 if you pick 3 digits [100-999].  "..., although the first 30 million digits of [pi] are very uniformly distributed (Bailey 1988 )."
I would start picking 2 digit numbers.
 
But this is today, and the next 30 _illion digits of tomorrow could not be.  Computers of the future could get 30*1029857243985734985729850729574 digits or more.
 
This is on the basis of [pi] being normal up to the rediculous number.
 
By the way, a normal number is http://mathworld.wolfram.com/NormalNumber.html
« Last Edit: Jan 15th, 2004, 11:58am by Benoit_Mandelbrot » IP Logged

Because of modulo, different bases, and significant digits, all numbers equal each other!
willy in a lab
Guest

Email

Re: Betting on the Digits of Pi  
« Reply #2 on: Jan 15th, 2004, 12:32pm »
Quote Quote Modify Modify Remove Remove

I don't see how the conjectured normality of [pi] helps you provably make money. If anything, the normality is depressing to a gambler, because it says that's there's no difference in the expected limiting frequency of one k-digit sequence over another k-digit sequence.
« Last Edit: Jan 15th, 2004, 1:43pm by william wu » IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Betting on the Digits of Pi  
« Reply #3 on: Jan 15th, 2004, 1:29pm »
Quote Quote Modify Modify

It seems to me you have to gamble on an infinite number of sequences.. I'm not sure how I should explain this instinct of mine though..
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Quetzycoatl
Newbie
*






   


Gender: male
Posts: 46
Re: Betting on the Digits of Pi  
« Reply #4 on: Jan 15th, 2004, 2:54pm »
Quote Quote Modify Modify

on Jan 15th, 2004, 1:29pm, towr wrote:
It seems to me you have to gamble on an infinite number of sequences.. I'm not sure how I should explain this instinct of mine though..

 
Well, if you take 10k number of k length sequences(the bigger k is the better), and then you bet $1.00/(10k-1) on all but one of them, you have a really good chance at making a very small amount of money, and a very small chance of losing.  
 
So does making S infinite mean you are guaranteed to make an infinitely small amount of money? Or does it mean your betting $0?
« Last Edit: Jan 15th, 2004, 2:56pm by Quetzycoatl » IP Logged
SWF
Uberpuzzler
*****





   


Posts: 879
Re: Betting on the Digits of Pi  
« Reply #5 on: Jan 15th, 2004, 5:29pm »
Quote Quote Modify Modify

I bet that digits k through 2*k-2 never match digits 1 through k-1 (just a guess). So I would choose to bet equally on every k-1 digit number except for the first k-1 digits of pi. (unless the computer picked k=1   Roll Eyes  )
IP Logged
william wu
wu::riddles Administrator
*****





   
WWW

Gender: male
Posts: 1291
Re: Betting on the Digits of Pi  
« Reply #6 on: Jan 15th, 2004, 6:40pm »
Quote Quote Modify Modify

Nice ideas guys; it turns out the solution is identical in spirit -- you bet on all possible sequences of a certain length, except for one of them. Use the following theorem, proven by Mahler in 1953:
 
For all integers p,q > 1,  
 
| [pi] - p/q | > q-42

 
So for a given N chosen by the supercomputer, demonstrate that a certain sequence of subsequent digits cannot occur because it will contradict the theorem. Then bet equally on all sequences of that length, except for the one that cannot occur. You will be guarantted to make a minuscule amount of profit ... Smiley
 
« Last Edit: Jan 15th, 2004, 6:41pm by william wu » IP Logged


[ wu ] : http://wuriddles.com / http://forums.wuriddles.com
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Betting on the Digits of Pi  
« Reply #7 on: Jan 16th, 2004, 12:09am »
Quote Quote Modify Modify

Using the well known result above, it follows that the sequence of 41N 0s can never occur, starting immediately after the N-th digit (it will most likely occur later, though).
For otherwise,
let X = floor(10N[pi]).  Then we'd have
10-42N < | [pi] - X/10N | < 1/10N+41N,
a contradiction.
In fact, a similar argument shows that given any sequence of length r, it cannot repeat more than 41N/r + 42 times (starting immediately after the N-th digit)
.
IP Logged
Quetzycoatl
Newbie
*






   


Gender: male
Posts: 46
Re: Betting on the Digits of Pi  
« Reply #8 on: Jan 16th, 2004, 8:08am »
Quote Quote Modify Modify

on Jan 15th, 2004, 6:40pm, william wu wrote:

 
| [pi] - p/q | > q-42

 

 
I looked on Mathworld and I assume that this comes from Liouville's Approximation Theorem:
| x - p/q | > 1/qn

But I don't understand why are using n = 42? Can someone help me out here?
« Last Edit: Jan 16th, 2004, 10:25am by Quetzycoatl » IP Logged
Rezyk
Junior Member
**





   
Email

Gender: male
Posts: 85
Re: Betting on the Digits of Pi  
« Reply #9 on: Jan 17th, 2004, 12:01am »
Quote Quote Modify Modify

I'm going to disagree with the given solution.  It is less feasible to compose the necessary 369N bets of average size N/2 each than it is to just determine the Nth digit.
« Last Edit: Jan 17th, 2004, 12:11am by Rezyk » IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Betting on the Digits of Pi  
« Reply #10 on: Jan 17th, 2004, 1:49am »
Quote Quote Modify Modify

on Jan 16th, 2004, 8:08am, Quetzycoatl wrote:
I looked on Mathworld and I assume that this comes from Liouville's Approximation Theorem:
| x - p/q | > 1/qn
But I don't understand why are using n = 42?

What Liouville has proved in 1840 was that in order for a number x to be algebraic the aforementioned inequality must hold for any n (with suitable choices of p and q). Using this, he proved that the number L = 10-1! + 10-2! + 10-3! + ... is transcendential.
 
The results proved by Mahler shows that [pi] cannot be a root of an equation of degree [ge] 42 with integer coefficients.
 
All this, however, is not directly related to this thread.
IP Logged
mikedagr8
Uberpuzzler
*****



A rich man is one who is content; not wealthy.

   


Gender: male
Posts: 1105
Re: Betting on the Digits of Pi  
« Reply #11 on: Jul 15th, 2007, 6:32am »
Quote Quote Modify Modify

nice puzzle, problem is that i know about 500 numbers of pi from the beginning off by heart, and i know that around the 700-900 mark, there is a sequence 5 9's in a row. asuming i understodd the question, i should be able to win every time? i am almost certain i didn't, because someone would have said this.
IP Logged

"It's not that I'm correct, it's that you're just not correct, and so; I am right." - M.P.E.
pex
Uberpuzzler
*****





   


Gender: male
Posts: 880
Re: Betting on the Digits of Pi  
« Reply #12 on: Jul 15th, 2007, 7:03am »
Quote Quote Modify Modify

on Jul 15th, 2007, 6:32am, mikedagr8 wrote:
nice puzzle, problem is that i know about 500 numbers of pi from the beginning off by heart, and i know that around the 700-900 mark, there is a sequence 5 9's in a row. asuming i understodd the question, i should be able to win every time? i am almost certain i didn't, because someone would have said this.

 
Probably 500-900 is not considered "ridiculously large" here...
IP Logged
mikedagr8
Uberpuzzler
*****



A rich man is one who is content; not wealthy.

   


Gender: male
Posts: 1105
Re: Betting on the Digits of Pi  
« Reply #13 on: Jul 15th, 2007, 5:08pm »
Quote Quote Modify Modify

no it isn't, when you consider hte world record is above 80 thousand digits in a row, all correct, or when the computer knows all the numbers we currently do plus more. I am just saying that, the only time where 5 consecutive digits are the same, is here, and they happen to all be 9 (well to my knowledge at least).
IP Logged

"It's not that I'm correct, it's that you're just not correct, and so; I am right." - M.P.E.
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Re: Betting on the Digits of Pi  
« Reply #14 on: Jul 15th, 2007, 6:15pm »
Quote Quote Modify Modify

on Jul 15th, 2007, 5:08pm, mikedagr8 wrote:
I am just saying that, the only time where 5 consecutive digits are the same, is here,

Considering how many digits?
 
IP Logged

THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
mikedagr8
Uberpuzzler
*****



A rich man is one who is content; not wealthy.

   


Gender: male
Posts: 1105
Re: Betting on the Digits of Pi  
« Reply #15 on: Jul 15th, 2007, 6:20pm »
Quote Quote Modify Modify

not enough  Tongue, sorry, bad reasoning, i need to start using more of this (reasoning) , and not worry about the final answer and an answer, but the way to work it out.
IP Logged

"It's not that I'm correct, it's that you're just not correct, and so; I am right." - M.P.E.
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Betting on the Digits of Pi  
« Reply #16 on: Jul 16th, 2007, 12:34am »
Quote Quote Modify Modify

I think it has been proved that every finite sequence of integers occurs somewhere in the decimal expansion of pi.
So somewhere down the line there will be at least 6 times the same digit in a row. And you're name will be spelled out in ascii somewhere as well. Which is a nice thought.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
mikedagr8
Uberpuzzler
*****



A rich man is one who is content; not wealthy.

   


Gender: male
Posts: 1105
Re: Betting on the Digits of Pi  
« Reply #17 on: Jul 16th, 2007, 1:49am »
Quote Quote Modify Modify

yay, i am immortalised in pi! Cheesy Nice thought.
IP Logged

"It's not that I'm correct, it's that you're just not correct, and so; I am right." - M.P.E.
Hippo
Uberpuzzler
*****





   


Gender: male
Posts: 919
Re: Betting on the Digits of Pi  
« Reply #18 on: Jul 24th, 2007, 11:57pm »
Quote Quote Modify Modify

Immortalised but lost among others Wink
« Last Edit: Jul 24th, 2007, 11:58pm by Hippo » IP Logged
Earendil
Newbie
*





7195044 7195044    


Gender: male
Posts: 46
Re: Betting on the Digits of Pi  
« Reply #19 on: Aug 8th, 2007, 12:52am »
Quote Quote Modify Modify

on Jan 17th, 2004, 1:49am, Barukh wrote:

What Liouville has proved in 1840 was that in order for a number x to be algebraic the aforementioned inequality must hold for any n (with suitable choices of p and q). Using this, he proved that the number L = 10-1! + 10-2! + 10-3! + ... is transcendential.
 
The results proved by Mahler shows that [pi] cannot be a root of an equation of degree [ge] 42 with integer coefficients.
 
All this, however, is not directly related to this thread.

 
Or maybe just
 
http://en.wikipedia.org/wiki/The_Answer_to_Life,_the_Universe,_and_Everything  Grin
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: Betting on the Digits of Pi  
« Reply #20 on: Aug 8th, 2007, 4:52am »
Quote Quote Modify Modify

The answer to that question is a piece of pie...
3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board