# Martial Arts Combinations

5/22/11

Consider your martial arts moves consisting of only Left Punch (LP), Right Punch (RP), Left Kick (LK), and Right Kick (RP). How many ways can you use these movements in say 1 to 4 moves?

Note, the order of moves is important (ie. LP then RP is different from RP then LP) and repetition of movements is allowed (ie. LP LP is allowed).

Done singly, you have 4 ways:

{LP} {RP} {LK} {RK}

If you string together two movements, you have 16 ways:

{LP,LP} {LP,RP} {LP,LK} {LP,RK} {RP,LP} {RP,RP} {RP,LK} {RP,RK} {LK,LP} {LK,RP} {LK,LK} {LK,RK} {RK,LP} {RK,RP} {RK,LK} {RK,RK}

What about 3 in a row? There are 64 ways:

{LP,LP,LP} {LP,LP,RP} {LP,LP,LK} {LP,LP,RK} {LP,RP,LP} {LP,RP,RP} {LP,RP,LK} {LP,RP,RK} {LP,LK,LP} {LP,LK,RP} {LP,LK,LK} {LP,LK,RK} {LP,RK,LP} {LP,RK,RP} {LP,RK,LK} {LP,RK,RK} {RP,LP,LP} {RP,LP,RP} {RP,LP,LK} {RP,LP,RK} {RP,RP,LP} {RP,RP,RP} {RP,RP,LK} {RP,RP,RK} {RP,LK,LP} {RP,LK,RP} {RP,LK,LK} {RP,LK,RK} {RP,RK,LP} {RP,RK,RP} {RP,RK,LK} {RP,RK,RK} {LK,LP,LP} {LK,LP,RP} {LK,LP,LK} {LK,LP,RK} {LK,RP,LP} {LK,RP,RP} {LK,RP,LK} {LK,RP,RK} {LK,LK,LP} {LK,LK,RP} {LK,LK,LK} {LK,LK,RK} {LK,RK,LP} {LK,RK,RP} {LK,RK,LK} {LK,RK,RK} {RK,LP,LP} {RK,LP,RP} {RK,LP,LK} {RK,LP,RK} {RK,RP,LP} {RK,RP,RP} {RK,RP,LK} {RK,RP,RK} {RK,LK,LP} {RK,LK,RP} {RK,LK,LK} {RK,LK,RK} {RK,RK,LP} {RK,RK,RP} {RK,RK,LK} {RK,RK,RK}

And lastly, doing 4 in a row yields 256 ways:

{LP,LP,LP,LP} {LP,LP,LP,RP} {LP,LP,LP,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RK,LK,RK,RK} {RK,RK,LP,LP} {RK,RK,LP,RP} {RK,RK,LP,LK} {RK,RK,LP,RK} {RK,RK,RP,LP} {RK,RK,RP,RP} {RK,RK,RP,LK} {RK,RK,RP,RK} {RK,RK,LK,LP} {RK,RK,LK,RP} {RK,RK,LK,LK} {RK,RK,LK,RK} {RK,RK,RK,LP} {RK,RK,RK,RP} {RK,RK,RK,LK} {RK,RK,RK,RK}

Note that 4+16+64+256 = 340, so there are 340 possible ways to string together 1-4 moves.

To generalize, we have a geometric series that sums to S (=340 for us). The first element is a (4 for us), the factor between elements is r (4 for us. For example 4*4 = 16, and 16*4 = 64, etc.), and n is the length of the list (4 for us).

S=a+ar+ar2+ar3+...+arn-1

Sr=ar+ar2+ar3+...+arn-1+arn

S-Sr=a-arn [subtracting the second line from the first]

S(1-r)=a(1-rn)

S=a(1-rn)/(1-r)

Substituting in, we get S = 4(1-44)/(1-4) = 340

To generalize, if you know n moves, the total number of possible combinations of stringing together these moves 1 to n in a row is given by

S=sum(n^i, i=1 to n) = (nn+1-n) / (n-1)

• n = 1, S = 1 (by definition)
• n = 2, S = 6
• n = 3, S = 39
• n = 4, S = 340
• n = 5, S = 3,905
• n = 6, S = 55,986
• n = 7, S = 960,799
• n = 8, S = 19,173,960
• n = 9, S = 435,848,049
• n = 10, S = 11,111,111,110

Like:
Dislike: