Math 2001 Homework 9: Fibonacci Sequence, Public Key Cryptography, and Rook Placements, Assignments of Discrete Mathematics

Math 2001 homework assignments for problem 1 on the period of the last digits and last two digits of the fibonacci sequence, problem 2 on rsa encryption with given public keys and encrypted numbers, and problem 3 on rook placements, including finding the number of rooks on diagonal squares, determining injectivity and surjectivity of a function, and finding an injective function. Students are required to give complete justifications for their answers.

Typology: Assignments

Pre 2010

Uploaded on 02/10/2009

koofers-user-1w7
koofers-user-1w7 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 2001: Homework 9
Due: November 5, 2008
Give complete justifications for all your answers.
Problem 1
1. The book proves that the period of the last digit in the Fibonacci sequence is 60 (Theorem
2.3.4). Use this theorem to find the period of the last two digits.
2. Give two ways to partition the set of subsets of {1,2,3,4,5}into 3 parts.
Problem 2
1. Suppose my public key is (4087,7). Suppose you want encrypt the number 100. What
number would you send me (you may wish to use a calculator)?
2. Suppose you have two primes 29 and 71 and you have chosen your public key to be
(2059,53). Suppose I send you the encrypted number 1216. What number did I send you?
(You may wish to use a calculator). Hint: I picked 53, so that the first guess for an inverse
in Z1960 should be correct.
Problem 3
Let Rnbe the set of ways to place nnon-attacking rooks on an n×nchess-board.
1. Prove that |Rn|=n! using induction.
2. Let f:RnZbe given by
f(r) = number of rooks on the diagonal squares of r, for rRn.
For example, if n= 4,
f
¯
¯
¯
¯
= 2,
where I’ve marked the diagonal squares with .
(a) What is f(Rn)?
(b) Is finjective?
(c) Is fsurjective?
(d) Is there a partition of Rndescribed by f?
3. Find an injective function g:RnZ.

Partial preview of the text

Download Math 2001 Homework 9: Fibonacci Sequence, Public Key Cryptography, and Rook Placements and more Assignments Discrete Mathematics in PDF only on Docsity!

Math 2001: Homework 9

Due: November 5, 2008

Give complete justifications for all your answers.

Problem 1

  1. The book proves that the period of the last digit in the Fibonacci sequence is 60 (Theorem

2.3.4). Use this theorem to find the period of the last two digits.

  1. Give two ways to partition the set of subsets of { 1 , 2 , 3 , 4 , 5 } into 3 parts.

Problem 2

  1. Suppose my public key is (4087, 7). Suppose you want encrypt the number 100. What

number would you send me (you may wish to use a calculator)?

  1. Suppose you have two primes 29 and 71 and you have chosen your public key to be

(2059, 53). Suppose I send you the encrypted number 1216. What number did I send you?

(You may wish to use a calculator). Hint: I picked 53, so that the first guess for an inverse

in Z 1960 should be correct.

Problem 3

Let Rn be the set of ways to place n non-attacking rooks on an n × n chess-board.

  1. Prove that |Rn| = n! using induction.
  2. Let f : Rn → Z be given by

f (r) = number of rooks on the diagonal squares of r, for r ∈ Rn.

For example, if n = 4,

f

where I’ve marked the diagonal squares with ∗.

(a) What is f (Rn)?

(b) Is f injective?

(c) Is f surjective?

(d) Is there a partition of Rn described by f?

  1. Find an injective function g : Rn → Z.