in reply to Combinatorics problem. (Updated with more info.)
Should 1 3 1 be in the list of possibilities too?
Indeed, yes. Thanks for spotting my illiterate error.