2025 SSMO Team Round Problems/Problem 2

Problem

Nonnegative integers $a$ and $b$ satisfy $a!+b^4 = 16a+41$. Find the sum of all possible values of $b$.

Solution