B The number of possible combinations with a constraint

AI Thread Summary
The discussion revolves around solving a mathematical problem related to combinations and defects in chips. The user seeks a formula p(k,n) to calculate the number of possible combinations under specific constraints. A suggested approach involves calculating the number of ways to select one chip with three defects, distributing the remaining defects among the chips, and dividing by the total ways to distribute all defects. The key formula highlighted is that the number of ways to distribute distinguishable defects among distinguishable chips is n^d. The user expresses gratitude upon understanding the solution.
Bayoudh101
Messages
12
Reaction score
0
Hello , i was doing one of Euler project programming problems the other day , and i came across this one .
i tried everything i know about probability , i tried combinations and everything , and i just couldn't get something logically fit to solve this . i tried to ignore this but i just couldn't get it out of my head .

5LB4eW8.png

ignore the last line , as that can be done with the program .
for me this is a purely mathematical problem, all i tired to do was formulate p with k and n
i am just looking for the formula p(k,n) . it's giving me a headache .

thank you very much
 

Attachments

  • 5LB4eW8.png
    5LB4eW8.png
    15 KB · Views: 615
Mathematics news on Phys.org
Approach it as: (number of ways to pick one of the n chips to have 3 defects)(number of ways to distribute k-3 defects among n chips)/ (number of ways to distribute k defects among n chips).

The number of ways to distribute d distinguishable defects among n distinguishable chips is ##n^d##.
 
  • Like
Likes Bayoudh101
Stephen Tashi said:
Approach it as: (number of ways to pick one of the n chips to have 3 defects)(number of ways to distribute k-3 defects among n chips)/ (number of ways to distribute k defects among n chips).

The number of ways to distribute d distinguishable defects among n distinguishable chips is ##n^d##.

thank you very much sir , i can see it now .
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top