#144
A naughty child had a vast number of marbles. When he was going to play with his friends, one of his friend asked him, how many marbles he has?
He replied : I can't count past 100 but I know that....
If you divide the number of marbles by 2 there will be one marble left.
If you divide the number of marbles by 3 there will be one marble left.
If you divide the number of marbles by 4 there will be one marble left.
If you divide the number of marbles by 5 there will be one marble left.
If you divide the number of marbles by 6 there will be one marble left.
If you divide the number of marbles by 7 there will be one marble left.
If you divide the number of marbles by 8 there will be one marble left.
If you divide the number of marbles by 9 there will be one marble left.
If you divide the number of marbles by 10 there will be one marble left.
Finally.
If you divide the number of marbles by 11 there will be NO MARBLES left!
How many marbles did the naughty child have?
Difficulty Level - 4/5
A naughty child had a vast number of marbles. When he was going to play with his friends, one of his friend asked him, how many marbles he has?
He replied : I can't count past 100 but I know that....
If you divide the number of marbles by 2 there will be one marble left.
If you divide the number of marbles by 3 there will be one marble left.
If you divide the number of marbles by 4 there will be one marble left.
If you divide the number of marbles by 5 there will be one marble left.
If you divide the number of marbles by 6 there will be one marble left.
If you divide the number of marbles by 7 there will be one marble left.
If you divide the number of marbles by 8 there will be one marble left.
If you divide the number of marbles by 9 there will be one marble left.
If you divide the number of marbles by 10 there will be one marble left.
Finally.
If you divide the number of marbles by 11 there will be NO MARBLES left!
How many marbles did the naughty child have?
Difficulty Level - 4/5
Solution :
25201 Marbles.
Explanation : LCM of these numbers >> 2520 >> (2520 + 1) will satisfy 9 constraints but not the last one >> so find the number divisible by 11 >> 2520/11 gives remainder 1 >> two 2520's will give remainder 2 & so on >> So, (10 * 2520) + 1 will be the number that is divisible by 11 & satisfying all above constraints.
25201 Marbles.
Explanation : LCM of these numbers >> 2520 >> (2520 + 1) will satisfy 9 constraints but not the last one >> so find the number divisible by 11 >> 2520/11 gives remainder 1 >> two 2520's will give remainder 2 & so on >> So, (10 * 2520) + 1 will be the number that is divisible by 11 & satisfying all above constraints.
0 comments:
Post a Comment