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