Each of A and B is a positive integer with gcd(A,B) =1 such that each of
A2 + 2*B2 and A + 2*B is a perfect square.
What is the smallest value of A + 2*B for which this is possible? Determine the next two smallest values of A+2*B that satisfy the given conditions.