Constraint on at least N unique digits in array

In reply to Jeff_Li_90:

You should try it.