FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math » Combinatorics
counting words
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
BSvK
science forum beginner


Joined: 02 Oct 2005
Posts: 1

PostPosted: Sun Oct 02, 2005 5:01 pm    Post subject: counting words Reply with quote

Consider four sets of symbols, first of m alphas, second of m betas,
third of n gammas, fourth of n deltas. These are to be arranged in
2(m+n)-long words such that no pair of identical symbols are adjacent. I
would like to count the number of different words so formed. I think Polya
theory should apply here but I was unable to do so. Please, help.
Back to top
Proginoskes
science forum Guru


Joined: 29 Apr 2005
Posts: 2593

PostPosted: Tue Oct 04, 2005 4:33 am    Post subject: Re: counting words Reply with quote

BSvK wrote:
Quote:
Consider four sets of symbols, first of m alphas, second of m betas,
third of n gammas, fourth of n deltas. These are to be arranged in
2(m+n)-long words such that no pair of identical symbols are adjacent. I
would like to count the number of different words so formed. I think Polya
theory should apply here but I was unable to do so. Please, help.

You need to supply the following information, unless you want the most
general solution:

How many alphas, betas, gammas, and deltas are there?
How many alphas are also betas?
How many betas are also gammas?
How many gammas are also deltas?

--- Christopher Heckman
Back to top
Proginoskes
science forum Guru


Joined: 29 Apr 2005
Posts: 2593

PostPosted: Wed Oct 05, 2005 6:24 am    Post subject: Re: counting words Reply with quote

Proginoskes wrote:
Quote:
BSvK wrote:
Consider four sets of symbols, first of m alphas, second of m betas,
third of n gammas, fourth of n deltas. These are to be arranged in
2(m+n)-long words such that no pair of identical symbols are adjacent. I
would like to count the number of different words so formed. I think Polya
theory should apply here but I was unable to do so. Please, help.

You need to supply the following information, unless you want the most
general solution:

How many alphas, betas, gammas, and deltas are there?
How many alphas are also betas?
How many betas are also gammas?
How many gammas are also deltas?

BSvK has responded privately, saying:

Quote:
There are m alphas, m betas, n gammas, n deltas. Alphas, betas ,gammas,
deltas are all different from each other.

This is easy then. The number of ways to choose the first alpha is m,
the second way m-1, the third way m-1, etc., so the number of strings
of alphas with no consecutive identical symbols is m*(m-1)^(m-1). This
will also be the number of strings of betas. The number of gamma
strings will be n*(n-1)^(n-1), and this will also be the number of
delta strings. We can combine any alpha string with any beta string,
etc., so the total number of strings is

m*(m-1)^(m-1) * m*(m-1)^(m-1) * n*(n-1)^(n-1) * n*(n-1)^(n-1), or
m^2*(m-1)^(2m-2) * n^2 * (n-1)^(2n-2).

--- Christopher Heckman
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 8:26 pm | All times are GMT
Forum index » Science and Technology » Math » Combinatorics
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Counting Franklin's Magic Squares Sam Wormley Math 0 Sat Jun 24, 2006 3:58 am
No new posts Quick Probability/Counting Technique ... Cherokee Undergraduate 1 Mon Jun 12, 2006 6:45 pm
No new posts boggled by counting problems Bill H Probability 4 Wed May 31, 2006 3:21 pm
No new posts Counting number of zeros in an array Nishant num-analysis 5 Thu May 18, 2006 4:08 pm
No new posts Counting number of zeros in an array Nishant Math 6 Thu May 18, 2006 4:07 pm

Modded Xbox | Credit Card Advice | Loans | Channing Tatum | Libro arquitectura
Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4879s ][ Queries: 16 (0.4117s) ][ GZIP on - Debug on ]