Activity
Stars and mentions · Last 30 days, Oct 8 – Nov 6
Top repositories
sun123zxy’s repositories ranked by pull request authors, as on trending.
Contributes to
Repositories outside sun123zxy’s account where sun123zxy opened or reviewed pull requests in the past 365 days.
Who noticed sun123zxy
Everyone who starred or forked sun123zxy’s repositories since the archive began in 2011.
Notable accounts
Ordered by the stars their own repositories have received.
Biggest fans
Accounts that starred the most of these repositories.
Breakout weeks
Each repository’s best week of new stars, with the release published around it.
Achievements
Awards earned by the repositories sun123zxy owns. Select an award to embed its badge.
No awards yet
Repositories earn awards by reaching the top three in a completed trending day or week.
A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.
Mentions
Beyond Nine Gates: Classification of Full-Sided Mahjong Waits with $3n$ Ranks Mahjong is a traditional tile-based game popular in East and Southeast Asia. Combinatorial study of Mahjong hands has been a topic of interest in recreational mathematics, with the Nine Gates hand being a well-known example. This single-suit Mahjong hand $\{1,1,1,2,3,4,5,6,7,8,9,9,9\}$ consists of $13$ tiles of a single suit ranked $1$ through $9$, arranged such that drawing any tile from that suit completes a winning hand of a pair and $4$ melds, regardless of the tile's rank. Folklore has circulated that Nine Gates is the unique single-suit hand with this $9$-sided-wait property. While prior works have verified this uniqueness by exhaustive computer enumeration across different finite configurations, we present a general classification of full-sided waits for Mahjong variants with $3n$ ranks and $n+1$ melds. For every $n\geq2$, we report exactly $8$ full-sided waits, of which Nine Gates is the unique live one. Notably, our proof requires no exhaustive enumeration or any prior knowledge of the classification result. To address the problem in its right generality, a comprehensive combinatorial framework is developed, allowing the number of ranks, the number of melds, and the upper bound on tile multiplicities to vary independently. Reliability of our results is partially supported by a manually curated ongoing formalization in Lean 4. Comments: 19 pages, 5 tables. Lean 4 formalization: sun123zxy/ninegates-lean4 . Interactive visualization: sun123zxy.github.io