Question

Freddy and his friends write their names in code. Each friend's name is represented by a number. To identify the friend in a message, you must find the prime factorization of the number. Freddy gets a message from 45. Who is the message from.
Secret Code:
Freddy= 2x3x5
Judy= 2x2x3x7
Dan= 3x3x5
Camilla=2x3x5x5

Answers

Kabir
=> First, you must note that the number given to you is 45. So, you must find its prime factorisation.

45 = 3 x 15
= 3 x 3 x 5

Since this is the same as the code for Dan, the message is from Dan.
Steve
If you find this interesting, read about Gödel encoding, where each letter is a prime factor raised to a power. The nth letter is the nth prime to the power of the letter's place in the alphabet. For example,

cat is represented by 2^3 * 3^1 * 5^20

You can see that the values get huge very fast, and decoding is quite difficult.
MathMate
For practice: try decoding
14007996280973190758400000
MathMate
I read the instructions wrong, the coded word should read:
3597206253997569964636384069705890201600000
Steve
Thanks for the referral! :-)

Related Questions