hw2 - (a) Z i = (13 Z i-1 + 13)( mod 16) (b) Z i = (12 Z...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
AMS 553: Homework 2 Z i = (5 Z i + 3)( mod 16) and Z 0 = 7. Find Z 500 , using only pencil and paper. Z i for enough values of i 1 to cover an entire cycle: (a) Z i = (11 Z i - 1 )( mod 16) , Z 0 = 1 (b) Z i = (11 Z i - 1 )( mod 16) , Z 0 = 2 (c) Z i = (2 Z i - 1 )( mod 13) , Z 0 = 1 (d) Z i = (3 Z i - 1 )( mod 13) , Z 0 = 1 Note that (a) and (b) have m of the form 2 b ; (c) is a PMMLCG, for which a = 2 is a primitive element modulo m = 13. Z i ’s, determine which of the following mixed LCGs have full period:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (a) Z i = (13 Z i-1 + 13)( mod 16) (b) Z i = (12 Z i-1 + 13)( mod 16) (c) Z i = (13 Z i-1 + 12)( mod 16) (d) Z i = ( Z i-1 + 12)( mod 13) For part (d), also plot the pairs ( U 1 ,U 2 ) , ( U 2 ,U 3 ) ,... . Are there any obvious undesirable structure? 4. Without generating any Z i ’s, determine which of the following multiplicative LCGs is an PMMLCG? (a) Z i = (2 Z i-1 )( mod 19) (b) Z i = (4 Z i-1 )( mod 15) (c) Z i = (97 Z i-1 )( mod 9021)...
View Full Document

This note was uploaded on 01/31/2011 for the course AMS 553 taught by Professor Badr,h during the Spring '08 term at SUNY Stony Brook.

Ask a homework question - tutors are online