Search found 1 match
- Tue Mar 10, 2015 1:33 pm
- Forum: Algorithms
- Topic: V = 2^i * 3^j * 5^k, how 2 work out the problem efficiently?
- Replies: 7
- Views: 8315
Re: V = 2^i * 3^j * 5^k, how 2 work out the problem efficien
Then the (n+1)th number has to be the min( ai*2, aj*3, ak*5) where 1 <= i,j,k <=n and ai*2, aj*3 and ak*5 are the smallest numbers just greater than an. ???