Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Problem 1025. Divisors of an integer

Created by Abdelhak ARESMOUK

Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]

Problem Group

Solution Statistics

79 correct solutions 47 incorrect solutions
Last solution submitted on Dec 02, 2014