Algorithm to generate numbers and their prime factors?

72 Views Asked by At

Similarly to how there are far better sieving algorithms to generate prime numbers than checking each number, are there any known/common algorithms to generate numbers and their factors rather than factoring each number?