4 ms·
Basically, you're looking for the rectangular equivalent of A189414 (http://oeis.org/A189414 http://oeis.org/A189414). Tricky problem, even for PE. I started t
by thearn4 13y ago
Basically, you're looking for the rectangular equivalent of A189414 (http://oeis.org/A189414 http://oeis.org/A189414).
Tricky problem, even for PE. I started to retool some earlier success with it towards a quasi-DP approach, but have since got caught up in other things.