Excellent work team.
I'll list out what the application of the q product does over the next so that we have a workable set of code for all c by Friday next week.
The non-trivial Lookup is about using the grid to make the solution pop out in O(log c_len) where c_len is the length of c in bits limiting the complexity of the whole process to big oh for finding a square root.
Exciting!
Understanding why the grid works will be a big step towards what comes next and what other math(z) objects are laying around in potential space for use?