Is that the entire question? Any restrictions on n or a?
You can approach it this way. Let:
Solve for f(x):
If you can show that the right hand limit exists then you're good but of course there's the issue of what happens if a = 0 or a = 0 AND n = 0.