2014 AMC 12B Problems/Problem 12
Solution
Define to be the set of all triples such that , , and . Now we enumerate the elements of :
It should be clear that is simply , where is the number of triples such that there exists at least one triple where and . So, is