for the prime number HW
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi, I am currently working on a homework assignment and on my last problem but I am having some trouble.
The question is: For the prime number: ((((Why the for loop ends on sqrt(n) and not on (n)?)))) You need to explain your answer in the class ,,You should have a full explanation.
Answers (1)
Roger Stafford
on 1 Mar 2016
Same answer as in
http://www.mathworks.com/matlabcentral/answers/270893
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!