Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.
Paste your question to our Mathbee AI Mentor below to get an instant step-by-step solution.
The number of seven digit positive integers formed using the digits $$1,2,3$$ and $$4$$ only and sum of the digits equal to $$12$$ is ___________.
Step 1: Let the seven digits be d₁,…,d₇, each in {1,2,3,4}. Write dᵢ=1+eᵢ, so 0≤eᵢ≤3 and e₁+…+e₇=5.
Step 2: Without the upper bounds, stars and bars gives C(11,6)=462 solutions. A violation has some eᵢ≥4; subtract 4 from that coordinate, leaving sum 1, which has C(7,6)=7 solutions for each of seven coordinates.
Step 3: Two coordinates cannot both be ≥4 because the total is 5. The count is 462−7·7=413.
Confused by the solution? Ask the AI to explain a specific step, tell you where you went wrong, or break down the key trap in this question.
Explore the Mathbee Test Series with free chapter PYQs, NTA-style Booster mocks, paid shift-wise PYPs and focused performance analytics.