I've made a thing which draws diagrams to compute divisibility by N in any base, using @glitch.
divisibility-diagrams.glitch.me
I think the rectangular pattern in that divisibility by 22 diagram should be much better known. Would you have expected it?