I'm trying to find the equation for the generalization of an ellipse called a $n$-ellipse which has a constant distance R from four foci located at $(0,0),(0,1),(1,0),(1,1)$
Edit: As an algebraic curve without Square roots
Will reward bounty to anyone who gives me the equation asked for above as well as a generalized equation for foci at $(0,0),(0,n),(n,0),(n,n)$ with distance R
Does Anyone know?
The equation is obviously $$ \sqrt{x^2+y^2}+\sqrt{x^2+(y-1)^2}+\sqrt{(x-1)^2+y^2}+\sqrt{(x-1)^2+(y-1)^2} = R $$ (for $R\geq 2\sqrt{2}$) that is the equation of an algebraic curve of degree $10$. For large values of $R$, such curve is closer and closer to the circle centered at $\left(\frac{1}{2},\frac{1}{2}\right)$ with radius $\frac{R}{4}$.