Multiplicative

Let a n a_{n} denote the number of distinct ways n n ordered numbers multiplied together a 1 a 2 a 3 . . . a n a_{1}a_{2}a_{3}...a_{n} can correctly and progressively be grouped pairwise by parentheses

e.g. a 4 = 5 a_{4} = 5 since ( ( a 1 a 2 ) a 3 ) a 4 ((a_{1}a_{2})a_{3})a_{4} , ( a 1 ( a 2 a 3 ) ) a 4 (a_{1}(a_{2}a_{3}))a_{4} , a 1 ( ( a 2 a 3 ) a 4 ) a_{1}((a_{2}a_{3})a_{4}) , a 1 ( a 2 ( a 3 a 4 ) ) a_{1}(a_{2}(a_{3}a_{4})) , ( a 1 a 2 ) ( a 3 a 4 ) (a_{1}a_{2})(a_{3}a_{4})

Also note a 1 = a 2 = 1 a_{1} = a_{2} = 1

Find a 10 a_{10}

Bonus: Find a general formula for a n a_{n}

Not an original problem


The answer is 4862.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Alapan Das
Mar 5, 2020

Suppose, the product is like this

a 1 a 2 . . . . . . . a n {a_1}{a_2}.......{a_n} , and we can put parentheses like this...

( a 1 . . . . a r ) ( a r + 1 . . a n ) ({a_1}....{a_r})(a_{r+1}..{a_n}) ......(1)

And we can get P r P_r and P n r P_{n-r} ways to put parentheses to each of the parts of (1) parentheses. ( P n P_n denotes number of ways to pair the product of n n ordered numbers in parentheses.)

Then from above case ''breaking'' we found P n = k = 1 n 1 P k P n k P_n=\sum_{k=1}^{n-1} {P_{k}}{P_{n-k}} ....(2)

Hence,

P 10 = 2 [ P 1 P 9 + P 2 P 8 + P 3 P 7 + P 4 P 6 ] + P 5 2 P_{10}=2[{P_1}{P_9}+{P_2}{P_8}+{P_3}{P_7}+{P_4}{P_6}]+{P_5}^2 .

We know P 1 = 1 , P 2 = 1 P_1=1, P_2=1 .

From (2) we can proof P 3 = 2 , P 4 = 5 , P 5 = 14 , P 6 = 42 , P 7 = 132 , P 8 = 429 , P 9 = 1430 P_3=2, P_4=5, P_5=14, P_6=42, P_7=132, P_8=429, P_9=1430 .

So, P 1 0 = 2 ( 1430 + 429 + 2 132 + 5 42 ) + 1 4 2 = 4862 P_10=2*(1430+429+2*132+5*42)+14^2=4862 .

time to find a general formula :)

Zhang Xiaokang - 1 year, 3 months ago

Log in to reply

Catalan numbers

Pi Han Goh - 1 year, 3 months ago

Not what I had in mind but that'll do!

Zhang Xiaokang - 1 year, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...