Choose color, 0-crab or 1-math pattern, then hit Flag. 1-math-pattern is x times y to set the color.
I had done the crab pattern a few years ago. I added the math pattern, which sets dot color to x times y position.