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

5 answers

=> 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.
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.
For practice: try decoding
14007996280973190758400000
I read the instructions wrong, the coded word should read:
3597206253997569964636384069705890201600000
Thanks for the referral! :-)
Similar Questions
    1. answers icon 2 answers
  1. QuestionWhat is meant by having error handling in code?(1 point) Responses The code should have comments and relevant variable
    1. answers icon 1 answer
  2. 1. Write down two your friends' names in the blanks.2. Write down two names of your friends' in the blanks. 3. Write down your
    1. answers icon 1 answer
  3. 1. Write down the names of two your friends2. Write down the names of your two friends. 3. Write down the names of two friends
    1. answers icon 1 answer
more similar questions