r/dailyprogrammer • 2 0 • Mar 02 '18

Open Discussion Threads

It's been a while since we've done this, but let's have open discussion threads. Topics might include but are not limited to:

  • Challenge types and ranking
  • Help on old challenges
  • Moderator hairdos

And more!

40 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/WikiTextBot Mar 02 '18

Catalan number

In combinatorial mathematics, the Catalan numbers form a sequence of natural numbers that occur in various counting problems, often involving recursively-defined objects. They are named after the Belgian mathematician Eugène Charles Catalan (1814–1894).

The nth Catalan number is given directly in terms of binomial coefficients by

      C

      

        n

      

    

    =

    

      

        1

        

          n

          +

          1

        

      

    

    

      

        

          (

        

        

          

            2

            n

          

          n

        

        

          )

        

      

    

    =

    

      

        

          (

          2

          n

          )

          !

        

        

          (

          n

          +

          1

          )

          !

[ ^PM | Exclude ^me | Exclude from ^subreddit | FAQ / ^Information | ^Source | ^Donate ] Downvote to remove | v0.28