Finds formula solutions for bit combination