next up previous
Next: Sorting Problem Up: CS101 Computer Programming and Previous: Problem Solving on Computer

235 problem

Definition: A number $n$ is a 235-number iff $n = 2^i * 3^j * 5^k$ for some $i,j,k \geq 0$.

Example 235-numbers: 1, 2, ..., 15, ... 48, ... 120, ...

Problem: Find the 2035th number (in general n-th number) of this form.

How to solve this?



G. Sivakumar 2000-07-23