Numbers with prime factors 2, 3 and 5. - MATLAB Cody - MATLAB Central

Problem 365. Numbers with prime factors 2, 3 and 5.

Difficulty:Rate

Make a function which takes one positive integer n and returns a matrix with the numbers of the form (2^i)*(3^j)*(5^k) which are lower or equal to n (i,j,k integers).

Solution Stats

29.4% Correct | 70.6% Incorrect
Last Solution submitted on Mar 03, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers575

Suggested Problems

More from this Author2

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page