```
def getFactors(self, n):
"""
:type n: int
:rtype: List[List[int]]
"""
res = []
for i in range(2, int(n**0.5) + 1):
if n%i == 0:
m = n//i
for q in self.getFactors(m):
if q[0] >= i:
res.append([i] + q)
res.append([i, m])
return res
```