Split Division

2018/02/24 code puzzles jane-street

I originally solved this while on a train in France, so I guess that's a fond memory.

My friend Sam clued me into the viability of a brute-force solution.

I thought maybe upon revisit I would think of a cleverer way to approach the problem but... nah.