GRYTCZUK, J. Thue-like Sequences and Rainbow Arithmetic Progressions. The Electronic Journal of Combinatorics, v. 9, n. 1, p. R44, 6 Nov. 2002.