MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes it multiple times.
in = 137 ---> out = 137
in = 876 ---> out = [73 3 2]
2 players like this problem