Suppose that $A=1,2,$ or $3$. Let $a$ and $b$ be relatively prime integers such that $a^{2}+Ab^2 =s^3$ for some integer $s$. Then, there are integers $u$ and $v$ such that $s=u^2 +Av^2$, $a =u^3 - 3Avu^2$, and $b=3u^{2}v -Av^3$.
Source:
Tags: geometry, 3D geometry, number theory, relatively prime, Diophantine Equations
Suppose that $A=1,2,$ or $3$. Let $a$ and $b$ be relatively prime integers such that $a^{2}+Ab^2 =s^3$ for some integer $s$. Then, there are integers $u$ and $v$ such that $s=u^2 +Av^2$, $a =u^3 - 3Avu^2$, and $b=3u^{2}v -Av^3$.