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
(33)

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
(36)

Find 50!mod49!.50 ! \bmod 49 ! .

(Short Answer)
4.9/5
(21)

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

(Short Answer)
4.7/5
(39)

Find adivm and amodm when a=33,m=67a \operatorname { div } m \text { and } a \bmod m \text { when } a = - 33 , m = 67

(Short Answer)
4.8/5
(38)

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

(Short Answer)
4.8/5
(34)

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

(Short Answer)
4.9/5
(39)

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
(28)

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
(31)

Find the two's complement of 9.

(Short Answer)
4.8/5
(26)

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

(Short Answer)
4.8/5
(26)

Find the sequence of pseudorandom numbers generated by the power generator xn+1=xn3mod23x _ { 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.7/5
(37)

Find the prime factorization of 45,617.

(Short Answer)
4.9/5
(22)

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

(Short Answer)
4.8/5
(38)

Convert (6253)8 to base 2 .

(Short Answer)
4.8/5
(26)

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
(42)

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
(32)

Find an inverse of 2 modulo 31.

(Short Answer)
4.8/5
(36)

suppose that a and b are integers, a4(mod7), and b6(mod7). Find the integer c with 0c6a \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 - c3a(mod7)c \equiv 3 a ( \bmod 7 )

(Short Answer)
4.8/5
(33)

Find an inverse of 6 modulo 7.

(Short Answer)
4.7/5
(30)
Showing 101 - 120 of 154
close modal

Filters

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