Results 1 to 10 of 10
Thread: puzzle
-
05-07-2006, 09:49 AM #1Right Off the Assembly Line
- Join Date
- Jul 2005
- Location
- coimbatore
- Posts
- 30
puzzle
hi
pls any one help me find the answer in the following puzzle:
There are 10 steps. A person is starting from the bottom climbing to the top. A person can climb, at a time, one, two or three steps. In how many ways can he climb the steps and reach the top?
bye.,
saravana.
-
05-07-2006, 02:10 PM #2
Re: puzzle
Well the answer is very simple..... U see there aare ten steps and three given step incremenets => single, double , triple. So the equation formed is :
3x+2y+1z = 10
Just count the number of sets x,y,z form. Thats the solution. Like x=3,y=0,x=1 is one set/way. So count the number of these ways !!!
-
05-07-2006, 02:17 PM #3Human Spambot
- Join Date
- Nov 2004
- Location
- Madurai
- Posts
- 2,382
Re: puzzle
There is a twist to the above solution presented by mediator... It will count steps of (2, 3, 2, 3) and (3,2,3,2) and (2,2,3,3), etc to be same since x=0, y=2,z=2 for all cases... But, in this situation, they should be counted as different... So, we are looking at permutations rather than combinations, but it is not as direct as that because of the restraint in the sum...
However, what this post is doing in a QnA thread is more puzzling
Arun
-
06-07-2006, 03:09 AM #4Broken In
- Join Date
- Dec 2005
- Posts
- 151
Re: puzzle
taking 1 step --> 1 way ;
taking 2 steps --> 1 way;
combination of 2&3 --> 4 ways;
combination of 1&3 --> 4 ways;
combination of 1,2 &3-->5!/5*2! + 3!
ways
-
06-07-2006, 08:26 AM #5Human Spambot
- Join Date
- Nov 2004
- Location
- Madurai
- Posts
- 2,382
Re: puzzle
1&2 combination has been left out above, and some mistakes are there...
Originally Posted by hermit
Combination of 2 & 3: Here, no. of 3s has to be 2 (cannot be 0 as it will be all 2s which has been accounted, cannot be 1 or 3 as there will be odd number in total, anything above 3 will lead to total more than 10.). So, you have 2 2s and 2 3s in this combination set... (2,2,3,3), (2,3,2,3), (2,3,3,2), (3,2,2,3), (3,2,3,2), (3,3,2,2,) implies 6 combinations...
Combinations of 1 & 3: Here, things get a bit complicated...If we have x 1s and y 3s, x+y must be even, but x and y can both be odd... x and y must be greater than 0... y=1 => x=7, y=2 => x=4, and y=3 => x=1.
x=7, y=1 => 8 combinations
x=1, y=3 => 4 combinations
x=4, y=2 => (111133) (111313) (111331) (113113) (113131) (113311) (131113) (131131) (131311) (133111) (311113) (311131) (311311) (313111) (331111) 15 combinations...
Combinations of 1 & 2: Here again, the combinations will increase... no. of 1s must be 2, 4, 6 or 8. I will get back to this later...
2 1s, 4 2s
4 1s, 3 2s
6 1s, 2 2s
8 1s, 1 2(s)
And then we have combinations of 1,2 and 3, which I will look into later...
Arun
-
10-07-2006, 08:12 AM #6
Re: puzzle
Hey that what i meant! taking x=1, count all possible positive values of y and z, then x=2 => y,z ?.....then x=3 =>y,z ? so and so....means all the sets formed is the answer!
-
10-07-2006, 12:28 PM #7
Re: puzzle
Mm.. Maths! Maths!
Wait, I've got a Puzzle too!
Lets suppose a Farmer owns 50 Cows... and has 9 rooms to lock them up! One day it starts to rain. He can lock any number of Cows in each room, but can do so only in Odd numbers... So how many Cows in each rooms at last?Oh my! Such a nice Planet...
But... what am I doing here??
-
10-07-2006, 12:56 PM #8
Re: puzzle
Ur problem is same as above! It shud be how many ways the cows can be entered in the rooms with the given condition.
no. of cows in each room will vary in each step!
-
10-07-2006, 08:42 PM #9
Re: puzzle
So how many Cows in each room Mediator?
Originally Posted by mediator
Oh my! Such a nice Planet...
But... what am I doing here??
-
10-07-2006, 09:27 PM #10
Re: puzzle
@Martian.....Bro .....Im not a supergenius! Have mercy! I gave up studying permutation and combinations a long time back.
But in ur case the eqaution will be similar as previous problem!
I dunno how to solve that equation now! If i cud...then i wud have posted the exactanswer too!Last edited by mediator; 10-07-2006 at 09:32 PM.
Similar Threads
-
Another Puzzle
By vaibhavtek in forum Chit-ChatReplies: 2Last Post: 09-02-2008, 10:28 PM -
Puzzle
By rahul.ims in forum Chit-ChatReplies: 23Last Post: 09-02-2008, 04:57 PM -
one more puzzle
By rahul.ims in forum Chit-ChatReplies: 3Last Post: 07-02-2008, 04:45 PM -
Solve the given puzzle 2
By adi007 in forum Chit-ChatReplies: 63Last Post: 24-10-2007, 10:35 PM -
Triangle Puzzle....
By sivarap in forum Chit-ChatReplies: 9Last Post: 23-10-2007, 03:44 AM



LinkBack URL
About LinkBacks

Bookmarks