GoalTurn letters into two-digit numbers and numbers back into letters.
New words
number code · a code that swaps each letter for its place in the alphabetdigit · one of the signs 0 to 9alphabet · all the letters in their order, from A to Z
Explanation
In a number code, each letter is swapped for its place in the alphabet. A is 1, B is 2, and Z is 26. We write every number with two digits, so A is 01 and B is 02. We leave a space between letters and put a slash between words. The two digits are important. If we wrote 1 1 2 without spaces, 112 could be AAB, AL or KB. With two digits, every pair of digits is one letter, so there is only one way to read the message.
A
B
C
D
E
F
G
H
I
J
K
L
M
01
02
03
04
05
06
07
08
09
10
11
12
13
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
14
15
16
17
18
19
20
21
22
23
24
25
26
Worked examples
Letter
Place in the alphabet
Two digits
H
8
08
E
5
05
N
14
14
Encode HEN. H is the 8th letter, E is the 5th and N is the 14th. Numbers below 10 get a zero in front, so the code is 08 05 14.
Plain text
Number code
BIKE RIDE
02 09 11 05 / 18 09 04 05
Encode two words, BIKE RIDE. We put a slash between the words.
Reading of 112
Letters
1, 1, 2
A A B
1, 12
A L
11, 2
K B
Why two digits? Look at 112. It could be read in three ways, and only one is meant. Two digits for every letter would write A, A, B as 01 01 02, and K, B as 11 02. Now there is no mix-up.
Class activity
Number strips (in pairs): write the alphabet on a long strip of paper, with the numbers 01 to 26 under the letters. Write a short two-word message in number code on a card and swap it with your partner. Use the strip to decode it. Then agree a new rule: count backwards, so that Z is 01 and A is 26. Try one message with the new rule and check that your partner gets the same message back.
Practice
1
Write LAMP in the number code.
12 01 13 16.
2
Decode this number code:
Code
20 18 05 05
TREE (20 = T, 18 = R, 05 = E, 05 = E).
3
Yuki writes the message 1112 without any gaps. Can you be sure which letters it is? Name at least two ways to read it.
No. It could be K L (11 12), K A B (11 1 2), A K B (1 11 2), A A L (1 1 12) or A A A B (1 1 1 2). That is why we use two digits for each letter.