Monday, 23 November 2026

Simon Marais 2026

Who could blame me for missing the tournament while I was abroad? It's still part of my tradition so here I am. As usual, these are my personal thoughts after some light attempts. I do not necessarily provide full idea for all problems.

*

A1. ...seriously? 
The upper bound is $2n-6$ because 
$\sum |a_i-a_{i+1}| \leq (2\sum (a_i+a_{i+1}-1))-2 = 2n - 2(k-1) - 2 = 2n-2k$.
For $k = 2$ there is clearly no fitting example. And $k=3$? You know the answer. This is quite stupid.

A2. Break the permutation into cycle. The question asks to prove that $\sigma$ only consist of 2-cycles. Suppose $\sigma (i) = j$ with $i<j$ you have $x_i + x_j = x_{i+1} + x_{\sigma (i+1)} = ... = x_j + x_i$, forcing a bunch of equalities. Then you ask, what happen if it contains a 3-cycle, or more? This is quite simple but I love the taste of university math in this problem.
(*I heard about use of rearrangement inequality here as well...?)

A3. We are looking for functions so that $(f(a), f(b), f(-a-b))$ is a linear combination of $(a,b,-a-b), (1,1,1)$, or equivalently $(2a+b, b+2a, 0), (1,1,1)$. Sounds very linear right? Well, not really. If you think too hard with determinant factorization you could easily get stuck.

First of all, we know solutions are linearly additive, and constants are clearly solutions (dependent with $(1,1,1)$), so WLOG assume $f(0) = 0$. Next a substitution $(x,-x,0)$ shows that $f$ is odd. We now know $f$ is most likely a bunch of odd polynomial terms, but exactly why, and where would the degree stop?

That's where we introduce the finite difference $\Delta _k[f(k)] = f(k+1)-f(k)$ over a sequence of constant multiples. Much like differentiation, $\Delta _k^n [f(ck)] = 0$ if and only if $f$ is polynomial of degree $n-1$ or below for continuous $f$.

If we substitute $(a,b,c) = (k, kn, -(n+1)k)$ we obtain the recurrence $(n-1)f((n+1)k) = (n+2)f(nk) - (2n+1)f(k)$ for all $n\geq 3$. That says, everything is determined by $f(k), f(2k)$. That allows us to take finite difference in good faith, consequently reaching $\Delta ^4_k[f(ck)] = 0$, concluding $f(x) = Ax^3 + Cx + D$.

Bit of everything in this question, determinant 'factorization' simply never gets old.

A4. 
...
......
.........stable manifold theorem?

Yeah this is another damn skill check. After convex analysis 25C4 last year we are getting dynamical systems this year. Never a fan of dynamical systems even as a PDE guy, and I only remember this term distantly. 

Would be fun if we can look at the students' correct attempt, in particular those students without dynamical system background.

I don't really feel the fun to reinvent the wheels...

And yeah, I have to admit I am totally confused by the conditions and gave up after 5 minutes of staring.

B1. Oh my. Is the hardest bit about translating them to proper graph theory language?
"Either no flight or direct flight in both directions" -> undirected graph
"no direct flight within the same country" -> bipartite
"exactly one way to travel" -> acyclic
"flight to odd number of airports" -> odd degree
Does it look like a tutorial task now?

B2. I don't know which one is easier, B1's definition based tutorial question or B2 the middle school level geometry.

You can simply fit the hexagon in a coordinate with center at origin. The area given point $X(x,y)$ can be neatly written in a sum of nested absolute values. You might think it's hard to handle case by case but in reality you only have to consider a single case with the other two equivalent by rotational symmetry.

B3. Operator type question immediately sparks me to some past Putnam questions again, but having an operator over non-negative reals isn't that fun since this is just another functional equation type of question. The only difference is we rely on derivatives more than the properties this time.

For example, we can apply $\partial _y$ to property 3 and put $z = 0$ to obtain $f(x,y) = x + a(x)y$ (where $f$ is the binary operation because I'm too lazy to keep typing stars). The rest of the solution follows the same trick using derivatives over the three properties to derive what you need.

B4. (a) is a standard matrix algebra with a very short solution:

Note that $Z = X^{n+1}=Y^n$ commutes with X and Y. The conjugation $Y = (XY)X(XY)^{-1}$ gives $(XY)X^n(XY)^{-1} = Y^n = Z$, so $X^n = (XY)^{-1}Z(XY) = Z = X^{n+1}$, so $X = I$ then $Y=I$ by similarity.

(b) is quite special as I recognize the free groups generated are actually knot groups. In that sense, the case $n = 1,2$ are both well studied (infinite cyclic group for $n=1$ and trefoil group for $n=2$) and answer to both are yes. 

What about higher $n$? 

Well, you should know there is a reason why knot theorists would rather study other algebraic structures derived from knots than to study those messy generated groups...

In fact, the group generated by higher $n$ belongs to the a family (Akbulut-Kirby) of groups associated to the Andrews-Curtis conjecture. The conjecture is yet to be solved, but you know what? T.Tao recently launched a challenge for reduction of these groups...

C1. It seems that determinant type question is also quite popular among Putnam problems? But this is a rather straightforward one. If you are not sure, check the last two columns.

C2. a) Lagrange's interpolation. We can even do it in a way where we do not have to worry about the scaling of $P(x)$. For example, let $P_i(x) = \sum c_{i,n}x^n$, $K = \max _i \sum |c_i,j|$ we can always find a polynomial $Q = \sum b_nx^n$ so that $Q(k/100) = (-1)^k \cdot 2026K$ that. After that we just need a simple example to make sure the bound is tight.

