triplet generator works for first 23 and exceeds recursion depth