How to input the multiplicities of trope numbers

The multiplicity of a trope number indicates how often this trope number occurs in the trope structure. For each trope number i from 1 to 35 its multiplicity ai ∈ {0,…,6} can be prescribed. If
.. 35

i=1
ai=6,..
then the program determines all tone rows the trope structures of which have multiplicities ai for each i ∈ {1,…,35}. If
.. 35

i=1
ai>6,..
then there are no tone rows with these multiplicities. If
.. 35

i=1
ai<6,..
then the program determines all tone rows the trope structures of which have multiplicities at least ai for each i ∈ {1,…,35}.
Database on tone rows and tropes
harald.fripertinger "at" uni-graz.at
January 2, 2019