john distributes his pencil among his 4 friends rose , mary , ranjan , and rohit in the ratio 1 / 2 : 1 / 3 : 1 / 3 : 1 / 5 . what is the minimum no . of pencils that the person should have ?
rakesh : rahul : ranjan : rohit = 1 / 2 : 1 / 3 : 1 / 3 : 1 / 5 step 1 : at first we need to do is lcm of 2 , 3,3 and 5 is 30 . step 2 : then pencil are distributed in ratio among friends , rakesh = ( 1 / 2 x 30 ) = 15 . rahul = ( 1 / 3 x 30 ) = 10 . ranjan = ( 1 / 3 x 30 ) = 10 . rohit = ( 1 / 5 x 30 ) = 6 . step 3 : total number of pencils are ( 15 x + 10 x + 10 x + 6 x ) = 41 x . for minimum number of pencils x = 1 . the person should have at least 41 pencils . a )
add(add(add(divide(lcm(lcm(lcm(2, 3), 3), 5), 2), divide(lcm(lcm(lcm(2, 3), 3), 5), 3)), divide(lcm(lcm(lcm(2, 3), 3), 5), 3)), divide(lcm(lcm(lcm(2, 3), 3), 5), 5))