The Computation of Catalan Numbers

From MaRDI portal





The \(n\)-th Catalan number, \(C_n\), is defined by \(C_n=(2n)!/n!(n+1)!\). The Catalan numbers arise in problems in combinatorics, graph theory, computer science, etc. The present paper discusses, via a delightful dialogue between a mathematics student with minimal computing experience and a computer science student with minimal mathematical background, methods of calculating \(C_n\) using an Apple II computer. The discussion is lively and informative and ranges over a wide variety of topics including the prime number theorem, Riemann-Stieltjes integration, Stirling's formula, the sieve of Eratosthenes, the calculation of \(\alpha\) if \(p^{\alpha} \| n!\), and the limitations and power of a computer. I recommend this paper highly to both mathematicians and computer scientists.











This page was built for publication: The Computation of Catalan Numbers

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3340911)