A baton is divided into 6 cylindrical bands of equal length.

a) in how many different ways can the 6 bands be colored if n colors are available and unlimited repetition of the colors is allowed?

b) in how many different ways can the 6 bands be colored if n colors are available and no two adjacent bands can receive the same color?