Letters of alphabets no from 1 to 26 are consecutively with 1 assigned to A…
2025
Letters of alphabets no from 1 to 26 are consecutively with 1 assigned to A and 26 to Z. By 27th letter we mean A, 28th B. In general 26m+n, m and n negative integers is same as the letters numbered n.
Let P = 6, strange country military general sends this secret message according to the following codification scheme. In codifying a sentence, the 1st time a letter occurs it is replaced by the pth letter from it. 2nd time if occurred it is replaced by P2 letter from it. 3rd time it occurred, it is replaced by P3 letter from it. What is the code word for ABBATIAL
- A.
GHNNZOOR
- B.
GHKJZOHR
- C.
GHHGZOGR
- D.
GHLKZOIR
Attempted by 1013 students.
Show answer & explanation
Correct answer: D
Use P = 6. For each letter, add P^k where k is the occurrence number of that letter (first occurrence k=1, second k=2, etc.). Reduce modulo 26 when necessary.
A (1st occurrence): 1 + 6 = 7 → G
B (1st occurrence): 2 + 6 = 8 → H
B (2nd occurrence): 2 + 6^2 = 2 + 36 = 38 → 38 - 26 = 12 → L
A (2nd occurrence): 1 + 6^2 = 1 + 36 = 37 → 37 - 26 = 11 → K
T (1st occurrence): 20 + 6 = 26 → Z
I (1st occurrence): 9 + 6 = 15 → O
A (3rd occurrence): 1 + 6^3 = 1 + 216 = 217 → 217 mod 26 = 9 → I
L (1st occurrence): 12 + 6 = 18 → R
Putting the coded letters together gives: G H L K Z O I R. Therefore the code word is GHLKZOIR.