Menu Close

Given-a-set-H-1-2-3-300-We-will-a-create-a-subset-of-H-consisting-of-three-elements-If-the-sum-of-the-three-elements-is-divisible-by-3-then-the-number-of-subsets-that-canbe-made-is-x-Find




Question Number 187948 by horsebrand11 last updated on 24/Feb/23
  Given a set H={1,2,3,...,300. We will a  create a subset of H consisting of   three elements. If the sum of the  three elements is divisible by 3    then the number of subsets that   canbe made is x. Find the  remainder if x is divided by 100000
GivenasetH={1,2,3,,300.WewillacreateasubsetofHconsistingofthreeelements.Ifthesumofthethreeelementsisdivisibleby3thenthenumberofsubsetsthatcanbemadeisx.Findtheremainderifxisdividedby100000
Answered by mr W last updated on 24/Feb/23
H_1 ={1,4,7,..,298} with 100 elements  H_2 ={2,5,8,..,299} with 100 elements  H_3 ={3,6,9,..,300} with 100 elements  such that the sum of 3 elements from  H is divisible by 3, there are following  possibilities:  1) all 3 elements are from H_3  or H_1  or H_2   2) one element from H_1 , one from H_2        and one from H_3   total number of ways:  x=3×C_3 ^(100) +C_1 ^(100) ×C_1 ^(100) ×C_1 ^(100) =1 485 100  x mod 100000 =485 100
H1={1,4,7,..,298}with100elementsH2={2,5,8,..,299}with100elementsH3={3,6,9,..,300}with100elementssuchthatthesumof3elementsfromHisdivisibleby3,therearefollowingpossibilities:1)all3elementsarefromH3orH1orH22)oneelementfromH1,onefromH2andonefromH3totalnumberofways:x=3×C3100+C1100×C1100×C1100=1485100xmod100000=485100
Commented by cortano12 last updated on 24/Feb/23
sir i think it =3C_3 ^(100) +100^3    it is correct?
sirithinkit=3C3100+1003itiscorrect?
Commented by kapoorshah last updated on 24/Feb/23
wrong    The possibilities :  (1) all 3 elements are from H_1   (2) all 3 elements are from H_2   (3) all 3 elements are from H_3   (4) one element from H_1 , H_2 , H_3  respectively   total number of ways :  x = 3×C_3 ^(100)  + C_1 ^(100)  × C_1 ^(100)  × C_(1   ) ^(100)       = 1 485 100
wrongThepossibilities:(1)all3elementsarefromH1(2)all3elementsarefromH2(3)all3elementsarefromH3(4)oneelementfromH1,H2,H3respectivelytotalnumberofways:x=3×C3100+C1100×C1100×C1100=1485100
Commented by mr W last updated on 24/Feb/23
yes, 3×C_3 ^(100) +100^3  is correct!
yes,3×C3100+1003iscorrect!
Commented by horsebrand11 last updated on 25/Feb/23
Yes..
Yes..

Leave a Reply

Your email address will not be published. Required fields are marked *