[math-fun] No. of words of length n in certain group