Page 1 of 1
Math stuff
Posted: Thu Dec 17, 2009 5:12 pm
by TheSpy
So, I have a a little problem. I have to calculate the amount of all possible combinations of some letters. It's not hard if the string can contain letters a, b and c with the length of 10 (3^10). This is a little more complicated. I have a string 20 characters long. It must contain 3xS, 3xB, 7xL and 7xP. How can I get the maximum amount of combinations for such a string pattern?
Thanks in advance.
Re: Math stuff
Posted: Thu Dec 17, 2009 5:29 pm
by Mirosuke
Yeah, that's your homework, not ours lol.
jk
well, not in a mood to resolve math problems > <
Re: Math stuff
Posted: Thu Dec 17, 2009 5:36 pm
by panterr
I think write them down is the only way....
Re: Math stuff
Posted: Thu Dec 17, 2009 5:53 pm
by DumboDii
I'm not 100% sure but I think it goes like this: (3x3x7x7)/20!
EDIT: I'm not sure at all now.
Re: Math stuff
Posted: Thu Dec 17, 2009 6:15 pm
by SM-Count
Just simplify the problem to what would happen if you had 2 'a', 2 'b', and 2 'c's then expand from there.
Re: Math stuff
Posted: Thu Dec 17, 2009 8:50 pm
by TheSpy
SM-Count wrote:Just simplify the problem to what would happen if you had 2 'a', 2 'b', and 2 'c's then expand from there.
Thanks, you helped me out a lot.