[ad_1]
Puzzling Stack Exchange is a query and reply website for individuals who create, resolve, and examine puzzles. It solely takes a minute to enroll.
Anybody can ask a query
Anybody can reply
The finest solutions are voted up and rise to the highest
Asked
Viewed
315 instances
I’ve developed an fascinating code which is a variation of a well-known code, and I shall let you know what the code of a number of the letters of the English alphabet are. Your purpose is to spell my username within the code. The left column is the conventional english letter, the correct column is the code. Note: letters are separated by hyphens, and areas are simply areas.
Letter | Code |
---|---|
B | 8 |
D | 4 |
F | 2B |
H | 0D |
I | 0B |
J | 7A |
Ok | 5 |
L | 4A |
Q | 13 |
Hint 1:
A subdivision of hexadecimal.
Other puzzles within the sequence: No. 2
$endgroup$
4
I believe the reply is
10-0D-0A-0A-0C-0A 10-1A-5-0A
Explanation (credit to @franckvivien for determining essentially the most a part of the answer):
Use Morse Code of the letter and substitute – by 1 and . by 0. Convert this binary quantity to decimal. If there are main 0s append a letter A-D equivalent to the variety of main 0s.
C -> -.-. -> 1010 -> 10 + no main 0s -> 10
H -> …. -> 0000 -> 0 + 4 main 0s -> D -> 0D
E -> . -> 0 -> 0 + 1 main 0 -> A -> 0A
S -> … -> 000 -> 0 + 3 main 0s -> C -> 0C
A -> .- -> 01 -> 1 + 1 main 0 -> A -> 1A
Ok -> -.- -> 101 -> 5 + no main 0s -> 5
$endgroup$
1
One tentative reply, which supposes Q’s illustration will not be 13. So I could also be mistaken….
A-0D-0A-0A-0C-0A A-1A-5-0A
Encoding clarification:
First rule: The first (or distinctive) character is the hex illustration of Morse code of the letter, transformed to binary. Using sprint==1 and dot==0
For instance: B:- … == 1000 == 0x8
Note that each letter is represented by at most 4 characters in morse code, so we are able to all the time convert a letter to an hex digit.
2nd rule: If the morse illustration begins with a touch, we have completed.
third rule: If morse illustration begins with dots, we should declare what number of dots are the start of morse code.
This is encoded as a 2nd character, utilizing A for 1 dot, B for two dots, C for 3 dots and D for 4 dots
For instance, H = …. (0) begins with 4 dots (D) So code is 0D
or I = .. (0) begins with 2 dots (B) Code is 0B
Based on this guidelines, the lacking letters are encoded as comply with
C: -.-. -> A (begins with a -, no second character)
E: . (0) 1 dot begin(A) -> 0A
S: … (0) 3 dots begin (C) -> 0C
A: .- (1) 1 dot begin (A) -> 1A
$endgroup$
2
[ad_2]