1440 AC

Just brute force b=a+1;b<=2*a+1;b++