the faces of a triangular prism are to be painted by 5 different colors . in how many ways can be this be done ?
if i have to paint 5 sides with 5 different colour . . . first face can have 5 c 1 options , 2 nd would have 4 c 1 , and subsequent ones would have 3 c 1 , 2 c 1 and 1 options respectively . total options = 5 c 1 x 4 c 1 x 3 c 1 x 2 c 1 x 1 = 120 distinct ways correct answer - d
divide(factorial(5), const_1000)