I have this list as an example:
L1 = {{1, 7, 23, 31, 19}, {1, 19, 17, 35, 9}, {1, 9, 25, 37, 21}, {1, 21, 15, 33, 7}, {2, 8, 24, 34, 20}, {2, 20, 18, 38, 10}, {2, 10, 26, 36, 22}, {2, 22, 16, 32, 8}, {3, 11, 28, 34, 24}, {3, 24, 8, 32, 12}, {3, 12, 27, 31, 23}, {3, 23, 7, 33, 11}, {4, 13, 30, 36, 26}, {4, 26, 10, 38, 14}, {4, 14, 29, 37, 25}, {4, 25, 9, 35, 13}, {5, 16, 22, 36, 30}, {5, 30, 13, 35, 17}, {5, 17, 19, 31, 27}, {5, 27, 12, 32, 16}, {6, 15, 21, 37, 29}, {6, 29, 14, 38, 18}, {6, 18, 20, 34, 28}, {6, 28, 11, 33, 15}}
I want to remove all elements {1, 2, 3, 4, 5, 6} from this list to give the following list as an output:
L2 = {{7, 23, 31, 19}, {19, 17, 35, 9}, {9, 25, 37, 21}, {21, 15, 33, 7}, {8, 24, 34, 20}, {20, 18, 38, 10}, {10, 26, 36,22}, {22, 16, 32, 8}, {11, 28, 34, 24}, {24, 8, 32, 12}, {12, 27, 31, 23}, {23, 7, 33, 11}, {13, 30, 36, 26}, {26, 10, 38, 14}, {14, 29, 37, 25}, {25, 9, 35, 13}, {16, 22, 36, 30}, {30, 13, 35, 17}, {17, 19, 31, 27}, {27, 12, 32, 16}, {15, 21, 37, 29}, {29, 14, 38, 18}, {18, 20, 34, 28}, {28, 11, 33, 15}}
In this case each time the first element of a of the list {a,b,c,d,e} is removed, however this might not always be the case for other examples.
My question is what is the best way to do this. I was thinking of two for-loops, but I am sure there is a nicer way to do this.
Thank you in advance.