Counting ternary square-free words quickly

Abstract

An efficient, when compared to exhaustive enumeration, algorithm for computing the number of square-free words of length n over the alphabet \a, b, c\ is presented.

0

Discussion (0)

Sign in to join the discussion.

Loading comments…