The last factor will usually be the number itself. Like for example the factors of 15 are 1,3,5,15. I know those are the only numbers because it ended with 15 .
To find the longest string of factors for a number, list all integers that divide the number evenly, which will include the number itself at the end. Ensure that each listed factor can divide the number without a remainder. The complete list represents the longest possible string of factors for that number.
;