MathOverflow is a question and answer site for professional mathematicians. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi guys just a quick questions What are the real life application of catalan numbers? Thanks a lot!

share|cite|improve this question

closed as off topic by Gjergji Zaimi, Angelo, Felipe Voloch, Igor Rivin, Bruce Westbury May 15 '12 at 16:37

Questions on MathOverflow are expected to relate to research level mathematics within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

They are useful when you go shopping in Catalonia. I voted to close. – Angelo May 15 '12 at 14:24
I voted to close, but am now about to give an answer. I don't know how to retract a close vote... – Igor Rivin May 15 '12 at 15:12
The faq explains how such questions are not appropriate for mathoverflow. There are other fora where you will have better luck. – Gjergji Zaimi May 15 '12 at 15:17
Sorry I admit forgetting to check the FAQ I'll be sure to check it next time then Thanks for the help anw – user23731 May 15 '12 at 15:49
up vote 7 down vote accepted

In all seriousness, this type of enumerative combinatorics is very useful e.g. in figuring out expected running time for computer programs. An example involving Catalan numbers (which may seem a little contrived, but I think things like this probably do really come up) is: count how many times you go through the inner loop, i.e. how many times you print "hello world", in:

for $i_1=0$ to $1$

for $i_2=i_1$ to $2$

for $i_3=i_2$ to $3$


for $i_n = i_{n-1}$ to $n$

print "hello world"

share|cite|improve this answer
Thank you for this answer! – user23731 May 15 '12 at 15:48
You're welcome. I wonder about these things too. – Patricia Hersh May 17 '12 at 21:25

This is discussed at great length in:

"Catalan numbers with applications" by Thomas Koshy. The main application seems to be to make money for the publisher (the book is insanely expensive), but google books has extracts.

share|cite|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.