Confirming your payment

Skip to content

Sign up now and get .

Competency-Based Questions (CBQ) · Question 22 of 40

Competency: Application The cipher club numbers the letters A, B, …, Z as 0, 1, …, 25 and tries a 'mirror' code on L =…

Question 224 marksMedium

Competency: Application

The cipher club numbers the letters A, B, …, Z as 0, 1, …, 25 and tries a 'mirror' code on L={0,1,…,25}L = \{0, 1, \ldots, 25\}: the letter with number xx becomes the letter with number f(x)=25−xf(x) = 25 - x (so A ↔\leftrightarrow Z, B ↔\leftrightarrow Y, and so on).

(a) Encode the word CODE.

(b) Show that (fof)(x)=x(fof)(x) = x for every x∈Lx \in L, and hence that f−1=ff^{-1} = f. What does this mean for the person decoding?

(c) The club also uses shift codes gk(x)=g_k(x) = remainder when x+kx + k is divided by 26, for k=1,2,…,25k = 1, 2, \ldots, 25. For which value of kk is gkg_k its own inverse?