wu :: forums
« wu :: forums - Number of ways »

Welcome, Guest. Please Login or Register.
Nov 25th, 2024, 4:27am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   medium
(Moderators: Eigenray, SMQ, ThudnBlunder, Grimbal, towr, Icarus, william wu)
   Number of ways
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Number of ways  (Read 624 times)
raj1
Newbie
*





   


Posts: 15
Number of ways  
« on: Feb 4th, 2008, 1:18pm »
Quote Quote Modify Modify

Given that you can take one step or two steps forward from a given step. So find the total number of ways of reaching Nth step.
IP Logged
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Number of ways  
« Reply #1 on: Feb 4th, 2008, 2:59pm »
Quote Quote Modify Modify

Discussed recently here (and a variation here).
IP Logged
mad
Junior Member
**





   


Posts: 118
Re: Number of ways  
« Reply #2 on: Feb 9th, 2008, 9:12pm »
Quote Quote Modify Modify

Given a grid of n X n squares, what are the number of ways to reach from one end vertex (bottom left) to another top right vertex walking only along edges of squares when
i) you can move only left anf above
 
ii) you can use any edge only once but can move in any of the 4 directions?
IP Logged
Eigenray
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 1948
Re: Number of ways  
« Reply #3 on: Feb 9th, 2008, 10:40pm »
Quote Quote Modify Modify

on Feb 9th, 2008, 9:12pm, mad wrote:
Given a grid of n X n squares, what are the number of ways to reach from one end vertex (bottom left) to another top right vertex walking only along edges of squares when
i) you can move only left anf above

There must be 2n moves; you can choose n of them to be right, and the other n to be up, in C(2n,n) ways.
 
Quote:
ii) you can use any edge only once but can move in any of the 4 directions?

A lot.  Over a billion just for a 5x5 grid!
IP Logged
mad
Junior Member
**





   


Posts: 118
Re: Number of ways  
« Reply #4 on: Feb 9th, 2008, 11:50pm »
Quote Quote Modify Modify

But, can't any formula be derived? I mean since we can use any edge only once, there must be an upper bound.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Number of ways  
« Reply #5 on: Feb 10th, 2008, 7:14am »
Quote Quote Modify Modify

on Feb 9th, 2008, 11:50pm, mad wrote:
But, can't any formula be derived? I mean since we can use any edge only once, there must be an upper bound.
Well, it won't go beyond (n*n)!, but that's not a very tight upper bound.
IP Logged

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





   


Gender: male
Posts: 919
Re: Number of ways  
« Reply #6 on: Feb 10th, 2008, 9:34am »
Quote Quote Modify Modify

3^((N-2)^2)*2^(4(N-2))*2 is a bit tighter bound.
(I hope it's correct Wink)
« Last Edit: Feb 10th, 2008, 9:35am by Hippo » 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