Please reread above and let me know if it makes sense otherwise I am gonna have to come up with another idea. I think getting a set right individually is good enough. It is effectively a brute force type method, I thought listing all possible combinations would be a challenge in it's own intially for those that are starting out
I kind of think you should (come up with another idea). "Given all combinations provide a code and find it in the combination set" -- it just does not make sense, Rabid Dog. Or rather, it makes sense, but I do not see "a problem" (like, "Given the spectrum, find the color of the sky").
Since the set size, etc, are not known, I suppose it would be a challenge for "those that are starting out" to deal with how to dynamically structure some data, but I really think there need to be more meat on these bones, since once the data is structured, the combination is there -- you do not need to "find it", you just need to do the brute force iteration (unless there is a none brute force method, which I would be surprised, but hey).
I was just googling around and I found this page:
http://www.codinghorror.com/blog/archives/000951.htmlI've spent a whole lot of time at cprogramming.com (like, 3500 posts in 15 months) and so I get to see a lot of what the CS students are getting asked to do in their first few years. Of the problems listed on the above page, I have seen AT LEAST 5-10 threads on every single one of them except for "Two Generals" which I've never heard of. I've never myself taken time to solve any of them*, mind you, but they do look kind of interesting. The "dining philosophers" is not so appropriate since it is really a multi-process/threading problem, but for sure the "Eight Queens" or "Towers of Hanoi" are good; so maybe is the "Traveling Salesman" but it needs fleshing out. I think they are all to greater and lesser degrees about permutations. If they seem too involved (I think they would take most people at least an afternoon) there are tons of problems at "Sphere online judge":
http://www.spoj.pl/altho the SPOJ interface itself is gimpy and you have to register to browse the challanges, but they range from dead simple stuff on up.
Anyway, sad that I am not myself more creative, but there's some suggestions. Maybe someone could come up with a complication on the original idea from the OP (you need a complication), sometimes stuff like that falls out of the sky and manages to land in my head...just not so far

* I have enough programming problems as is

but I do promise to do this one.