Bhaskara's lemma

Bhaskara's Lemma is an identity used as a lemma during the chakravala method. It states that:

for integers and non-zero integer .