This page is dedicated to the paper On ternary Dejean words avoiding 010.

gen010.c produces the morphisms described in the paper.

Usage:
./gen010 size w lim

We look for a q-uniform morphism for increasing values of q, starting with q = size.
w is the value such that the obtained word is w-directed.
We check that the morphic images are OK for every (7/5+)-free 4-ary word up to length lim.

Command line to find the morphism is in paper:
./gen010 1557 180 9

To compile:
gcc -O3 -o gen010 gen010.c