Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: I want to know the number of permutations.
Date: Mon, 29 Jun 2009 16:11:02 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 9
Message-ID: <h2ap2l$6c7$1@fred.mathworks.com>
References: <h2alri$2o3$1@fred.mathworks.com> <h2an11$k7n$1@fred.mathworks.com> <h2anhv$oop$1@fred.mathworks.com> <h2anv1$m0g$1@fred.mathworks.com> <h2aohp$1mm$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246291862 6535 172.30.248.37 (29 Jun 2009 16:11:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 29 Jun 2009 16:11:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:551466


"Husam Aldahiyat" <numandina@gmail.com> wrote in message <h2aohp$1mm$1@fred.mathworks.com>...

> 
> In a 20 by 20 square grid, how many ways can one travel from one corner to the opposite without backtracking.

The general case is showed here, if you haven't pay attention
http://www.mathworks.com/matlabcentral/newsreader/view_thread/253745#658145

Bruno