All possible combination of 3x3 Grid

I get only 84. Adapted Python code from here:


Combos_2024Oct31a.gh (13.4 KB)

P.S. Added white group as a visual aid:


Combos_2024Oct31bb.gh (19.4 KB) UPDATED!

P.P.S. I noticed that the last two grids (top row) in my visual aid had the same pattern :interrobang: Fortunately it’s a simple off-by-one error, easily fixed. Top row now shows four grids, not five. UPDATED version ‘bb’ above.

2 Likes