b) If we can scale one way, why can't we scale the other way round? We also do not have to consider middle terms as polynomial $ax^{2026}+b$ (perhaps plus $x^{2025}$ if needed) is all you need about term behavior. For any given degree 100 polynomial $Q(x)$, there exists natural number $k$ so that $Q$ has no intersection with $k(x^{2026}+1)$...

C3. Wow the first time where they reuse problems, but yeah I have no problem with that. The number $2/3$ is also sensible if you recall the fact that if you choose two real numbers uniformly in $[0,1]$ then $E(|x-y|) = 1/3$. Recall from A1 where numbers are counted twice, and more so if we take limit to infinity hence $2/3$. The problem is how can we convert this?

Oh btw it's GENERATING FUNCTION again!

Define $B(z) = \sum b_nz^n$ and $C(z) = \sum c_nz^n$ where $b_n$ is the sum of bumpiness across all sequences and $c_n$ is the number of such sequences. Then we know $C(z) = \frac{1-z}{1-2z}$. 

Now we can break a sequence via the middle by decoupling of an $(i,j)$ pair but adding a bumpiness term $|i-j|$. The key takeaway is that we can rearrange how we count bumpiness. Instead of summing bumpiness of a whole sequence, we ask how many times does $|i-j|$ appears across all valid sequences? This is given by having $(i,j)$ in the middle and two arbitrary sequences before and after $(i,j)$. 

That says, we obtain the key recurrence $B(z) = C(z)^2 \sum |a-b|z^{a+b}$.

After some routine work we obtain $\sum |a-b|z^{a+b} = \frac{2z^3}{(1-z^2)(1-z)^2}$ and so $B(z) = \frac{2z^3}{(1-z^2)(1-2z)^2}$. From here you obtain $B_n \sim n2^n/3$ which gives you the answer (recall that $c_n = 2^{n-1}$ not $2^n$).

And what's the relation between this expectation and real distance expectation? Uhm, not really. I couldn't find any even after consulting AI models. One thing is for sure though. Learn generating functions if you want to score free marks in Simon Marais.

The list of generating function problems is now 18A4, 22C3, 23B2, 24C4 and 26C3. I feel like this one closer to Q4 level though given the complexity of the generating function, especially if the limit 2/3 is not explicitly given. 

C4. Yet another functional equation problem again. In B3 the key is to differentiate, but this time we need to use integration to prove differentiability using FToC. First show that $f$ is infinitely differentiable, then you would end up with an ODE that gives the answer. Nice question and right choice of scope, but there are simply too many functional equations at this point.

***

I don't think I need to evaluate frontier models' ability to solve these problems anymore but I did anyway (recall this was written Nov 20 2026 and something big was proven that day----). Not to anyone's surprise they solved all of them except B4b which remained open (so far).

As for the problems this year, difficulty is appropriate according to SMMC practice: stupid Q1, straightforward Q2, standard Q3, challenging Q4. The gap between Q3 and Q4 is still huge although I have stopped complaining.

There are certainly problems I like. C1 is less of an insult among Q1 problems; A2 is a nice algebraic problem. While B4 and C4 are deep they are both doable by capable students. My complaint has always been uneven coverage. Why do we need 3 functional equation problems? Even if you want to equate FE exposure between session 1 participants (paper A+B) and session 2 participants (B+C) there is no need to put a FE problem on every paper. C3 is again generating functions, and it becomes so predictable at this point. We got a graph theory problem but the depth is near insulting. We have had nice and demanding graph theory problem in the past (17B3) where are they now? Can we have proper analysis problems other than plain calculus manipulation?

It's an entertainment arrived late, but I hope you would enjoy.

Monday, 16 November 2026

When Crafting Becomes Too Profitable: Cost Evaluation in MMORPG Games

Hey there it is time for another lesson on MMORPG economics. This time we have an interesting phenomenon to look at.

The profit margin of crafting consumables is consistently getting bigger. This is achieved by price of crafted goods remain stable or going up while raw material price going down. How can this be possible?

In textbook theory homogeneous market are bound to reach risk free(!!) profit margin. I even expected a margin below that considering players could gain exp via crafting thus compensating monetary loss. Some players could also obtain raw materials at below market rate, leaving market rate crafting unprofitable. This is proven true actually in game during peak season, whether sideline competitions exist to encourage more consumption as well as production of those goods. In short words, that holds true in an extremely liquid market.

In fact, the profit margin is so significant that it beats most primary production. So...what happened?

This is a journey not just about economics, but also about game traits and player psychology.

1) Early stage of game decay

