idea
Gödel numbering: where primes come in
The recipe for the big number uses primes. For a row of symbols with codes a, b, c you compute 2a × 3b × 5c, and so on along the row.
Every number breaks into primes in only one way, so you can always decode it back to the exact statement.