(4) Pollard's p - 1 factorization algorithm (4 pts each) This algorithm seeks to find factors...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
(4) Pollard's p - 1 factorization algorithm (4 pts each) This algorithm seeks to find factors of a composite integer N. We only consider the case when N is a product of two odd primes p and q. As discussed in class, this algorithm can be useful if p-1 has only (relatively) small prime factors, whereas q- 1 has at least one (relatively large) prime factor. The algorithm is as follows: (1) Fix an integer B> 1, and choose an integer a = ao > 1 (start with a = 2). (2) For j = 1,..., B, compute a = a1 (N) and check if 1 < gcd(a,-1, N) < N. If so, you have found a factor of N. (3) If no non-trivial factor has been found in (2), start over with a different a (and maybe with a different B). (i) Find a factor of N = 1739. (ii) Find a factor of N = 34571. (iii) Find a factor of N = 220459. Show your work, i.e., explain which a and B you have chosen, and for which j you have obtained a non-trivial factor. Hint. B-8 should be sufficient in all those cases. (4) Pollard's p - 1 factorization algorithm (4 pts each) This algorithm seeks to find factors of a composite integer N. We only consider the case when N is a product of two odd primes p and q. As discussed in class, this algorithm can be useful if p-1 has only (relatively) small prime factors, whereas q- 1 has at least one (relatively large) prime factor. The algorithm is as follows: (1) Fix an integer B> 1, and choose an integer a = ao > 1 (start with a = 2). (2) For j = 1,..., B, compute a = a1 (N) and check if 1 < gcd(a,-1, N) < N. If so, you have found a factor of N. (3) If no non-trivial factor has been found in (2), start over with a different a (and maybe with a different B). (i) Find a factor of N = 1739. (ii) Find a factor of N = 34571. (iii) Find a factor of N = 220459. Show your work, i.e., explain which a and B you have chosen, and for which j you have obtained a non-trivial factor. Hint. B-8 should be sufficient in all those cases.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Write an alternative definition that is tail-recursive (iterative) and makes use of accumulator variables. [10 marks] Explain why your alternative definition executes more efficiently. [3 marks] 1...
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
discusses how a reseller can service both a consumer and an industrial market from the same store location. Provide an example of a retailer and detail the differences in their marketing activities.
-
During the past couple of decades, colleges and universities have tried to increase their numbers of minority students by various forms of affirmative action. At Campus X, this has led to controversy...
-
Five nonactivist monetary proposals include a constant-money-growth rate rule, a predetermined-money-growth-rate rule, the Taylor rule, inflation targeting, and nominal GDP targeting 1. Explain why...
-
What is a System Sustainment Concept? Identify examples of its UCs.
-
Madson Corporations balance sheet at December 31, 2013, is presented below. During January 2014, the following transactions occurred. Madson uses the perpetual inventory method. Jan. 1 Madson...
-
Give some examples of how restaurants or hotels use the concepts of demand elasticity, price discrimination, yield management, or price bundling in their pricing strategy?
-
Imagine that you are Magna's new corporate controller and answer the following: 1. Describe Magna's strategy in terms of how it competes for customers. 2. Based on Magna's strategy and the data...
-
The euro exchange rate is $1.25/euro. The continuously compounded dollar interest rate it 5% and the continuously compounded euro in- terest rate is 4%. Suppose that you borrow euros and lend dollars...
-
Steve and Brenda Edwards, both graduate students, moved into an apartment near the university. Brenda wants to buy renters insurance, but Steve thinks they dont need it because their furniture isnt...
-
The file named Baseball96.xlsx gives the runs scored, singles, doubles, triples, home runs, and bases stolen for each Major League Baseball team during the 1996 season. Use this data to determine the...
-
Sketch the magnitude and direction of the heat flux under the ground driven by annual temperature variations as a function of depth for the four times of the year shown in Figure. 25 20E midsummer 15...
-
Create a Ts diagram for Problem 9.125 using the NIST software plotting capability. Your sketch should show the following: A. The vapor dome B. Constant-temperature lines (isotherms) for 10, 20, 95,...
-
a) Use the SRK equation of state to calculate the saturation pressure of ethane at 58.5 C. b) Use the SRK equation to construct the PV graph of ethane. Show isotherms at T = 58.5 K and T = T c .
-
Organizations have a vital need for quality information. Discuss how the following database roles relate to each other. (a) Data Administrator (b) Database Administrator (c) Database Designer (d)...
-
What is a manufacturing system?
-
Estimate the reactor volumes of the two CSTRs and the PFR shown in the photo in Figure 2-9. Figure 2-9
-
Below in Figure P18-11b are two COMSOL simulations for a laminar-flow reactor with heat effects: Run 1 and Run 2. The following figures show the cross section plot of concentration for species A at...
-
You work in the customer relations department of a company that makes plumbing supplies. The head of product development has just handed you the draft of installation instructions for a sliding tub...
-
Form small groups for this exercise on claim and adjustment letters. Have each member of your group study the following two letters. Meet and discuss your reactions to the two letters. How...
-
Study the excerpt from the Micron data flyer (2010, p. 9). Describe the designers use of alignment as a design principle. How effective is it? How would you modify it? Present your analysis and...
Study smarter with the SolutionInn App