I saw this Numberphile video (link at bottom), and at around 10:10 they talk about writing numbers in the language of first-order set theory. For example, to write $0$, it showed the empty set: $$\exists x_1\neg\exists x_2(x_2\in x_1)$$ And to write $1$, it said: $$\exists x_1\forall x_2(x_2\in x_1\leftrightarrow(\neg\exists x_3(x_3\in x_2)\vee\forall x_3(x_3\in x_2\leftrightarrow\neg\exists x_4(x_4\in x_3))))$$
Edit: An answer has corrected this and showed that the above formula is for $2$, not $1$. I have left the above as this is what the video showed.
The video then alluded to writing other numbers, saying that it takes less symbols as the numbers get larger.
This made me curious and I wanted to find out more about this topic.
I have done research and tried to find how to write other numbers in the language of first-order set theory, but I haven't been able to find anything.
Question
Does anyone know any resources/websites with information on how to write numbers in the language of first-order set theory? I have searched the internet many times but I haven't been able to find this.
Or is it just that there are no websites about this because there is no use for them and nobody really cares about them?
Thanks.
Numberphile video-The Daddy of Big Numbers (Rayo's Number)-Numberphile https://youtu.be/X3l0fPHZja8