How do you know when you have found the longest possible string fo factors for a number