Thanks for the reminder (I usually remember there was AoC during the first quartal of the following year ).
Yesterday I solved firts three days, and I hope i did better work then Alicia (no offense intended, but I don’t find them readable; very low-level, verbose approach, interation manually woven into the predicates, I’d have hard time trying to understand what the code does).
Of course, I’m no Prolog guru (and tastes may vary), so anyone interested, please, send comments / improvements, and help me make them the best possible examples of elegant Prolog code.
Enjoy.
EDIT: Perhaps including the repo link isn’t such a bad idea, lol: