This sounds like a homework question.
@ the OP: what are YOUR ideas about how to calculate the possible combinations?
Give the forum something to show you've done some work on this issue on your own. That said, clipolir's response was very helpful.
@ Clipolir:
If you like solving problems like that, check out freelancer.com. That way you can help people and make some money, instead of helping people and having them take advantage of you. I think the latter is in play here.
-- Fri Jul 30, 2010 7:42 pm --
Case in point:
Amidda1217 wrote:I know this can probably be done via factorial. But it has been a long time and I have forgotten how to do it.
So, what the OP is basically saying is this:
...I've forgotten how to do it...and since my time is worth so much more than everyone else's, I'll post it onto the HTS forums for someone else to bother with it.
I can't be bothered to put forth effort to solve my own problems. Someone, solve this for me and I'll get to it when it's convenient for me.
I'm not saying that the OP isn't worth the help, it's just that at this point there's not much to evidence that he/she worked hard at solving it independently before asking us. If "factorials" were an answer to this issue (I'd like to see how they are, btw), then they don't need our help. They already have the answer. The work is up to them.
"I'm going to get into your sister. I'm going to get my hands on your daughter."
~Gatito