first let me show what I have working correctly
f = Permutations[Range[5], {3}]
Riffle[f, Apply[CoprimeQ, f, {1}]]
now I would like to automate the deletion of a list {a,b,c} that returns false from this test. I can probably do it with Do[] but I wanted to learn functional programming the right way using built in functions and pure function on one line of code.
I had spent a lot of time trying to follow this example for DeleteCases[] here but it seems that it requires building a custom function. it also does not perfectly correlate to my example because in that tutorial they are comparing two lists. I tried to understand it but it went over my head.
here is not working example #1
f = Permutations[Range[5], {3}]
DeleteCases[f, CoprimeQ]
here is not working example #2
f = Permutations[Range[5], {3}]
DeleteCases[f, (CoprimeQ[_x] == False) -> x]
also I prefer not to use shorthand @@ @/ @@@. you can see I use the full form of Apply[] which is preferable to me while I am still learning. I can convert between them if I need to so post what you have.