.. _sphx_glr_api_gallery_combinatorics_extremal: Extremal combinatorics ---------------------- Ramsey's theorem and the Erdős-Szekeres theorem: order that must appear in any large enough structure. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/combinatorics/extremal/images/thumb/sphx_glr_plot_01_ramsey_r33_thumb.png :alt: :doc:`/api/gallery/combinatorics/extremal/plot_01_ramsey_r33` .. raw:: html
Ramsey's theorem: R(3,3) = 6
.. raw:: html
.. only:: html .. image:: /api/gallery/combinatorics/extremal/images/thumb/sphx_glr_plot_02_erdos_szekeres_thumb.png :alt: :doc:`/api/gallery/combinatorics/extremal/plot_02_erdos_szekeres` .. raw:: html
The Erdős-Szekeres theorem: monotone subsequences
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/combinatorics/extremal/plot_01_ramsey_r33 /api/gallery/combinatorics/extremal/plot_02_erdos_szekeres