Number of necklaces


Please enter n, the number of beads in the necklace in question:
n=


Now enter k, the number of different colours:
k=



For starting computation press the button .


There is some help available how to read a polynomial?