document.write( "Question 1130264: Suppose four integers are chosen successively at random between 0 and 12, inclusive. Find the probability that:\r
\n" ); document.write( "\n" ); document.write( "(Round your answer to four decimal places if necessary.)\r
\n" ); document.write( "\n" ); document.write( "a. they are all different?\r
\n" ); document.write( "\n" ); document.write( "b. not more than 2 are the same?
\n" ); document.write( "

Algebra.Com's Answer #747070 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
I find for this type of problem it is easier to count the number of ways the event(s) of interest
\n" ); document.write( "can occur then divide by the total number of possible outcomes.
\r
\n" ); document.write( "\n" ); document.write( "The number of selections of 4 numbers from the set (0, 1, . . ., 12), with replacement, is \"+13%5E4+\". This will be the denominator in our probability calculation.
\r
\n" ); document.write( "\n" ); document.write( "Note: Using notation (nCr = n!/((n-r)!r!))
\r
\n" ); document.write( "\n" ); document.write( "a) There are \"+4%21%2A13C4+\" ways to pick 4 unique numbers from the set of 13 (4! because A,B,C,D
\n" ); document.write( "and C,B,D,A are the same pick but picked in different order). \r
\n" ); document.write( "\n" ); document.write( "P(no matches) = \"+4%21%2A13C4+%2F+13%5E4+=+17160+%2F+28561+=+highlight%28+1320+%2F+2197+%29+\" or about \"+highlight%28+0.6008+%29+\"\r
\n" ); document.write( "\n" ); document.write( "
\r
\n" ); document.write( "\n" ); document.write( "b) P(no more than two match) = P(no matches) + P(exactly two match) = 1320/2197 + P(exactly two match)\r
\n" ); document.write( "\n" ); document.write( "P(exactly two match) = \"+%2813C3%29%284C2%29%2A2%21+%2F+13%5E4+=+3432+%2F+28561+=+264+%2F+2197+\" or about 0.12016
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(no more than two match) = \"+%281320%2B264%29+%2F+2197++=+highlight%28+1584+%2F+2197+%29+\" or about \"+highlight%28+0.7210+%29+\"
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This is probably the answer your teacher is looking for.
\r
\n" ); document.write( "\n" ); document.write( "I'd like to point out: if {A,B,C,D} are any four unique numbers selected from the set {0,1, . . ., 12} then part (b) addresses A,B,C,D (and its permutations) and A,A,B,C (and its permutations) while the pattern A,A,B,B (and its permutations) are NOT counted. For example, {7,7,11,11} is NOT counted in part (b) even though technically there are only two matching numbers. When I interpret \"not more than 2 are the same\" I sometimes think {7,7,11,11} should be included.
\r
\n" ); document.write( "\n" ); document.write( "----
\n" ); document.write( "EDITED: Fixed the wording on the paragraph about number of selections of 4 numbers, and added this section:
\r
\n" ); document.write( "\n" ); document.write( "To include the pattern {A,A,B,B}, add to the above answer:
\n" ); document.write( " P(AABB) = \"+%2813C2%29%284C2%29+%2F+13%5E4+=+468+%2F+28561+\" to part (b).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );