Simulating Rule 30 with Recursive SQL and Window Functions
excessivelyadequate.com