It's simple enough to brute force a collection of strings and then filter for every occurrence with the required count of 1's.
As n increases the number of possible permutations becomes very large, very quickly, however, and due to speed and space considerations, I'm trying to find a more sophisticated method -- ideally, one that doesn't involve excessive string processing.