Adding solutions for a "summing triplets" problem