Rahul had some chocolates with him. He had just enough chocolates to distribute them among two groups of children A and B in the following manner. He distributed the chocolates among the children in group A such that each child got as many chocolates as the number of children in it. He distributed the chocolates among the children in group B such that each child got as many chocolates as the square of the number of children in it. He distributed 9 more chocolates to children in group A than in group B. If he had less than 600 chocolates, how many possibilities exist for the number of chocolates with him?2134
Question
Rahul had some chocolates with him. He had just enough chocolates to distribute them among two groups of children A and B in the following manner. He distributed the chocolates among the children in group A such that each child got as many chocolates as the number of children in it. He distributed the chocolates among the children in group B such that each child got as many chocolates as the square of the number of children in it. He distributed 9 more chocolates to children in group A than in group B. If he had less than 600 chocolates, how many possibilities exist for the number of chocolates with him?2134
Solution
Let's denote the number of children in group A as a and in group B as b.
From the problem, we know that:
-
Rahul gave each child in group A a chocolates, so he gave a*a chocolates to group A.
-
He gave each child in group B bb chocolates, so he gave bb*b chocolates to group B.
-
He gave 9 more chocolates to group A than to group B, so aa = bb*b + 9.
-
He had less than 600 chocolates, so aa < 600 and bb*b < 600.
Now, we need to find the number of possible values for a and b that satisfy these conditions.
We can start by finding the possible values for a. Since a*a < 600, a must be less than the square root of 600, which is approximately 24.5. So, a can be any integer from 1 to 24.
For each possible value of a, we can find the corresponding value of b by solving the equation aa = bb*b + 9. Since b must be an integer, we only count the values of a that result in an integer value of b.
By trying all possible values of a from 1 to 24, we find that there are 4 possibilities: a = 5, 11, 17, or 23. For these values of a, the corresponding values of b are 2, 3, 4, and 5, respectively.
So, there are 4 possibilities for the number of chocolates Rahul had.
Similar Questions
Some chocolates were distributed equally among a few children and three chocolates were left. Had there been four times the number of children, then ten chocolates would have been left. Find the number of children.
A certain number of chocolates which is a perfect square are distributed among 2156 students of a school equally. Find the minimum number of chocolates distributed given that it is greater than 90,000.94864984649986496864
In a village of 500 people, each person likes at least one of cadbury, nestle, amul and mars. Also 230 like cadbury, 210 like nestle, 220 like amul, 240 like mars and 40 like all four. The number of persons who like exactly one chocolate for each category is the same and is 60. The number of people who like exactly two of the four chocolates for each possible pair is 30 except for only cadbury and nestle, only nestle and amul for which it is 20 each. 10 people like all the drinks except cadbury. How many like exactly three out of the four?Choices:- 60 70 80 90
Five chocolates of different flavours are to be distributed in three different children such that any child get at least 1 chocolate. What is the maximum number of different ways in which this can be distributed?
Ajay has a bag of chocolates with 4 dark chocolates and 7 white chocolates. In how many ways can he pick the chocolates so that he picks exactly 4 white chocolates?
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.