What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » Mathematial Problem

Mathematial Problem
Author: Message:
Zephyr
Senior Member
****

Avatar
monster.rat

Posts: 950
Reputation: 26
35 / Male / Flag
Joined: Jan 2005
RE: Mathematial Problem
I don't know if you're doing this, but if there are repeated letters there is a formula for it.

eg. AAABB

n = total letters = 5
x = no. of As      = 3
y = no. of Bs      = 2

number of permutations formula = n! divided by (x! * y!) where x and y are the number of times the repeated letters occur.

n! = 5*4*3*2*1 = 120
x! = 3*2*1 = 6
y! = 2*1  = 2

120/(6*2) = 120/12 = 10 permutations

Don't know if you need that and sorry if i didn't explain it well enough, but it might come in handy.

Just to explain a bit more, say you had the word AAAABBBCCD

n = 10 (total letters)
w = 4 (number of As)
x = 3 (number of Bs)
y = 2 (number of Cs)
z = 1 (number of Ds)

formula = n! / (w!*x!*y!*z!)

             = 10! / 4!*3!*2!*1!

             = 3628800 / 288

             = 12600 permutations

This post was edited on 01-04-2006 at 12:09 AM by Zephyr.
[Image: rhcpsig38tj.png]
01-03-2006 11:55 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Mathematial Problem - by M73A on 01-03-2006 at 11:27 PM
RE: Mathematial Problem - by ddunk on 01-03-2006 at 11:29 PM
RE: Mathematial Problem - by M73A on 01-03-2006 at 11:30 PM
RE: RE: Mathematial Problem - by toddy on 01-03-2006 at 11:38 PM
RE: Mathematial Problem - by ddunk on 01-03-2006 at 11:34 PM
RE: Mathematial Problem - by M73A on 01-03-2006 at 11:37 PM
RE: Mathematial Problem - by M73A on 01-03-2006 at 11:41 PM
RE: Mathematial Problem - by Zephyr on 01-03-2006 at 11:55 PM
RE: Mathematial Problem - by M73A on 01-04-2006 at 12:10 AM
RE: Mathematial Problem - by Zephyr on 01-04-2006 at 12:21 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On