Consider the equation Xn+1 =(3Xn+2) mod 13 given X0=1
So X1 =(3X0+2) mod 13=(3*1 +2) mod 13=5 mod 13 = 5
X2 =(3X1+2) mod 13=(3*5 +2) mod 13=17 mod 13=4
X3= (3X2+2) mod 13=(3*4 +2) mod 13=14 mod 13=1
X4= (3X3+2) mod 13=(3*1 +2) mod 13=5 mod 13=5
X5= (3X4+2) mod 13=(3*5 +2) mod 13=17 mod 13=4
X6= (3X5+2) mod 13=(3*4 +2) mod 13=14 mod 13=1
X7= (3X6+2) mod 13=(3*1 +2) mod 13=5mod 13=5
X8= (3X7+2) mod 13=(3*5 +2) mod 13=17mod 13=4
The series of number generator is 5,4,1,5,4,1,5,4
2.
A) What sequence (At least 8 sequences) of pseudorandom numbers is generated using the linear congruential...
11. What sequence of pseudorandom numbers is generated using the linear congruential generator xn +1 (4xn + 1) mod 7 with seed Xo-37 12. Encrypt the message STOP POLLUTION by translating the letters into numbers, applying the encryption function/ P)-(p + 4) mod 26, and then translating the numbers back into letters. 13. Decrypt this message encrypted using the shift cipher f (p) (p+ 10) mod 26 CEBBOXNOBXYG 14. Let P() be the statement that 12 +22 ++n2 -n-)(en+2) for...
9. Use the construction in the proof of the Chinese remainder theorem to find a solution to the system of congruences X 1 mod 2 x 2 mod 3 x 3 mod 5 x 4 mod 11 10. Use Fermats little theorem to find 712 mod 13 11. What sequence of pseudorandom numbers is generated using the linear congruential generator Xn+1 (4xn + 1) mod 7 with seed xo 3? 9. Use the construction in the proof of the Chinese...
Problem 8 (Pseudorandom Numbers). Randomly chosen numbers are often needed for computer simulations of physical phenomena, and they are needed to generate random keys for cryptography. Different methods have been devised for generating numbers that have certain properties of randomly chosen numbers. Because numbers generated by systematic methods are not truly random, they are called pseudorandom numbers. There are fundamental properties we would like the pseudorandom sequence/pseudorandom number generator to possess for cryptographic purposes. 1. It is easy to compute...
Linear Congruential Generator: Example 2 Homework. Unanswered What is the period-length of the Linear Congruential Generator Xn+1 = (2xn + 5)mod13 with seed Xo = 12 - Numeric Answer: Cannot be empty Linear Congruential Generator: Example 1 Homework. Unanswered What is the period-length of the Linear Congruential Generator Xn+1 = (2x1 +5)mod13 with seed Xo = 8? Numeric Answer:
What is the period-length of the Linear Congruential Generator Xn+1 = (2Xn + 5)mod13 with seed Xo = 8? Numeric Answer: ! Cannot be empty What is the period-length of the Linear Congruential Generator Xn+1 = (2Xn + 5)mod13 with seed Xo = 1? Numeric Answer: 1 O Cannot be empty Linear Congruential Generator: Example 2 Homework • Unanswered What is the period-length of the Linear Congruential Generator Xn+1 = (1Xn + 5)mod13 with seed Xo = 1? Numeric Answer:...
Generate 10 random numbers using the following linear congruential generator with 7 as the seed: si+1 = (5 * si + 1) mod 20.
a) b) Consider the linear congruential generator Xi41 = (5X; 1)mod(8). Using Xo 0, calculate the 99th pseudo-random number Ug9 16807 X-1 mod(231 - 1). Using Consider our "desert island" PRN generator, X; Xo 12345678, calculate X99. Consider the linear congruential generator Xi41 = (5X; 1)mod(8). Using Xo 0, calculate the 99th pseudo-random number Ug9 16807 X-1 mod(231 - 1). Using Consider our "desert island" PRN generator, X; Xo 12345678, calculate X99.
Alice is using a linear congruential generator, axi + b mod 11, to generate pseudo-random numbers. Eve sees three numbers in a row, 3, 5, 0, that are generated from Alice’s function. What are the values of a and b?
Linear Congruential Generator: Example 2 Homework. Unanswered What is the period-length of the Linear Congruential Generator Xa+1 = {2X. +5| mod13 with seed X = 12 Numeric Answer: Treap Concepts Homework. Unanswered Which of the following are true of the data structure Treap (randomized BST)? Multiple answers: Multiple answers are accepted for this question Select one or more answers and submit. For keyboard navigation... Show More a The word Treap is a hybrid of Tree and Heap Each node in...
Birthaay Paradox: Take 2 Homework. Unanswered At the end of June, a bunch of customers all having birthdays in July enter a bakery to order cakes for their July birthday celebrations. How many such customers must there be so that there is at least a 50% chance (>=.5 probability) that at least two of them were born on the same day in July (ignore the year). Assume that there are no other customers in the store and that there are...