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

You are not logged in.

## #1 2012-12-18 15:49:52

RealCozzy
Novice

Offline

### Baseball Lineups

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

## #2 2012-12-18 16:09:02

bobbym

Offline

### Re: Baseball Lineups

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.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.

## #3 2012-12-18 18:16:46

RealCozzy
Novice

Offline

### Re: Baseball Lineups

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

## #4 2012-12-18 18:26:47

bobbym

Offline

### Re: Baseball Lineups

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.
I have the result, but I do not yet know how to get it.
All physicists, and a good many quite respectable mathematicians are contemptuous about proof.