I have a problem that involves combinatorics that I am trying to solve in the most efficient way possible but all I keep coming up with is ways to brute force it. I was hoping I