How to find the factor of a number more convenient

How to find the factor of a number more convenient

We can decompose this number into prime factors
For example, find a factor of 12,
Because 12 can be decomposed into 1 × 2 × 2 × 3, the factors of 12 are: 1, 1 × 2, 1 × 3, 2 × 2, 2 × 3, 2 × 2 × 3, that is, the factors of 12 are: 1, 2, 3, 4, 6, 12