BuyFindarrow_forward

Elements Of Modern Algebra

8th Edition
Gilbert + 2 others
ISBN: 9781285463230

Solutions

Chapter
Section
BuyFindarrow_forward

Elements Of Modern Algebra

8th Edition
Gilbert + 2 others
ISBN: 9781285463230
Textbook Problem

Suppose the alphabet consists of a through z , in natural order, followed by a blank and then the digits 0 through   9 , in natural order. Associate these "letters" with the numbers 0 ,   1 ,   2 ,   ...   ,   36 , respectively, thus forming a 37 -letter alphabet, D . Use the affine cipher to decipher the message

X 0 1 9 1 6 R 9 1 6 5 4 6 M 9 C N 1L 6 B1 L L 6 X 0 R Z 6 U I I if you know that the plaintext message begins with " t " followed by " h ". Write out the affine mapping f and its inverse.

To determine

Plain text in the 37 letter alphabet D, use the affine cipher to decipher the message “ X01916R916546M9CN1L6B1LL6X0RZ6UII” and if the plain text message begins with “t” followed by “h”. Write down the affine mapping f and f1.

Explanation

Given information:

The 37-letter alphabet D -

If alphabet consist of a to z, in natural order followed by blank and then digits through 0to9, then have 37 “letters” that associates with the integer 0,1,2,3,...,35 as follows:

Alphabet: abcdef...vwxyz"blank"012...9

D:012345...212223242526272829...35

Formula used:

(i) Affine cipher:

Define the mapping f:AA by f(x)=ax+bmodn, where a,b are fixed integers and order pair a,b forms a key to affine cipher.

(ii) Euclidean Algorithm:

Let a and b are integers with b>0, then the procedure

a=bq0+r10r1<bb=r1q1+r20r2<r1r1=r2q2+r30r3<r2rk=rk+1qk+1+rk+20rk+2<rk+1

is known as Euclidean Algorithm.

Since the integers r1,r2,,rk+2 are decreasing and are all non-negative, there is a smallest integer n such that rn+1=0:

rn1=rnqn+rn+10=rn+1

If r0=b then the last non-zero remainder rn is always greatest common divisor of a and b.

Calculation:

It seems reasonable that the cipher-text letters x and o corresponds to the plaintext t and h.

Translating these into the set D,

xtranslatetoD23ttranslatetoD19

otranslatetoD27htranslatetoD7

Now, to determine the key from the following system of equations for aandb

23=a(19)+bmod3727=a(7)+bmod37

Use a=b(modn)b=a(modn)

a(19)+b=23mod37…… (1)

a(7)+b=27mod37 …… (2)

Subtract (1) from (2), gives

a(7)a(19)=2723mod37

a(12)=4mod37

a(25)=4mod37 as 25=12(mod37)

25a=4mod37

Now to find the multiplicative inverse using Euclidean algorithm.

25=12(2)+1

Thus,

1=2512(2)

1=25(2)(3725)

1=2537(2)+25(2)

1=25(3)37(2)

Thus, 25(3)=1(mod37)

The inverse 251=3(mod37).

Hence, 25a=4mod37

a=2514(mod37)

a=(3)4(mod37)

a=12(mod37)

Now, from (1), a(19)+b=23mod37

(12(mod37))(19)+b=23mod37

b=12(mod37)19+23(mod37)

b=12(19)+23(mod26)

b=228+23(mod37)

b=205(mod37)

b=17(mod37) as 17=205(mod37)

Therefore, a=12 and b=17

