\documentclass[11pt]{article} \usepackage[margin=1in]{geometry} % Fonts: Latin Modern with T1 encoding if the package is installed; otherwise the default Computer Modern % fonts. Build with: pdflatex --disable-installer (twice). \IfFileExists{lmodern.sty}{\usepackage[T1]{fontenc}\usepackage{lmodern}}{} \usepackage{amsmath,amssymb,amsthm} \usepackage{booktabs} \usepackage[hidelinks]{hyperref} \newtheorem{theorem}{Theorem} \emergencystretch=3em \title{Instances of the stable marriage problem\\ with 420 stable matchings at $n=9$ and 1854 at $n=11$} \author{Tohid Atashbar\thanks{International Monetary Fund. The views expressed in this paper are those of the author and do not necessarily represent the views of the IMF, its Executive Board, or IMF management.}} \date{Version v1.1, 30 November 2026} \hypersetup{pdfauthor={Tohid Atashbar}, pdftitle={Instances of the stable marriage problem with 420 stable matchings at n = 9 and 1854 at n = 11}} \begin{document} \maketitle \begin{abstract} Let $M(n)$ be the largest number of stable matchings of an instance of the stable marriage problem with $n$ men and $n$ women. We give two explicit instances: one of size $9$ with $420$ stable matchings and one of size $11$ with $1854$. The largest values we found in public sources are $412$ and $1690$. Each count was made three times, by programs that share no code and use only the definition of a blocking pair; one of them tests all $n!$ matchings. The instances were found by a heuristic search and are not claimed to be optimal. The results have not yet been peer reviewed. \end{abstract} \section{Result} An instance of size $n$ consists of a strict preference list of all $n$ women for each of $n$ men and a strict preference list of all $n$ men for each of $n$ women. A matching pairs every man with one woman. A man and a woman \emph{block} a matching if each prefers the other to the partner the matching gives. A matching without blocking pair is \emph{stable}. $M(n)$ is the maximum, over all instances of size $n$, of the number of stable matchings. \begin{theorem}[computer-assisted]\label{thm} The instance of size $9$ in Table~\ref{tab:n9} has exactly $420$ stable matchings, and the instance of size $11$ in Table~\ref{tab:n11} has exactly $1854$. Hence $M(9)\ge 420$ and $M(11)\ge 1854$. \end{theorem} \begin{table}[!htbp] \centering \begin{tabular}{rrrrr} \toprule $n$ & data of A357271 & file linked from A357271 & other public claim found & this note\\ \midrule 9 & 330 & 365 & 412 & \textbf{420}\\ 11 & 1231 & 1690 & none & \textbf{1854}\\ \bottomrule \end{tabular} \caption{Lower bounds for $M(n)$. Second column: the sequence A357271 of the OEIS \cite{OEIS}, which lists the bounds of Thurber \cite{Thurber} (read from the OEIS on 30 November 2026). Third column: the file of Ong, Ang, Ho, Eilers, Marks and Buzi linked from that entry \cite{Ong}. Fourth column: an open pull request of a public repository \cite{V3}.}\label{tab:known} \end{table} \paragraph{Sizes that are not claimed here.} \emph{Size 10.} The entry A357271 says that its value $1000$ for $n=10$ is conjectured to be exact. An instance of size $10$ with $1008$ stable matchings was first made public by the GitHub user greedy-dog on 27 November 2026 (pull request 1256 of \cite{V3}, resubmitted there as pull request 1288 on 29 November). Our search reached the same value independently, later on the same day; we do not claim it. Our instance is in the accompanying package, with the same three counts ($1008$), so that the value can be checked there; we did not compare it with the instance of \cite{V3}. A formal proof in Lean~4 that $1000$ is not the maximum at $n=10$, based on our instance, was submitted on 30 November 2026 as pull request 133765 of the repository \texttt{lefttosolve2/open-math-agents} and withdrawn by the author on the same day; it is not part of this note. \emph{Sizes 13 and 14.} An earlier draft of this note gave $9604$ at $n=13$ and $20880$ at $n=14$. Both are superseded by values in \cite{V3}: an instance of size $13$ with $9836$ stable matchings (its pull request 190, merged on 17 November 2026), and $24{,}992$ at $n=14$, obtained according to its record table by doubling the instance of size $7$ of Jo \cite{Jo7}. We withdraw both. \section{The instances} Agents are numbered from $0$; every list is best first. \begin{table}[!htbp] \centering\small \input{instance_n9} \caption{The instance of size $9$ with $420$ stable matchings.}\label{tab:n9} \end{table} \begin{table}[!htbp] \centering\small \input{instance_n11} \caption{The instance of size $11$ with $1854$ stable matchings.}\label{tab:n11} \end{table} \section{How the instances were found} The search follows the constructions of Jo \cite{Jo7} and Xiu \cite{Xiu}. Start from the matching in which man $i$ holds woman $i$. An \emph{event} is a list of two or more distinct men; the men exchange the women they hold cyclically (for two men, they swap). An event is carried out only if no man receives a woman he has held before. A \emph{word} is a sequence of events. Given a word, let every man rank the women in the order in which he held them, and every woman rank the men who held her in the reverse order; agents never met come last. For words of swaps, every order ideal of the events (ordered by ``earlier and shares a man'') gives a distinct stable matching of this instance \cite[Lemma~2.1]{Jo7}, and Xiu shows that the number of stable matchings of any instance is at most the number of ideals of some schedule of cyclic exchanges \cite[Proposition~2.5]{Xiu}. The number of ideals of a word is computed by the frontier recurrence of \cite{Xiu}, and simulated annealing over words looks for a word with many ideals. The instance of size $11$ comes from a word of $52$ swaps. The instance of size $9$ comes from a word of $33$ events: $32$ swaps followed by one cyclic exchange of three men; with swaps only, the same search stopped at $416$. Both words are printed in the instance files, and a program of the package rebuilds the lists from them. The search is a heuristic and plays no role in Theorem~\ref{thm}: the theorem is a statement about the lists of Tables~\ref{tab:n9} and \ref{tab:n11}, and the number of ideals was used only to guide the search. The search programs are not part of the package. \section{Verification} The stable matchings of each instance were counted by three programs that share no code. Each reads the lists and uses only the definition of a blocking pair. \begin{itemize} \item Counter A: backtracking over the men; a partial matching is extended only if the new couple forms no blocking pair with the couples already chosen. \item Counter B: a second backtracking program, written separately from counter A. \item Counter C: plain enumeration of all $n!$ matchings ($362{,}880$ for $n=9$; $39{,}916{,}800$ for $n=11$), each tested for a blocking pair; no pruning. \end{itemize} \begin{center} \begin{tabular}{rrrr} \toprule $n$ & counter A & counter B & counter C\\ \midrule 9 & 420 & 420 & 420\\ 11 & 1854 & 1854 & 1854\\ \bottomrule \end{tabular} \end{center} As an outside control, counter A was run on the instances of sizes $7$ and $9$ of the file \cite{Ong}, for which that file states $81$ and $365$ stable matchings; it returns $81$ and $365$. The instances of this note, written as ranking tables in the layout of \cite{Ong} (file \texttt{oeis/a357271\_proposed\_instances.txt} of the package) were converted back to lists and counted again by counter A, with the same results. \paragraph{Commands.} In the folder of the package (Python~3; counter C needs \texttt{numpy} and is fast only with \texttt{numba}): \begin{flushleft}\footnotesize \texttt{python counters/count\_backtrack.py instances/cert\_n9\_420.txt instances/cert\_n11\_1854.txt}\\ \texttt{python counters/count\_second.py instances/cert\_n9\_420.txt instances/cert\_n11\_1854.txt}\\ \texttt{python counters/count\_bruteforce.py instances/cert\_n9\_420.txt instances/cert\_n11\_1854.txt}\\ \texttt{python counters/count\_oeis\_format.py oeis/a357271\_proposed\_instances.txt}\\ \texttt{python tools/rebuild\_from\_word.py instances/cert\_n9\_420.txt instances/cert\_n11\_1854.txt} \end{flushleft} The first two take seconds. The third took $12$ seconds for $n=9$ and $7$ seconds for $n=11$ with \texttt{numba} (the first figure includes the compilation). \section{What is not established} \begin{itemize} \item \emph{Optimality.} Nothing is shown about upper bounds. Different runs of the search end at different values, so larger instances of these sizes may well exist. \item \emph{Novelty beyond a bounded search.} On 30 November 2026 we found no value above $412$ at $n=9$ and none above $1690$ at $n=11$ in: the OEIS entry A357271 and its linked file \cite{OEIS,Ong}; the repository \cite{V3} (its record table and its pull requests on this problem); a search of GitHub issues, pull requests and code for ``A357271''; the 2026 preprints \cite{Jo7,Xiu,KWY}; and two web searches. Not checked: the paper of Thurber \cite{Thurber} itself (its values are taken from the OEIS), the poster of Ong et al., unpublished work, and whether a composition of known smaller instances reaches these values (the simple products of known values at smaller sizes do not reach $1690$ at $n=11$; for $n=9$ we rely on the statement in \cite{V3} that its authors' own search over compositions gave $378$, which we did not recompute). \item \emph{The remark on size 10.} That our search reached $1008$ ``later on the same day'' rests only on the date of our own file (27 November 2026, 16:43 UTC). \item \emph{A formal proof.} The counts are computations. There is no Lean proof for sizes $9$ and $11$. \item \emph{Reproducing the search.} The package contains the instances and the counters, not the search programs; the search cannot be repeated from it. \item \emph{Peer review.} None yet. \end{itemize} \section{How this work was carried out} This work was carried out by the author with extensive use of the AI system Claude (Anthropic) and his own tool, Economic Modeling Studio (``The Studio''), \url{https://github.com/tatashbar/Economic-Modeling-Studio}, under the author's direction and step-by-step guidance. The author chose the problem, directed the work at each stage, decided which results to pursue, set the standards of verification, and required independent re-derivations, exact computations and adversarial readings before a claim was kept. Under that direction the AI system was used to derive and check proofs, to write the programs, to run the computations and to draft the text. The counts were repeated by separately written programs; these repetitions relied on the same AI system and may therefore share blind spots. The author is responsible for the content and for any errors. The results have not yet been peer reviewed. \begin{thebibliography}{9} \bibitem{Jo7} M.~Jo, A computer-assisted proof that the maximum number of stable matchings of order seven is 85, working manuscript of 13 October 2026 (version R2), Zenodo, doi:10.5281/zenodo.23329599. (Lemma~2.1 is cited from this version; a newer version exists and was not read.) \bibitem{KWY} K.~Kawarabayashi, H.~Wada and M.~Yoneda, A sub-$3^n$ upper bound on the number of stable matchings, arXiv:2611.06604 (2026). \bibitem{OEIS} OEIS Foundation Inc., entry A357271 (D.~Eilers, 2022), \emph{The On-Line Encyclopedia of Integer Sequences}, \url{https://oeis.org/A357271}. \bibitem{Ong} R.~Ong, B.~Ang, A.~Ho, D.~Eilers, J.~Marks and G.~Buzi, file of example preference profiles for the poster ``Improved Hill Climbing for the Stable Marriage Problem'', dated 1~November 2024; linked from \cite{OEIS} under the label ``Improved lower bounds for $n=7,9,11,13,15$, 2025''. \bibitem{Thurber} E.~G.~Thurber, Concerning the maximum number of stable matchings in the stable marriage problem, \emph{Discrete Mathematics} 248 (2002), 195--219. (Not read; values from \cite{OEIS}.) \bibitem{V3} Repository \texttt{github.com/elder-plinius/V3R1T4S}, record table and pull requests \texttt{stable-marriage-max-stable-matchings}: pull request 936 (412 at $n=9$, open), 1256 and 1288 (1008 at $n=10$), 190 (9836 at $n=13$, merged). Read on 28 and 30 November 2026. \bibitem{Xiu} Y.~Xiu, A formally verified certificate proof of the maximum number of stable matchings for six men and six women, manuscript dated 16 October 2026 with the identifier hexagon:2610.00262v2. (Read as a PDF file; on 30 November 2026 we could not find a public page for it.) \end{thebibliography} \end{document}