Reputation: 31
The brute force approach would be checking every possible number.
If it has n factors: x++.
until: x = i.
but I just learned that you could get i = 1 that has n factors by:
Now given i = 1, What is the possible approach to get the ith term?
If you could provide an answer that would work on prime numbers that would be great.
Upvotes: 2
Views: 54