Q4. Find the multiplicative inverse of 14 in GF(31) domain using
Fermat’s little theorem. Show your work
Q5. Using Euler’s theorem to find the following exponential:
4200mod 27. Show how you have employed Euler’s theorem here
1. Find all solutions to the following linear congruences using
Fermat’s Little Theorem or Euler’s Theorem to help you. Show all
your steps.
(a) 3462x ≡ 6 173 (mod 59)
(b) 27145x ≡ 1 (mod 42)
Problem Solving Set #1 (10 pts each) a. Find the multiplicative
inverse of 1234 in GF(4321) using the extended Euclidean algorithm
b. Does the multiplicative inverse of 24140 in GF(40902) exist?
Prove your answer. c. Is x4 + 1 irreducible over GF(2)? Prove your
answer. d. Find (x3 + x + 1)-1 in GF(24 ) mod x4 + x + 1 using the
extended Euclidean algorithm e. Find (x3 + x + 1)-1 in GF(28 ) mod
x8 + x4...
Use this theorem to find the inverse of the given matrix or show
that no inverse exists. (If an answer does not exist, enter DNE in
any cell.)
1
2
5
1
−1
0
2
1
2
1
−5
0
1
1
2
1
Write a program( preferably in C++) using the
extended Euclidean algorithm to find the multiplicative inverse of
a mod n. Your program should allow user to enter a and n.
Note: For this question please make sure the code compiles and
runs, it is not copied and pasted from elsewhere( I will be
checking!). Thanks
Using Fermat't Little Theorem for primality test. Answer the
following. Show work for credit.
(a) Test whether each of the following numbers is primes: 101,
341, and 1105. Try at least two bases if needed, and state if the
number is pseudoprime to any base you try. You may use a claculator
to compute large powers. (MS Excel can be used)
(b) Find a composit number that is pseudoprime to base 3 and 7
but not pseudoprime to base 2...
3A.
Find the domain and range of the function. (Enter your answer
using interval notation.)
h(x) =
8
x + 7
Domain
Range
3B.
Determine whether y is a function of x.
xy + x3 −
2y = 0
Yes, y is a function of x.
No, y is not a function of
x.
It cannot be determined whether y is a function of
x.
3C.
Consider the following function. Find the composite
functions
f ∘ g
and
g ∘...
a) Using Binary Signed Magnitude arithmetic, find the ‘sum’ of
5810 + (-2310). Show your work. (use 8
bits)
b) Using two’s complement binary arithmetic, find the sum of 45
and -16. Show your work. (use 8 bits)