I realize that this question already has an answer elsewhere and now realize what the correct answer is (substituting into the limit form of the exponential function and then using continuity of the exponential function to interchange operators).
However I would like to share my incorrect attempt because I do not know exactly why it is incorrect. In particular there is one step to look at.
First I expanded the power $(1 + a_nx/n)^n$ out into a product and wrote "n times" below that. Then I used the fact that the limit of a product is a product of limits. However this step is not justifiable because how does one perform an infinite expansion?
(After that it's straightforward if one overlooks the above. For this product of limits, for each factor expand the limit of a sum into a sum of limits. So now you have an product of n sums: $lim 1 + lim a_nx/n$ n times. Finally you put the summand on the right as a product of limits so that this right summand becomes zero. Then you are left with a product of n limits $lim 1$ so that the answer is 1.)