Your solution is almost correct but your removing duplicates at multiples of the product of mult1 & mult2. You may actually find duplicates at multiples of less than that product.
Oops! I knew I was forgetting something! Thanks for the tip Ramon.
Twins in a Window
Sophie Germain prime
CONVERT TAN TO SIN
Implement a bubble sort technique and output the number of swaps required
Easy Sequences 1: Find the index of an element
Easy Sequences 17: Mu Variant Function
Easy Sequences 38: Prime Number Delta
Easy Sequences 18: Set Bits of Triple Summations
Easy Sequences 42: Areas of Non-constructible Polygons
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office