The Boltzman formula is S=k In W. A perfect crystal has a molar entropy of 0 at absolute zero because.

W=O
W=1
W=Na
k=1
K=r/Na

Why don't you try substituting W = 0 and W = 1, take the ln and see what you get.