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

Created by elias GR

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).

Tags

Problem Group