there are 2 red chips and 3 blue ones . when arranged in a row , they form a certain color pattern , for example rbrrb . how many color patterns ?
"using anagram method : 5 _ 4 _ 3 _ 2 _ 1 r _ r _ r _ b _ b so . . 5 ! / number of repeated letters ( 2 ! ) ( 3 ! ) = 10 ans : e"
multiply(factorial(2), factorial(3))