document.write( "Question 863759: There are nine balls in a basket. Three of these balls are blue, three are red, and three are green. A boy randomly picks three balls from the basket.\r
\n" ); document.write( "\n" ); document.write( "How many possible combinations of balls are there? \r
\n" ); document.write( "\n" ); document.write( "(I did this question and got the right answer just by brute force counting, but I want to know if there is a way to do this question using proper math. The possible combinations are (B- Blue, R- Red, G- Green): \r
\n" ); document.write( "\n" ); document.write( "B-B-B
\n" ); document.write( "B-B-R
\n" ); document.write( "B-R-R
\n" ); document.write( "R-R-R
\n" ); document.write( "R-R-G
\n" ); document.write( "R-G-G
\n" ); document.write( "G-G-G
\n" ); document.write( "G-G-B
\n" ); document.write( "G-B-B
\n" ); document.write( "B-R-G\r
\n" ); document.write( "\n" ); document.write( "For a total of ten possible combinations.)
\n" ); document.write( "

Algebra.Com's Answer #520594 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
For each choice you can pick 1 of 3 balls.
\n" ); document.write( "You have 3 choices to make so,
\n" ); document.write( "\"N=3%2A3%2A3=27\"
\n" ); document.write( "Easiest way to count is to make a chart with 3 columns.
\n" ); document.write( "In the 3rd column, place B,R,G alternately for 27 entries.
\n" ); document.write( "In the 2nd column, place B for 3 rows, R for 3 rows, G for 3 rows, then repeat.
\n" ); document.write( "In the 1st column, place B for 9 rows, R for 9 rows, G for 9 rows.
\n" ); document.write( "That will get you all the values. \r
\n" ); document.write( "\n" ); document.write( "BBB
\n" ); document.write( "BBR
\n" ); document.write( "BBG
\n" ); document.write( "BRB
\n" ); document.write( "BRR
\n" ); document.write( "BRG
\n" ); document.write( "BGB
\n" ); document.write( "BGR
\n" ); document.write( "BGG
\n" ); document.write( "RBB
\n" ); document.write( "RBR
\n" ); document.write( "RBG
\n" ); document.write( "RRB
\n" ); document.write( "RRR
\n" ); document.write( "RRG
\n" ); document.write( "RGB
\n" ); document.write( "RGR
\n" ); document.write( "RGG
\n" ); document.write( "GBB
\n" ); document.write( "GBR
\n" ); document.write( "GBG
\n" ); document.write( "GRB
\n" ); document.write( "GRR
\n" ); document.write( "GRG
\n" ); document.write( "GGB
\n" ); document.write( "GGR
\n" ); document.write( "GGG
\n" ); document.write( "
\n" );