Now, to define affine mapping as, f:DD such that, f(x)=12x+17mod37, where D={0,1,2,3,

Still sussing out bartleby?

Check out a sample textbook solution.

See a sample solution

The Solution to Your Study Problems

Bartleby provides explanations to thousands of textbook problems written by our experts, many with advanced degrees!

Get Started
Sect-2.1 P-1ESect-2.1 P-2ESect-2.1 P-3ESect-2.1 P-4ESect-2.1 P-5ESect-2.1 P-6ESect-2.1 P-7ESect-2.1 P-8ESect-2.1 P-9ESect-2.1 P-10ESect-2.1 P-11ESect-2.1 P-12ESect-2.1 P-13ESect-2.1 P-14ESect-2.1 P-15ESect-2.1 P-16ESect-2.1 P-17ESect-2.1 P-18ESect-2.1 P-19ESect-2.1 P-20ESect-2.1 P-21ESect-2.1 P-22ESect-2.1 P-23ESect-2.1 P-24ESect-2.1 P-25ESect-2.1 P-26ESect-2.1 P-27ESect-2.1 P-28ESect-2.1 P-29ESect-2.1 P-30ESect-2.1 P-31ESect-2.1 P-32ESect-2.1 P-33ESect-2.1 P-34ESect-2.1 P-35ESect-2.2 P-1ESect-2.2 P-2ESect-2.2 P-3ESect-2.2 P-4ESect-2.2 P-5ESect-2.2 P-6ESect-2.2 P-7ESect-2.2 P-8ESect-2.2 P-9ESect-2.2 P-10ESect-2.2 P-11ESect-2.2 P-12ESect-2.2 P-13ESect-2.2 P-14ESect-2.2 P-15ESect-2.2 P-16ESect-2.2 P-17ESect-2.2 P-18ESect-2.2 P-19ESect-2.2 P-20ESect-2.2 P-21ESect-2.2 P-22ESect-2.2 P-23ESect-2.2 P-24ESect-2.2 P-25ESect-2.2 P-26ESect-2.2 P-27ESect-2.2 P-28ESect-2.2 P-29ESect-2.2 P-30ESect-2.2 P-31ESect-2.2 P-32ESect-2.2 P-33ESect-2.2 P-34ESect-2.2 P-35ESect-2.2 P-36ESect-2.2 P-37ESect-2.2 P-38ESect-2.2 P-39ESect-2.2 P-40ESect-2.2 P-41ESect-2.2 P-42ESect-2.2 P-43ESect-2.2 P-44ESect-2.2 P-45ESect-2.2 P-46ESect-2.2 P-47ESect-2.2 P-48ESect-2.2 P-49ESect-2.2 P-50ESect-2.2 P-51ESect-2.2 P-52ESect-2.2 P-53ESect-2.2 P-54ESect-2.2 P-55ESect-2.2 P-56ESect-2.2 P-57ESect-2.3 P-1TFESect-2.3 P-2TFESect-2.3 P-3TFESect-2.3 P-4TFESect-2.3 P-5TFESect-2.3 P-6TFESect-2.3 P-7TFESect-2.3 P-8TFESect-2.3 P-9TFESect-2.3 P-10TFESect-2.3 P-1ESect-2.3 P-2ESect-2.3 P-3ESect-2.3 P-4ESect-2.3 P-5ESect-2.3 P-6ESect-2.3 P-7ESect-2.3 P-8ESect-2.3 P-9ESect-2.3 P-10ESect-2.3 P-11ESect-2.3 P-12ESect-2.3 P-13ESect-2.3 P-14ESect-2.3 P-15ESect-2.3 P-16ESect-2.3 P-17ESect-2.3 P-18ESect-2.3 P-19ESect-2.3 P-20ESect-2.3 P-21ESect-2.3 P-22ESect-2.3 P-23ESect-2.3 P-24ESect-2.3 P-25ESect-2.3 P-26ESect-2.3 P-27ESect-2.3 P-28ESect-2.3 P-29ESect-2.3 P-30ESect-2.3 P-31ESect-2.3 P-32ESect-2.3 P-33ESect-2.3 P-34ESect-2.3 P-35ESect-2.3 P-36ESect-2.3 P-37ESect-2.3 P-38ESect-2.3 P-39ESect-2.3 P-40ESect-2.3 P-41ESect-2.3 P-42ESect-2.3 P-43ESect-2.3 P-44ESect-2.3 P-45ESect-2.3 P-46ESect-2.3 P-47ESect-2.3 P-48ESect-2.3 P-49ESect-2.4 P-1TFESect-2.4 P-2TFESect-2.4 P-3TFESect-2.4 P-4TFESect-2.4 P-5TFESect-2.4 P-6TFESect-2.4 P-7TFESect-2.4 P-8TFESect-2.4 P-9TFESect-2.4 P-10TFESect-2.4 P-11TFESect-2.4 P-12TFESect-2.4 P-13TFESect-2.4 P-1ESect-2.4 P-2ESect-2.4 P-3ESect-2.4 P-4ESect-2.4 P-5ESect-2.4 P-6ESect-2.4 P-7ESect-2.4 P-8ESect-2.4 P-9ESect-2.4 P-10ESect-2.4 P-11ESect-2.4 P-12ESect-2.4 P-13ESect-2.4 P-14ESect-2.4 P-15ESect-2.4 P-16ESect-2.4 P-17ESect-2.4 P-18ESect-2.4 P-19ESect-2.4 P-20ESect-2.4 P-21ESect-2.4 P-22ESect-2.4 P-23ESect-2.4 P-24ESect-2.4 P-25ESect-2.4 P-26ESect-2.4 P-27ESect-2.4 P-28ESect-2.4 P-29ESect-2.4 P-30ESect-2.4 P-31ESect-2.4 P-32ESect-2.4 P-33ESect-2.4 P-34ESect-2.4 P-35ESect-2.5 P-1TFESect-2.5 P-2TFESect-2.5 P-3TFESect-2.5 P-4TFESect-2.5 P-5TFESect-2.5 P-6TFESect-2.5 P-7TFESect-2.5 P-1ESect-2.5 P-2ESect-2.5 P-3ESect-2.5 P-4ESect-2.5 P-5ESect-2.5 P-6ESect-2.5 P-7ESect-2.5 P-8ESect-2.5 P-9ESect-2.5 P-10ESect-2.5 P-11ESect-2.5 P-12ESect-2.5 P-13ESect-2.5 P-14ESect-2.5 P-15ESect-2.5 P-16ESect-2.5 P-17ESect-2.5 P-18ESect-2.5 P-19ESect-2.5 P-20ESect-2.5 P-21ESect-2.5 P-22ESect-2.5 P-23ESect-2.5 P-24ESect-2.5 P-25ESect-2.5 P-26ESect-2.5 P-27ESect-2.5 P-28ESect-2.5 P-29ESect-2.5 P-30ESect-2.5 P-31ESect-2.5 P-32ESect-2.5 P-33ESect-2.5 P-34ESect-2.5 P-35ESect-2.5 P-36ESect-2.5 P-37ESect-2.5 P-38ESect-2.5 P-39ESect-2.5 P-40ESect-2.5 P-41ESect-2.5 P-42ESect-2.5 P-43ESect-2.5 P-44ESect-2.5 P-45ESect-2.5 P-46ESect-2.5 P-47ESect-2.5 P-48ESect-2.5 P-49ESect-2.5 P-50ESect-2.5 P-51ESect-2.5 P-52ESect-2.5 P-53ESect-2.5 P-54ESect-2.5 P-55ESect-2.5 P-56ESect-2.5 P-57ESect-2.5 P-58ESect-2.6 P-1TFESect-2.6 P-2TFESect-2.6 P-3TFESect-2.6 P-4TFESect-2.6 P-5TFESect-2.6 P-6TFESect-2.6 P-7TFESect-2.6 P-8TFESect-2.6 P-1ESect-2.6 P-2ESect-2.6 P-3ESect-2.6 P-4ESect-2.6 P-5ESect-2.6 P-6ESect-2.6 P-7ESect-2.6 P-8ESect-2.6 P-9ESect-2.6 P-10ESect-2.6 P-11ESect-2.6 P-12ESect-2.6 P-13ESect-2.6 P-14ESect-2.6 P-15ESect-2.6 P-16ESect-2.6 P-17ESect-2.6 P-18ESect-2.6 P-19ESect-2.6 P-20ESect-2.6 P-21ESect-2.6 P-22ESect-2.6 P-23ESect-2.6 P-24ESect-2.6 P-25ESect-2.6 P-26ESect-2.7 P-1TFESect-2.7 P-2TFESect-2.7 P-3TFESect-2.7 P-4TFESect-2.7 P-1ESect-2.7 P-2ESect-2.7 P-3ESect-2.7 P-4ESect-2.7 P-5ESect-2.7 P-6ESect-2.7 P-7ESect-2.7 P-8ESect-2.7 P-9ESect-2.7 P-10ESect-2.7 P-11ESect-2.7 P-12ESect-2.7 P-13ESect-2.7 P-14ESect-2.7 P-15ESect-2.7 P-16ESect-2.7 P-17ESect-2.7 P-18ESect-2.7 P-19ESect-2.7 P-20ESect-2.7 P-21ESect-2.7 P-22ESect-2.7 P-23ESect-2.7 P-24ESect-2.7 P-25ESect-2.7 P-26ESect-2.8 P-1TFESect-2.8 P-2TFESect-2.8 P-3TFESect-2.8 P-1ESect-2.8 P-2ESect-2.8 P-3ESect-2.8 P-4ESect-2.8 P-5ESect-2.8 P-6ESect-2.8 P-7ESect-2.8 P-8ESect-2.8 P-9ESect-2.8 P-10ESect-2.8 P-11ESect-2.8 P-12ESect-2.8 P-13ESect-2.8 P-14ESect-2.8 P-15ESect-2.8 P-16ESect-2.8 P-17ESect-2.8 P-18ESect-2.8 P-19ESect-2.8 P-20ESect-2.8 P-21ESect-2.8 P-22ESect-2.8 P-23ESect-2.8 P-24ESect-2.8 P-25ESect-2.8 P-26E

Additional Math Solutions

Find more solutions based on key concepts

Show solutions add

In Exercises 2730, determine all values of x for which each function is discontinuous. 29. f(x) = {1(x+1)2ifx12...

Applied Calculus for the Managerial, Life, and Social Sciences: A Brief Approach

cosh 0 = a) 0 b) 1 c) e22 d) is not defined

Study Guide for Stewart's Single Variable Calculus: Early Transcendentals, 8th

True or False: If converges absolutely, then it converges conditionally.

Study Guide for Stewart's Multivariable Calculus, 8th