MHB Solve Bob's Granny's Old Cipher Mystery

  • Thread starter Thread starter sadsadsadsa
  • Start date Start date
AI Thread Summary
Bob discovers an old box in his granny's cellar containing encrypted messages, including one partially readable message: IEHMTALVOHETMAIVLO. His granny explains the decryption principle, stating that the code should be divided into two equal parts, which correspond to the pre-order and in-order traversals of a binary tree. To decode the message, Bob needs to construct the binary tree and read it in reverse post-order. His granny notes that each letter appears only once in each part, simplifying the decryption process. Bob seeks further clarification to use the cipher for messaging Alice.
sadsadsadsa
Messages
15
Reaction score
0
Bob has found in his granny's cellar an old box with strange messages inside. Most of them are almost unreadable since the paper is very old. His granny is very happy since she believed this box was lost. she remembers when she was a student in mathematics, she was using a secret cipher to correspond with her boyfriend. The box contains some encrypted messages. One of the messages is still readable: IEHMTALVOHETMAIVLOBob is fascinated and asks his granny to decrypt it, but the old lady only accepts to explain him the main principle of the cipher: `` if you want to read it you must deserve it’’, she said. ``But it is simple: divide the code into two equal parts and verify that both parts contain the same letters. The first part corresponds to a pre-order while the second corresponds to an in-order of a binary tree. Find the related binary tree and read it in reverse post-order.’’

After reading carefully the message she adds: You are lucky, here each letter occurs only once in each part. I remember we invented a specific code when there were several occurrences of the same letter with possible ambiguity.`Bob is quite confused and asks more details but she refuses to help him more. She still likes to play. Bob would like to understand well in order to use this cipher for sending messages to Alice. Can you help him understand this message?
 
Last edited:
Mathematics news on Phys.org
Erm...
HTAMEVOLI?
 
I like Serena said:
Erm...
HTAMEVOLI?
For the related binary tree, I get:
I
EL
HMVO
TA

They want the reverse post-order, so ILOVEMATH.
 
sadsadsadsa said:
Bob has found...

Enough time has passed that you may now post your solution. (Yes)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top