6, 8, 9, 10, 12, 15, 16, 18, 20, 24, 25, 27, 30, 32, 36, … consists of all numbers of the form 2^i·3^j·5^k where i, j and k are non-negative integers. Generate n-th number.
Example: 36 == solution(20)
Can anybody explain me what are integers i, k and j and where are they taken from?
google: hamming numbers )))
Обсуждают сегодня