ThueMorse[Range[20]]