Exam 4: Number Theory and Cryptography

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Find the prime factorization of 510,510.

(Short Answer)
4.7/5
(77)

Prove or disprove:  If p and q are primes ( >2 ), then pq+1 is never prime. \text { If } p \text { and } q \text { are primes ( } > 2 \text { ), then } p q + 1 \text { is never prime. }

(Short Answer)
4.8/5
(74)

Find 50! mod 49!.50 ! \bmod 49 ! .

(Short Answer)
4.9/5
(72)

Decrypt the message "AHFXVHFBGZ" that was encrypted using the shift cipher f(x)=(x+19) mod 26.f ( x ) = ( x + 19 ) \bmod 26 .

(Short Answer)
4.8/5
(82)

Find adiv⁡m and a mod m when a=−33,m=67a \operatorname { div } m \text { and } a \bmod m \text { when } a = - 33 , m = 67

(Short Answer)
4.8/5
(94)

Explain in words the difference between a|b and ba\frac { b } { a }

(Short Answer)
4.8/5
(82)

Encrypt the message "just testing" using the function f(x)=(5x+3) mod 26f ( x ) = ( 5 x + 3 ) \bmod 26

(Short Answer)
4.9/5
(86)

Encrypt the message WATCH OUT using blocks of four letters and the transposition cipher based on the permutation of {1,2,3,4} with σ(1)=3,σ(2)=4,σ(3)=2,\sigma ( 1 ) = 3 , \sigma ( 2 ) = 4 , \sigma ( 3 ) = 2 , and σ(4)=1\sigma ( 4 ) = 1 .

(Short Answer)
4.9/5
(78)

Prove or disprove: For all integers a, b, c, d, if a|b and c|d, then (a+c)∣(b+d)( a + c ) \mid ( b + d )

(True/False)
4.9/5
(63)

Find the two's complement of 9.

(Short Answer)
4.9/5
(73)

Suppose that a computer has only the memory locations 0, 1, 2, . . . , 19. Use the hashing function h where h(x)=(x+5) mod 20h ( x ) = ( x + 5 ) \bmod 20 to determine the memory locations in which 57, 32, and 97 are stored.

(Short Answer)
4.9/5
(74)

Find the sequence of pseudorandom numbers generated by the power generator xn+1=xn3 mod 23x _ { n + 1 } = x _ { n } ^ { 3 } \bmod 23 and seed x0 = 3. The numbers in question 130-133 refer to an 8-digit student id at a large university. The eighth digit is a check digit equal to the sum of the first seven digits modulo 7.

(Short Answer)
4.8/5
(79)

Find the prime factorization of 45,617.

(Short Answer)
4.9/5
(73)

Use the Euclidean Algorithm to find gcd(580, 50).

(Short Answer)
4.8/5
(87)

Convert (6253)8 to base 2 .

(Short Answer)
4.8/5
(67)

find the sum and product of each of these pairs of numbers. Express your answer as an octal expansion. - (371)8,(624)8( 371 ) _ { 8 } , ( 624 ) _ { 8 }

(Short Answer)
4.8/5
(79)

Suppose that the lcm of two numbers is 400 and their gcd is 10. If one of the numbers is 50, find the other number.

(Short Answer)
4.9/5
(78)

Find an inverse of 2 modulo 31.

(Short Answer)
4.9/5
(86)

suppose that a and b are integers, a≡4( mod 7), and b≡6( mod 7). Find the integer c with 0≤c≤6a \equiv 4 ( \bmod 7 ) , \text { and } b \equiv 6 ( \bmod 7 ) . \text { Find the integer } c \text { with } 0 \leq c \leq 6 such that - c≡3a( mod 7)c \equiv 3 a ( \bmod 7 )

(Short Answer)
4.8/5
(89)

Find an inverse of 6 modulo 7.

(Short Answer)
4.8/5
(80)
Showing 101 - 120 of 154
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)