2013, 2014 and 2015 have an interesting property regarding their factors. They all have the same number of factors: 8. What is the smallest positive integer that has the same number of factors as and ?
Bonus : Can you write a program that finds all of the numbers less than that also have this property?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This is the Python programme that I wrote to find all numbers less than 10^6 that have the property:
It's certainly not the fastest algorithm, seeing that it takes more time for larger numbers. Can somebody suggest how I can optimise this? If you give it enough time, it will output all numbers (there's a lot of them) that satisfy the property.
To answer the question, the programme outputs "33, 34, 35" as the first set where N = 33.