InterviewSolution
Saved Bookmarks
| 1. |
How Many Ways Can 360 Be Written As Product Of Two Numbers? |
|
Answer» 1*360, 2*180, 3*120, 4*90, 5*72, 6*60, 8*45, 9*40, 10*36, 12*30, 15*24, 18*20 SOL 2) 360 => 2^3 * 3^2 * 5^1 [i.e. a^x * b^y * c^z) No. of ways can be written as a prod of 2 no's is (x+1)*(y+1)(z+1)/2 => (3+1)*(2+1)*(1+1)/2 => 24/2 = 12. 1*360, 2*180, 3*120, 4*90, 5*72, 6*60, 8*45, 9*40, 10*36, 12*30, 15*24, 18*20 SOL 2) 360 => 2^3 * 3^2 * 5^1 [i.e. a^x * b^y * c^z) No. of ways can be written as a prod of 2 no's is (x+1)*(y+1)(z+1)/2 => (3+1)*(2+1)*(1+1)/2 => 24/2 = 12. |
|