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

You are not logged in.

#1 2012-12-17 16:49:52

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

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

Offline

#2 2012-12-17 17:09:02

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 85,406

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.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

#3 2012-12-17 19:16:46

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

Re: Baseball Lineups

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

Offline

#4 2012-12-17 19:26:47

bobbym
Administrator
From: Bumpkinland
Registered: 2009-04-12
Posts: 85,406

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.
Of course that result can be rigorously obtained, but who cares?
Combinatorics is Algebra and Algebra is Combinatorics.

Offline

Board footer

Powered by FluxBB