For instance, the number 24 has prime factorization 2^3*3^1, and can be written in the following ways
1*24
2*12
2*2*6
2*3*4
2*2*2*3
3*8
4*6
I may have missed one but you get the idea.
I tried looking into the other thread How to find multiplicative partitions of any integer? but couldn't understand the answers in all honesty.
I don't need anyone to write code for me but rather I could really use some help creating an efficient algorithm for this (probably something recursive?).
I am coding in Python.