Discussion about math, puzzles, games and fun. Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ π -¹ ² ³ °

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**RealCozzy****Member**- Registered: 2012-12-17
- Posts: 2

I have to fill out a 9 player baseball lineup, using only three players.

I have three Player A, three Player B and three Player C.

ie - one lineup might look like AAABBBCCC or AABCABCCB

My question is, what is the math formula for determining how many possible lineups there are.

And secondly, what is an easy way to list all these lineups?

Thanks -D

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 108,524

Hi;

Welcome to the forum.

There are

different lineups. To list them you will need a program.

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

**RealCozzy****Member**- Registered: 2012-12-17
- Posts: 2

Thanks. Yes, I will need a program. I may work on this. Any tips on the psuedo code?

Offline

**bobbym****bumpkin**- From: Bumpkinland
- Registered: 2009-04-12
- Posts: 108,524

Hi;

Go here

http://users.telenet.be/vdmoortel/dirk/ … tions.html

and enter aaabbbccc.

Easier than coding a multinomial!

**In mathematics, you don't understand things. You just get used to them.****If it ain't broke, fix it until it is.**** Always satisfy the Prime Directive of getting the right answer above all else.**

Offline

Pages: **1**