I came across an old question on here asking about Gödel's Incompleteness Theorem and the theory of Real Closed Fields, specifically about why the former doesn't apply to the latter. The top answer explained that the theory of Real Closed Fields avoids the Incompleteness Theorem because it lacks the ability to distinguish between natural numbers and non-natural numbers.
I understand that this inability to pick out a distinct class of natural numbers is relevant because the Incompleteness Theorem requires a formal system to contain natural number arithmetic of a certain complexity, but I'm curious about why the theorem specifically requires natural numbers. I have a very basic understanding of the mechanics behind the Incompleteness Theorem: I know that Gödel's strategy was to encode formulas by mapping symbols to numbers and then using these numbers as the exponents in a product of prime numbers. However, I'm not sure what specific property of natural numbers is required here, beyond some vague intuition about discreteness and the sense that the theory of Real Closed Fields may be "too analog" for Gödel encoding to work.
Is this intuition on the right track? What is it about the distinction between real & natural numbers that determines whether or not the Incompleteness Theorems apply?
Edit: After submitting this question, it occurred to me that perhaps the answer has something to do with the way Gödel encoding relies on the unique factorization theorem to ensure a unique mapping for every sequence of characters. Is this why natural numbers are required?