Question 12Determine all pairs $(a, b)$ of non-negative integers that satisfy $$ 2017^a = b^6 - 32b + 1. $$