Move combinatorial helpers from power.cpp to utils.h.