Determine the period of the random number generator

Assignment Help Mathematics
Reference no: EM13713720

A power pseudo-random number generator is the following: start with a prime p, exponent d>1 and seed xsuch that (d,p-1)=1. Then form xn+1=xnd(mod p) for each n.

a)Determine the period of the random number generator in terms of p, d and x0.

b)Also find what is the maximum possible period for a given prime p, and what values of p and xshould be chosen to achieve this maximum.

 

Reference no: EM13713720

Questions Cloud

What is the utility of a linear model of patient care : 1. What is the utility of a linear model of patient care as the basis for a decision-support system? What are two primary limitations? Discuss two challenges that a nonlinear model poses for representing and supporting the care process in an in..
What is the utility of a linear model of patient care : 1. What is the utility of a linear model of patient care as the basis for a decision-support system? What are two primary limitations? Discuss two challenges that a nonlinear model poses for representing and supporting the care process in an in..
The lifang wu corporation manufactures two models : The Lifang Wu Corporation manufactures two models of industrial robots, the Alpha 1 and the Beta 2. The firm employs 5 technicians, working 160 hours each per month, on its assembly line. Management insists that full employment ( that is, all ..
Determine the period of the random number generator : A power pseudo-random number generator is the following: start with a prime p, exponent d>1 and seed x0 such that (d,p-1)=1. Then form xn+1=xnd(mod p) for each n. a)Determine the period of the random number generator in terms of p, d and x0.
Describe in detail the chromatographic technique : Describe in detail the chromatographic technique you would use to separated the amino acid from the digest
Use the definition of derivative to prove : Let f(x)=x^1/3 for x ?R and use the definition of derivative to prove f'(x)=1/3(x)^-2/3  for not equal to zero
What is the ksp of the salt at 25 degrees celcius : At 25 degrees celcius only 0.0640 of the generic salt AB3 is solube in 1.00L of water. What is the Ksp of the salt at 25 degrees celcius
Calculate [h+1] for each of the solutions : Calculate [H+1] for each of the following solutions and indicate whether the solution is acidic, basic or neutral.

Reviews

Write a Review

Mathematics Questions & Answers

  Define a steep mountain is inclined degree to the horizontal

A steep mountain is inclined 74 degree to the horizontal and rises 3400 ft above the surrounding plain. A cable car is to be installed that will travel from a point 910 ft from the base (along the horizontal) to the top of the mountain.

  How far is the ship from its staring point

A ship travels due west for 550 km then travels N40 degrees west. (bearing 320) For 700 km. How far is the ship from its staring point?

  What percent of this total mixture is acid

jan had a beaker that contained 104 mL of acid and 783 mL of water. What percent of this total mixture is acid?

  How fast is the enclosed area increasing at the end

Oil from a ruptured tanker spreads in a circular pattern. If the radius of the circle increases at the constant rate of 1.5 feet per second, how fast is the enclosed area increasing at the end of 2 hours?

  Illustrate this in a vector diagram

A ship travels 200km west from port and then 240km due south before it is disabled. Illustrate this in a vector diagram. Usa trigonometry to find the course that a rescue ship must take from port in order to reach the disabled ship.

  Which value is the slope and which is the y intercept

In y = mx + b, which value is the slope and which is the y intercept?

  Compute value of c that makes the equation true

Suppose that an object is 100 pounds when it is at sea level. Find the value of C that makes the equation true. (Sea level is 3,963 miles from the center of the Earth.)

  Calculating the height of the statueat a point 250 feet

calculating the height of the statue.at a point 250 feet from the base of a building the angle of elevation of the top

  What is the angle of the persons eyes to the top

A building 240 feet tall casts a 100 foot long shadow. If a person stands at the end of the shadow and looks up to the top of the building, what is the angle of the person's eyes to the top of the building (to the nearest hundredth of a degree)?

  Demonstrate that the prime factorization

Find n! For n equal to each of the first ten positive integers and use mathematical induction to prove that x - y is a factor of xn - yn, where x and y are variables.

  Write sentences describing type l and type ll errors

write sentences describing type l and type ll errors for a hypothesis test-"a hospital spoke person states that 3% of emergency room visits by college graduates are for alcohol related health problems"

  Determine the limit by evaluating the function

Determine the limit by evaluating the function for x = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 50, and 100, If an answer does not exist, enter DNE.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd