Check out my solution. Hope u are looking for this, Take a no 136 (base7 = 76 decimal ) convert to base 5 (ans shld be 301)
start from left side 1*7^2= 49/5^2 = 1 (rem 24) --------- | ^ 10 3*7 + 24 = 45 /5 = 19 (rem 0) --------------- | ^ 100 190 6*1 + 0 =6/5 = 1 (rem 1) 100 190 10 1 ===== 301 to base of 9 start from left side 1*7^2= 49/9^2 = 0 (rem 49) --------- | ^ 0 3*7 + 49 = 70 /9 = 7 (rem 7) --------------- | ^ 0 70 6*1 + 7 = 13/9 = 1 (rem 4) 0 70 10 4 ===== 84 On Aug 21, 12:41 am, bittu <shashank7andr...@gmail.com> wrote: > @ Rahul in Tejus Can u provide solution base conversion problem > discussed above -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algoge...@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.