I am trying to work out the number of combination's a particular problem has.

The problem:

Lets say there are 3 nodes. Each node is assigned a color, and there are three possible colors each node can be.

How many combinations are there?

Is the answer just 3^3?

Thanks

Calypso