There are n ways to paint the 8 faces of a hexagonal prism with 8 different colors, each only used once. Find the last 3 digits of n.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We choose the colors for the end faces in 8C2 ways....and the colors in the body will be a circular permutation of 6 color.....Therefore the total number of possible colorings = 5! * 8C2 = 3360...The last 3 digits = 360