Hi All, I would like to select the sub list of list. For example, I have a list as below
n= {{1,1,7,1,2,1,5},{1,2,7,1,2,1,5},{1,6,1,1,9,1,0},{1,7,4,1,9,1,1},{1,9,9,1,0,1,0},{2,0,1,1,0,1,5},{2,0,4,1,2,1,0},{2,1,4,1,4,1,5},{2,5,6,1,7,1,6},{2,6,7,1,5,1,6},{2,7,4,1,3,1,1},{2,8,3,1,0,1,0},{3,0,4,1,8,1,1},{3,2,0,1,7,1,5},{3,3,9,1,7,1,0},{4,1,7,1,7,1,6},{4,3,1,1,5,1,6},{4,5,6,1,7,1,0},{4,7,0,1,7,1,1},{5,7,6,1,3,1,5},{6,2,7,1,1,1,1},{6,7,2,1,6,1,1},{8,8,0,1,1,1,0},{9,1,0,1,5,1,1},{9,9,6,1,4,1,6}}
Clearly, 4th and 6th entry of all sublist is 1. What I want is to get the sublist that has distinct elements except 4th and 6th element, such as (first appropriate sublist ) {3,2,0,1,7,1,5} or {4,5,6,1,7,1,0}, so on..
This is also not good form {2,7,4,1,3,1,1}
I tried to use Case[] but no success and DuplicateFreeQ[] ContainAll[],ContainsExactly[]...
Any idea?
Thanks in advance..