I had a similar question a few messages ago:
and I droned on about it possibly being to record that the cell had been processed.
Certainly, it would be a help to know what the aims of the OP are - I have asked, twice, but haven't yet had a proper answer.
I wish I knew…
along with (I think) the non-contiguous values:
10,30,31
10,30,32
10,31,32
20,31,32
for the triplets[, and
10,20,30,31
10,20,30,32
10,20,31,32
10,30,31,32
20,30,31,32
for the quadruplets.]
Your code already handles that admirably.