Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
precompute and pick solution in Clear category for Ugly Numbers by juestr
ugly_number = [None, *sorted(2**twos * 3**threes * 5**fives
for twos in range(30) for threes in range(19) for fives in range(13))
][:1501].__getitem__
Dec. 8, 2021
Comments: