Is There a Simple Programmable Form of Multinomial Expansion?

  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Expansion
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
EngWiPy
Messages
1,361
Reaction score
61
Hello,

Is there a simple programmable form of multinomial expansion, like a summation with explicit and clear lower and upper limits?

Regards
 
Physics news on Phys.org
It is a little messy. The general term is (n!/[m1!m2!...mk!])a1m1a2m2...akmk. The sum limits are all mj >=0 and m1+m2+...+mk=n.

To simplify typing all aj and mj should be thought of as being subscripted. k is the total number of variables.