The Heronian mean $H(a, b)$ is defined as $H(a, b) = \dfrac{a + \sqrt{ab} + b}{3} $. What is the least positive integer $b > 1000$ such that $H(40, b)$ is also a positive integer?