Problem 1025. Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers190
Suggested Problems
-
Swap the first and last columns
21015 Solvers
-
Return the 3n+1 sequence for n
8348 Solvers
-
14633 Solvers
-
245 Solvers
-
5262 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!