For how many integer value of a does the equation x^2+ax+8a=0 have integer solutions for x?
There are only three possible values of a: 0, 32, and 36.