Solution:
We have an integer x such that
x2=k+9
where k=2a3b, a,b≥0, a,b∈N.
Therefore,
(x−3)(x+3)=k.
If b=0 then we have k=16.
If b>0 then we have 3∣k+9. Hence, 3∣x2 and 9∣k.
Therefore, we have b≥2. Let x=3y.
(y−1)(y+1)=2a3b−2
If a=0 then b=3 and we have k=27.
If a≥1, then the numbers y−1 and y+1 are even. Therefore, we have a≥2, and
2y−1⋅2y+1=2a−23b−2
Since the numbers 2y−1 and 2y+1 are consecutive numbers, these numbers have to be powers of 2 and 3. Let m=a−2, n=b−2.
- If 2m−3n=1 then we have m≥n. For n=0 we have m=1, a=3, b=2 and k=72. For n>0 using mod3 we have that m is even number. Let m=2t. Therefore,
(2t−1)(2t+1)=3n
Hence, t=1, m=2, n=1 and a=4, b=3, k=432.
- If 3n−2m=1, then m>0. For m=1 we have n=1, a=3, b=3, k=216. For m>1 using mod4 we have that n is even number. Let n=2t.
(3t−1)(3t+1)=2m
Therefore, t=1, n=2, m=3, a=5, b=4, k=2592.
Set of solutions: {16,27,72,216,432,2592}.