by Vanessa McHale | J
The Thue-Morse sequence \(t_0,t_1,\ldots\) is generated by
Suppose we wish to compute successive differences. In J:
I adapted the xor example here from Python; they used NumPy.
I ported a Python tutorial to J.