Info

This question is closed. Reopen it to edit or answer.

WAP to effectively count the number of composite numbers upto 10^8, that have exactly two distinct prime factors. the prime factors can be repeated more than once. Eg. 6,10,12,14,15,18.......

1 view (last 30 days)
I've written a code which i'll share please comment/suggest any changes or improvements to successfully run the code. The code runs successfully till 10^5 and beyond never gets back the solution. Also may provide (links to) already run codes for the same problem, as I've not searched it online.

Answers (0)

Community Treasure Hunt

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

Start Hunting!