Qurak

ThueMorse

Available

Returns the parity of the number of 1-bits in the binary expansion of `n`.

ThueMorse[n]
ThueMorse[5] → 0ThueMorse[{1, 2, 3}] → {1, 1, 0}

Topics

Related

All 6300 functions · Use this from an MCP client