Given f(x)=(x4)(x+3)+4. When f(x) is divided by (xk), the remainder is k, find the value of k.

Given f(x)=(x4)(x+3)+4. When f(x) is divided by (xk), the remainder is k, find the value of k.