Design an algorithm to find the kth number such that the only prime factors are 3,5, and 7.
|
|
1
|
Post Answer
|
3=2*1+1,
Reply 35=2*2+1,
7=2*3+1
So,Kth element is:-
2K+1
11=2*5+1
Reply 0