Login
Or enter details manually
Enter your Email Address to receive a link to change password
Employee Referral Jobs in IT companies
Design an algorithm to find the kth number such that the only prime factors are 3,5, and 7.
By Vineet JhunJhunwala
No correct answers yet. You wanna try?
Please LogIn / Register to Answer.
3=2*1+1, 5=2*2+1, 7=2*3+1 So,Kth element is:- 2K+1
11=2*5+1
Is your company hiring via Employee Referrals? Post Job It's Free.
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