find the lowest number with given amount of integer factors - MATLAB Cody - MATLAB Central

Problem 47568. find the lowest number with given amount of integer factors

Difficulty:Rate
given a number X, find the lowest positive integer Y which can be devided by excactly X different integers (with no remainder).
For example, the number 20 can be divided by 6 different integers, namely 1, 2, 4, 5, 10 and 20. However, when the given number X is 6, Y should be 12, since 12 can be divided by 1, 2, 3, 4, 6 and 12 (also 6 in total), and there is no lower number with such many factors.

Solution Stats

42.86% Correct | 57.14% Incorrect
Last Solution submitted on Jan 24, 2024

Problem Comments

Solution Comments

Show comments
Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Problem Recent Solvers10

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page