Thanks miotatsu, that first link looks like it will help alot.
On a side note, that challenge looks really hard
Yeah, but this one seems possible at least. I just need to figure out all the possible winning combinations for that set and modulo that number and I've got my answer. The hardest ones on that site though are just sheer impossible.