Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Help Forum Lounge > Problem of the Week
Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2007, 12:49 PM
ThePerfectHacker's Avatar
Global Moderator

 
Join Date: Nov 2005
Location: New York City
Posts: 11,666
Country:
Thanks: 366
Thanked 3,168 Times in 2,624 Posts
ThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond repute
Default Problem 19

1)You are given 3 disks A,B,C and 3 stands X,Y,Z. The biggest disk is C, then B then A. And A lies on top B which lies on top C all on the same stand, say X. The rule is that the smaller disks must remain on the larger disks.
The following moves will moves these disks together to a new stand.
a)Take A and place it on Y.
b)Take B and place it on Z.
c)Take A and place it on top of B on Z.
d)Take C and place it on Y.
e)Take A and place it on X.
f)Take B and place it on top of C on Y.
g)Take A place it on top of B on top of C on Y.

Now assume you have 64 disks, how long will it take you move them on top a new stand if each move you do is 1 second.

2)Show that if a number is large enough it can be expressed exactly as a sum of 5 postive integral squares.
(Hint: Use 4 Square Theorem)
__________________
And he (Elisha) went up from thence unto Bethel: and as he was going up by the way, there came forth little children out of the city, and mocked him, and said unto him, "Go up, thou bald head"; "go up, thou bald head". And he turned back, and looked on them, and cursed them in the name of the Lord. And there came forth two she-bears out of the wood, and tore up forty and two children of them.
Second Kings 2: 23-24
Reply With Quote
Advertisement
 
  #2  
Old 02-12-2007, 12:56 PM
topsquark's Avatar
Physics Maestro

 
Join Date: Jan 2006
Location: Angelica, NY
Posts: 8,417
Country:
Thanks: 642
Thanked 2,285 Times in 2,081 Posts
topsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond repute
Default

I know the first problem as the "Towers of Brahmin" or the "Towers of Hanoi." It's actually fun to make the disks and play with. (I was amused at least. But I'm a "Ooooh! Something shiny!" kind of guy.)

-Dan
__________________
Got a Physics question? Come on over to Physics Help Forum!

"I must not fear. Fear is the mind killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain." - The Litany Against Fear, "Dune" by Frank Herbert
Reply With Quote
  #3  
Old 02-12-2007, 05:10 PM
Singular's Avatar
Member
 
Join Date: Dec 2006
Location: Solo, Java
Posts: 88
Country:
Thanks: 23
Thanked 9 Times in 8 Posts
Singular is on a distinguished road
Send a message via Yahoo to Singular
Default

for n disk require (2^n)-1 steps

so for 64 =(2^64)-1 steps=18.446.744.073.709.551.615 steps

since 1 step requires 1 second so it will take 580 billion years

assume that we do it 24 hours a day, 365 days a year
__________________
Das Rätsel gibt es nicht.
Wenn sich eine Frage überhaupt stellen läßt, so kann sie beantwortet werden.
Reply With Quote
  #4  
Old 02-13-2007, 01:28 AM
Glaysher's Avatar
Senior Member
 
Join Date: Aug 2006
Location: Newton-le-Willows
Posts: 237
Country:
Thanks: 11
Thanked 34 Times in 30 Posts
Glaysher is on a distinguished road
Default

Good old Towers Of Hanoi. An old coursework problem when I was doing my A-levels
__________________
Vaiyo A-O
A Home Va Ya Ray
Vaiyo A-Rah
Jerhume Brunnen G
Vaiyo A-Rah
Jerhume Brunnen G
Reply With Quote
  #5  
Old 02-14-2007, 03:53 PM
Super Member


 
Join Date: May 2006
Location: Lexington, MA (USA)
Posts: 6,083
Thanks: 334
Thanked 3,312 Times in 2,623 Posts
Soroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond reputeSoroban has a reputation beyond repute
Default

Hello, everyone!

Spoler warning . . . Spoiler warning . . . Spoiler warning

If you enjoy the challenge of the "Towers" puzzle,
. . do not highlight the region below.


There are n disks on the leftmost stand.

[1] Move the smallest disk to the stand at its immediate right.

[2] Make another move . . . (There will be exactly one legal move!)

Repeat steps [1] and [2] until the puzzle is solved.

Note
If step [1] causes the smallest disk to go off the right end,
it "re-enters" at the left end.

Reply With Quote
  #6  
Old 02-19-2007, 10:03 AM
ThePerfectHacker's Avatar
Global Moderator

 
Join Date: Nov 2005
Location: New York City
Posts: 11,666
Country:
Thanks: 366
Thanked 3,168 Times in 2,624 Posts
ThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond reputeThePerfectHacker has a reputation beyond repute
Default

1)The first problem is a classic. It is called Tower's of Hanoi. We can show by induction that the number of moves to solve the puzzle is 2^n-1.
Proof.
It is trivially true for n=1.
Assume it is true for n=k.
We want to show it is true for n=k+1.
Assume we have k+1 disks.
We know, by hypothesis that we can move the top k disks in that order onto another stand after 2^k-1 moves. Thus, the situation is that the original top k disks where moved and the bottom disk remains in its original position. We now move that disk, another move, and again by induction we know we can move the k disks onto it using 2^k-1 moves.
Thus, in total we wasted: (2^k-1)+1+(2^k-1)=2*2^k-1=2^{k+1}-1 moves.
Proof complete. The rest of the solution is trivial, I just wanted people to see how big exponentials really are.

2)The second problem is not mine, I first saw it several years ago from my number theory textbook. The question is stated a little more simply in it, i.e. by giving that lower bound. Thus, I decided to make it a little more challenging.

The idea is as follows, let N be the number that determines sufficiently large integers. Then say that n>N is an integer bigger than this number. We can therefore write n=N+k where k is an integer. Now, by Lagrange's four square theorem k is expressible as a square, sum of two squares, sum of three squares or sum of all four squares. The trick is to chose such an N which is simultaneously a square, two square, three square and four square sums. Because if k is a square we can write N as four squares. If k is a two square sum we can write N as three squares. If k is a three square sum we can write N as two square sum. And if k is a four square sum we can write N as a square. Thus, in all cases we have exactly 5 squares expressing n. Now the rest is trial and error. Just find what that N, lower bound, is what determines that point. Well, it has to be a square, so that rules out a lot of integers, and by just looking we soon find that N=169 is that lower bound which we need. Because it is a square, sum of two squares, sum of three and four squares. Thus, anything above this number is expressible as a sum of exactly five squares.
__________________
And he (Elisha) went up from thence unto Bethel: and as he was going up by the way, there came forth little children out of the city, and mocked him, and said unto him, "Go up, thou bald head"; "go up, thou bald head". And he turned back, and looked on them, and cursed them in the name of the Lord. And there came forth two she-bears out of the wood, and tore up forty and two children of them.
Second Kings 2: 23-24
Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 05:46 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2008 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.