Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Engineering Mathematics Expert

1. (i) How many digits does the number 101000 have when written to base 7 ?

(ii) Use the prime number theorem to estimate the proportion of prime numbers among the positive integers up to and including those with 1000 decimal digits.

(iii) Show that arbitrarily long sequences of consecutive composite numbers exist. (Hint: Consider the sequence of integers starting at n! + 2)

2. Use Fermat's method to factorise the number n = 11111 using a speed-up based on two moduli, as follows. First, develop a speed-up scheme for the modulus m1 = 3, then develop a similar scheme independently for the modulus m2 = 8, then combine the two schemes into a single scheme. Finally, execute the algorithm using the combined scheme.

3. Make four applications of the Miller{Rabin test to the number n = 137.

For a proper application of the test, the four bases a used should be chosen independently, but for ease of calculation, use any four distinct 1-digit numbers, excluding 0 and 1, chosen from the digits in your student ID. (If your ID doesn't have enough digits to do this, pick the remaining digits arbitrarily.)

Present the results of all the modular exponentiations implied by the test, and state precisely why each base used is or is not a Miller{Rabin witness for n.

Draw whatever conclusion about the primality or compositeness of n the test permits (making the invalid assumption, however, that your bases were chosen independently).

4. Consider the quadratic congruence ax2 +bx+c ≡ 0 (mod p), where p is a prime and a, b and c are integers with p/a.

(i) Determine which quadratic congruences have solutions when p = 2. Note that in this case a = 1 and b and c have to be 0 or 1.

(ii) For the case where p is an odd prime let d = b2 - 4ac and show that the given congruence is equivalent to solving y2 ≡ d (mod p), where y = 2ax + b. Hence show that for d ≡ 0 (mod p) there is exactly one least residue solution for x, for d a quadratic residue there are two least residue solutions for x and for d a quadratic nonresidue there are no solutions for x.

(iii) Illustrate these results by considering x2 + x + 1 ≡0 (mod 7), x2 + 5x + 1 ≡ 0 (mod 7) and x2 + 3x + 1 ≡ 0 (mod 7).

5. Use the ElGamal Cryptosystem with prime p = 2591, primitive root a = 7 and c = 591.

(i) Verify that the private key is b = 99.

(ii) Choose a 3-digit number k by selecting any 3 consecutive digits from your student ID, provided that the first digit is not 0. Then use k to encode the message

x = 457.

(iii) Decode the result from (ii) to give back x.

You will probably need to use a computer to do the calculations and you should attach a copy of the output.

Engineering Mathematics, Engineering

  • Category:- Engineering Mathematics
  • Reference No.:- M9529036

Have any Question?


Related Questions in Engineering Mathematics

Analytical methods for engineers assignment - calculusthis

ANALYTICAL METHODS FOR ENGINEERS ASSIGNMENT - CALCULUS This assignment assesses Outcome - Analyse and model engineering situations and solve problems using calculus. Questions - Q1. Differentiate the following functions ...

Question suppose that g is a directed graph in class we

Question : Suppose that G is a directed graph. In class we discussed an algorithm that will determine whether a given vertex can reach every other vertex in the graph (this is the 1-to-many reachability problem). Conside ...

1 this problem concerns of the proof of the np-completeness

(1) This problem concerns of the proof of the NP-completeness of 300L a) Convert the formula F into a 300L graph b) Find a solution for the 300L instance of F and verify that it is a solution for F F = (Z 1 V Z 2 ) ^ (z ...

Problem 1given a sequence xn for 0lenle3 where x0 1 x1 1

Problem # 1: Given a sequence x(n) for 0≤n≤3, where x(0) = 1, x(1) = 1, x(2) = -1, and x(3) = 0, compute its DFT X(k). (Use DFT formula, don't use MATLAB function) Use inverse DFT and apply it on the Fourier components X ...

Question a signal starts at point x as it travels to point

Question : A signal starts at point X. As it travels to point Y, it loses 8 dB. At point Y, the signal is boosted by 10 bB. As the signal travels to point Z, it loses 7 dB. The dB strength of the signal at point Z is -5 ...

Assignment -1 let t and or 0 1 be a boolean algebradefine

Assignment - 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra. Define ∗ : T × T → T and o : T × T → T as follows: x ∗ y := (x ∨ y)' x o y := (x ∧ y)' (a) Show, using the laws of Boolean Algebra, how to define x ∗ y using on ...

Question a suppose that you are given an instance of the

Question : (a) Suppose that you are given an instance of the MST problem on a graph G, with edge weights that are all positive and distinct. Let T be the minimum spanning tree for G returned by Kruskal's algorithm. Now s ...

Question what is the signed binary sum of 1011100 and

Question : What is the signed binary sum of 1011100 and 1110101 in decimal? Show all of your work. What is the hexadecimal sum of 9A88 and 4AF6 in hexadecimal and decimal? Show all of your work.

Numerical analysis assignment -q1 define the following

Numerical Analysis Assignment - Q1. Define the following terms: (i) Truncation error (ii) Round-off error Q2. Show that if f(x) = logx, then the condition number, c(x) = |1/logx|. Hence show that log x is ill-conditioned ...

Assignment - lp problemsthe data for all the problems in

Assignment - LP problems The data for all the problems in this HW are included in the LP_problems_xlsx spreadsheet. Problem 1 - Cash Planning A startup investment project needs money to cover its cash flow needs. At the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As