a^4+ 2= (a-2+2)^4+ 2= (a-2)^4+ 4(2)(a-2)^3+ 6(4)(a-2)^2+ 4(8)(a- 2)+ 18= (a- 2)((a-2)^3i+ 8(a-2)^2 24(a- 2)+ 32)+ 18. That will be divisible by a- 2 if and only if 18= 3(3)(2) is divisible by a- 2. And that means that a- 2= 1 so a= 3, or a- 2= 2 so a=4, and so on …

If a= 3, a^4+ 2= 83 which is obviously divisible by a- 2= 1.

If a= 4, a^4+ 2= 258 which is divisible by a- 2= 2.

Continue …