Question
Out of 10 men, 3 are wearing red caps, 4 are wearing green caps, and the remaining men are wearing orange caps. They are to be seated in a linear row. If the number of ways they can be arranged such that no more than three men wearing green caps sit next to each other is 'q', find the sum of the squares of each digit of 'q'.
Solution
ATQ,
Total number of ways in which all of them can seat = 10! = 36,28,800 Number of ways in which all 4 men wearing green cap sit next to each other:
= 7! X 4! = 1,20,960
'q' = 36,28,800 - 1,20,960 = 35,07,840
Required sum = 3² + 5² + 0² + 7² + 8² + 4² + 0²
= 9 + 25 + 0 + 49 + 64 + 16 + 0 = 163
More Alligation Questions
- Question 1
- In what ratio should water be mixed with milk costing ₹60/L so that the mixture costs ₹50/L? (Water is free.)
- A merchant has 1200 kg of sugar, part of which he sells at 9% profit and the rest at 15% profit. He gains 11% on the whole. The quantity (in kg) sold at 15...
- In a jar initially containing 'm' liters of pure milk costing Rs. 20 per liter, 50% of the milk is taken out, and honey is added to the remaining milk. Thi...
- On reducing the marked price of his goods by ₹28, a shopkeeper gains 20%. If the cost price of the article be ₹560 and it is sold at the marked price, what...
- What is the single discount percentage equivalent to three consecutive discounts of 10%, 25%, and 18%?
- ‘A’ and ‘B’ can do a piece of work in 25 days and 30 days, respectively. If they started the work together and worked on it for 5 days, then find the time ...
- 11kg of tea costing Rs. 440 per kg is mixed with 14 kg of tea costing Rs. 360 per kg. The average price per kg of the mixed tea is
- A shopkeeper has 112 kg rice a part of it, he sells at the profit of 40% and rest at loss of 16% and he get the loss of 12% so what is the quantity sold at...
- Titu and Sonu start a business together. Titu contributes 3/5 of the total investment, while Sonu invests the remaining amount. Titu keeps his investment i...