How to Decode a Natural Number Back into a Sequence Using Gödel Numbering?

  • Thread starter Thread starter atrus_ovis
  • Start date Start date
  • Tags Tags
    Godel
AI Thread Summary
The discussion centers on the confusion surrounding the decoding of a natural number back into a sequence of natural numbers, specifically in the context of Gödel numbering. Participants clarify the encoding process and emphasize the importance of understanding the specific encoding method being used. One participant suggests referring to Gödel's encoding as outlined in a Wikipedia article, highlighting that if this encoding is used, decoding can be achieved through prime factorization. This method allows for the retrieval of the original sequence from the encoded natural number.
atrus_ovis
Messages
99
Reaction score
0
I'm ok with encoding, but I m confused about decoding a natural number back into a sequence of natural numbers.

For example, to decode a natural number N back to the sequence <x1,x2,...xn>
 
Technology news on Phys.org
How about you explain to us how you are going about encoding the sequence into a natural number, and then we can help figure out how to do the reverse? As I understand there is more than one system you could call a "godel numbering".

Is this the encoding you are using?

http://en.wikipedia.org/wiki/Gödel_numbering#G.C3.B6del.27s_encoding

If it is, then the process for decode is simply "Perform a prime factorization".
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top