.. _sphx_glr_api_gallery_combinatorics_pascals_triangle:
Pascal's triangle
-------------------
The binomial-coefficient recurrence, built by hand.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/combinatorics/pascals_triangle/images/thumb/sphx_glr_plot_01_triangle_and_binomials_thumb.png
:alt:
:doc:`/api/gallery/combinatorics/pascals_triangle/plot_01_triangle_and_binomials`
.. raw:: html
Pascal's triangle vs. scipy-computed binomial coefficients
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/combinatorics/pascals_triangle/plot_01_triangle_and_binomials