This one came from user_1312 on reddit with a heading “This is a bit tricky… Enjoy!”. What else can we do but solve it?

Let m and n be positive numbers such that mn=1+12+13++1101. Prove that mn is a multiple of 103.

My first approach was to invoke Wolstenholme’s theorem: the numerator of the p1th harmonic number is a multiple of p2 if p is prime, so H102=1032ab with b and 103 coprime.

(What’s a harmonic number? It’s the sum of reciprocals. H4, for example, is 1+12+13+14; the number we’re looking at is H101.

What we have is H10211102, which we could write as H102103102. Both of those terms are multiples of 103… but (looking more closely, some time on) I don’t see that this proves that mn is a multiple of 103.

Fortunately, I have another way

Let’s think about mnn=12+13++1101.

If we group those, Gauss-style into 50 pairs: (12+1101)+(13+1100)+, we get 1032×101+1033×100+.

We can write mnn=103(pq) for some integers p and q. However, 103 is prime, and doesn’t show up in any of the denominators, so q and 103 are coprime.

That means mn must be a multiple of 103, because it can’t cancel with anything on the bottom.

What a lovely puzzle!

* Edited 2019-11-11 to fix LaTeX.