Math 502
Written Assignment No. 3
due Thursday, April 3, 2008
Directions:
Use Maple for assistance in responding to the following problems.
Please typeset your solutions. Explain what you have done. Maple
session details are not necessary unless you think it important to
include them. Accuracy is important.
Although you may refer to books and notes, you may not seek help from
others on this written assignment.
Answer the following questions:
Determine polynomials such that
How can the length 15 string represented by the vector of
ASCII codes
-
[97, 39, 98, 96, 99, 34, 100, 10, 101, 39, 102, 34, 103, 96, 104]
— which contains a newline and various quoting characters — be entered
as an input string in Maple without reference to the ASCII codes?
In this problem let denote the prime .
Find all non-negative residues for which
- (i) .
- (ii) .
Find the smallest positive primitive root modulo the prime
.
Find the smallest positive primitive root modulo .
Find the least non-negative integer for which
The vector
-
[1374123367812492240294819411451017240070232394572901767016863846,
-
839316502484928463600482820810738376821725250432320253174346182,
-
1239738327596678208340985633338387227858526317346603640791773335,
-
1786140405373535737086895440853230782772901282581414488521399167,
-
500665432788843543145295210921142588622600876314918005209142550,
-
1134791724566968592421020750873161158581657388017051854867699847,
-
2289042576082270612059353048240349198604028364564225150215042759]
represents a sequence of ASCII codes (range to ) that
has been squeezed into blocks of 30 and then encrypted by taking a
certain power modulo
It may be decrypted by using the exponent .
What string was encrypted?
Can you find the encryption exponent that is paired with
this decryption exponent?
Provide a listing of code for a Maple procedure that takes an
expression in two variables as first argument and
the variable names as second and third arguments and returns the
anonymous function of two arguments
Make sure that the code you submit works correctly.