Sturmian word (source code)

= Sturmian word
{c}

An infinite binary word is Sturmian if it has exactly $n+1$ distinct contiguous subwords of length $n$ for every positive <integer> $n$.