Is There a Simple Programmable Form of Multinomial Expansion?

  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Expansion
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
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.