This is me immediate thought and matches my impression on recent game environment: big names selling all equipments or hosting giveaway before leaving, vacancies in big guild, online head count drops. The game has been stagnant for a while, but to me it has finally gone past the critical point where decay is very likely the way to go.

I call this the old money stage.

Instead of people stop trading, this could actually be the stage you find the richest player around -- in the game I actually referred to, we just had a F2P player with 100M gold when usual idle gain is about 10k gold/hr. 

Gold is an accumulated asset, and it lags behind player count. Combined with dropping player count we are left with a community of mostly established players. Some could still hoard more gold, but to some players it's the time to spend however they want.

From buyer side, they are alright to (not 'happy to') pay higher for those consumables for the flex. From producer side, the extra profit may not be significant for them to shift their focus (like spending more time or chucking buffs for production) onto further production, thus the profit margin hanged there.

This is such a handy theory...except that numbers do not match.

Had it be a rather uniform decline, we should expect the numbers reflecting that everywhere. We would also expect lower volume for raw materials with thinner market, while consumable market throughput drops despite elevated margin. None of that actually happened.

The market is weird in a small part, but remained healthy in large. Is there any other guesses?

2) Uneven decay: middle class shrinks

We almost forget the simple fact that different group of players come and go at different rate. 

New players contributes a big part of head count, but only a few would actually stay. They do affect market but not by too much. Hardcore players are mostly established and have great market power if they wish to. However they only form a tiny part out of all players and does not contribute meaningfully in actual production.

The group of players that truly decide profit margin is the group of middle class players who are still growing, established enough to participate efficiently, but not wealthy enough to care less. You would see them everywhere: to craft, to take arbitrage, to whatever operation that brings more profit.

The middle class is large enough to affect market in both supply and demand by quantity. By taking arbitrage they also maintain a healthier and more efficient market. This is something other players cannot meaningfully do.

Instead of a general decay, we could be losing more of these players. In MMORPG dev terminology, that implies a lower retention rate which is lethal. 

There could be various reasons behind: game not interesting enough to keep the new players, too hard to compete against established players, SEO failure etc. There is no way to backtrack these, all we know is these kind of players wander around less often, leaving an ill market behind. This is also part of the empirical observations too.

However...

Just to think about it: if the market is easily accessible, raw material is easily obtainable (clear profit margin even with raw material at market rate) and the consumable market is meaningfully trading, why don't we see at least some players trying? We do not need 100 players doing that -- we just need a few extra undercutters to chop the extra margin significantly, and that does not happen either.

Perhaps profitability on paper is not actually that attractive?

3) Market reform and perceived profitability

A major market reform has just happened in the game. In the past players can freely list and buy from any listings. This is no longer the case -- it becomes strictly ask-bid matching with the cheapest go first and quantity no longer a priority in listing.

In textbook world that should increase efficiency and push the price near equilibrium better. It probably already does: in the past buyers used to leave every listing with 1 item left to create an illusion of lower fair price. With that vanished out of question we now find a slightly higher volume weighted average price (VWAP) over most items.

But to seller, that slightly higher equilibrium does not translate to better profit. First, that slightly higher price is already sellable before the market reform so sellers do not really benefit from that. 

On the other hand the pressure to undercut others becomes much heavier. You could have hanged slightly higher, leave it there for a long time and expect someone to buy eventually. This is no longer the case. If your price isn't set right, you will simply find players keep undercutting below your ask before you can sell yours.

In order to sell, you either have to take a significant cut from market fair price, or you have to pay personal attention to hold your ask competitive. This is a heavy hidden cost. Depending the valuation of players in reality it could be extremely expensive, considering this game is, after all, an 'idle game'.

In short, the reform that should improve efficiency turned out less attractive to participate.

Yet, it is very hard to take that as the full picture.

We are not even talking about how large the compensation or extra profit margin we need to made crafting reasonably profitable. Just one question: the same kind of market competitiveness occurs across the whole market, yet there is no elevated profit margin in most other sectors. 

On top of that, would you even expect an average player to calculate all that and decide extra margin is needed to make it worthwhile?!?

4) The old simple theory

Perhaps it's just a simple supply and demand after all. 

Say, higher player participation either in leagues or general process leading to higher demand over consumables? And on the production side raw materials look cheap but high price elasticity means ramped up production would lead to higher cost that actually correspond to much reasonable profit margin? Primary production remained bad but perhaps there are other more profitable activities?...

The thing is supply demand do not have to contradict the first three theories. We may as well assume more old money spending and market reform changing player psychology too. The most probable case to me, would be a bit of everything.

*

I am quite surprised I do not have to use mathematics to the slightest bit. 

Looking back, this is a problem on how we define cost, the fundamental idea in economics.

Old money changes the utility of gold.
Player composition changes the cost and motivation for producers.
Market reform changes the time cost of selling.

Despite high profitability on paper, the real question should be the players' cost evaluation on crafting on those goods. 

Perhaps there is no mystery profit after all. The raw materials may still cost the same amount of gold, but gold is not the only thing being spent. Time, attention, motivation and even the willingness to care about profit all carry a price.

The market did not forget how economics works. We probably just measured the wrong cost.