Question: Select elements with different indices

Hi everyone

I have the following list:

L:=[[F[1], F[2], F[3], F[4]], [F[1], F[2], F[3], M[1]], [F[1], F[2], F[3], M[2]], [F[1], F[2], F[3], M[3]], [F[1], F[2], F[3], M[4]], [F[1], F[2], F[4], M[1]], [F[1], F[2], F[4], M[2]], [F[1], F[2], F[4], M[3]], [F[1], F[2], F[4], M[4]], [F[1], F[2], M[1], M[2]]

How do I select only the subsets in which the four elements have different indices? For example, I don't want [F[1], F[2], F[3], M[1]] Regards,

Oliveira

Please Wait...