Let
2a – b = n2 …(i)
a – 2b = p2 …(ii)
a + b = k2 …(iii)
Adding (ii) and (iii) we get
2a – b = p2 – k2
p2 + k2 = n2 (p < k as a + b < a – 2b)
For b to be smallest, k2 and p2 is also small and
must be multiple of 3 (as 3b = k2 – p2)
For smallest b, the least value of k and p be 12 and 9 resp.
∴ Least value of b = 21