Balancing cyclic R-ary Gray codes

Size: px
Start display at page:

Download "Balancing cyclic R-ary Gray codes"

Transcription

1 Balacig cyclic R-ary Gray codes Mary Flahive Departmet of Mathematics Orego State Uiversity, Corvallis, OR 97331, USA Bella Bose School of Electrical Egieerig ad Computer Sciece Orego State Uiversity, Corvallis, OR 97331, USA Submitted: Sep 26, 2006; Accepted: Apr 17, 2007; Published: Apr 27, 2007 Mathematics Subject Classificatio: 05A99,05C45,68R10 Abstract New cyclic -digit Gray codes are costructed over {0, 1,..., R 1} for all R 3, 2. These codes have the property that the distributio of the digit chages (trasitio couts) is close to uiform: For each 2, every trasitio cout is withi R 1 of the average R /, ad for the 2-digit codes every trasitio cout is either R 2 /2 or R 2 /2. 1 Itroductio For R, 2, a -digit R-ary Gray code is a sequece i which each -digit strig with digits from the set {0, 1,..., R 1} occurs exactly oce ad ay two cosecutive strigs differ i oly oe digit ad the differece equals ±1; that is, the Lee distace equals 1, where the Lee distace betwee two -strigs is defied to be d L (a 1... a, b 1... b ) = mi{ a j b j, R a j b j }. j=1 Whe the Lee distace betwee the last ad first strigs also equals 1, the code is called cyclic. For istace, 10, 11, 01, 00 ad 20, 21, 22, 12, 02, 01, 11, 10, 00 (1) are cyclic 2-digit R-ary Gray codes, with R = 2 ad R = 3, respectively. the electroic joural of combiatorics 14 (2007), #R31 1

2 It is helpful to cosider a cyclic Gray code as a Hamiltoia cycle i the R-ary - cube, the graph whose vertices are all -strigs with digits from the set {0, 1,..., R 1} i which two vertices are adjacet if they differ i oly oe digit by ±1. Our usual represetatio of this graph will have the vertices arraged i a R 1 R array, where the first 1 digits of a vertex -strig are give by its row label ad the last digit by its colum label. Figure 1 has the Hamiltoia cycles for the cyclic Gray codes i (1). Figure 1: cyclic 2-digit R-ary Gray codes for R = 2, 3, 4. The trasitio sequece of a cyclic Gray code records the successive digit chages i the code, begiig with the chage from the first to the secod strig. For example, the trasitio sequeces for the codes i (1) are: 2, 1, 2, 1 ad 2, 2, 1, 1, 2, 1, 2, 1, 1. (2) For each 1 j, the trasitio cout T C(j) of the digit j is defied to be the umber of times j occurs as a trasitio digit i the code. For each, R there are may Gray codes, ad oe favorable characteristic for applicatios is a relative uiformity i the distributio of trasitio couts. Whe all trasitio couts are equal (this commo value must ecessarily equal R / ad must divide R ), the code is called totallybalaced or uiform. The biary ad quaterary codes i Figure 1 are totally-balaced. I [7, 10, 11] totally-balaced cyclic -digit biary codes are costructed for every which is a power of 2, but there is o published costructio of families of totally-balaced codes for arbitrary R. Oe of our results yields totally-balaced quaterary codes. (Refer to Corollary 1.) Whe R is ot divisible by, totally-balaced cyclic codes caot exist ad it is reasoable to ask for codes i which every trasitio cout is either R / or R /, a pheomeo which we will call well-balaced. Whe R is eve, the cyclicess forces every trasitio cout to be eve ad so (ulike the cyclic terary code give above i (1)) for eve R every well-balaced cyclic R-ary Gray code must be totally-balaced. I [2], the authors asked if a well-balaced (o-cyclic) -digit biary Gray code exists for every 2. Although this cotiues to be a ope questio, i [9, Chapter 3] I. the electroic joural of combiatorics 14 (2007), #R31 2

3 N. Suparta has obtaied further evidece supportig the cojecture. I Sectio 2 we costruct well-balaced 2-digit R-ary Gray codes for every R 2. The codes deped o the eve/odd parity of R, ad are produced by a atural iductive process i which well-balaced cyclic 2-digit (R + 2)-ary Gray codes are costructed from the R-ary oes. A cyclic -digit biary Gray code satisfyig T C(i) T C(j) 2 for every pair i, j, is referred to as balaced. I [2], G. S. Bhat ad C. Savage costructed balaced cyclic -digit (biary) Gray codes for every 2 whe they completed some details which remaied from the costructio of J. P. Robiso ad M. Coh [7]. I a commet added to [2], F. Ruskey oted that T. Bakos [1, pp ] had much earlier costructed balaced cyclic biary codes; more recetly I. N. Suparta [9, Sectio 3.2] has developed a elegat variat of these costructios. I each, -digit cyclic biary codes are costructed iductively, usig four ( 2)-digit biary codes. No-biary codes have bee cosidered, for example, i [3, 4, 5, 6, 8, 9], but the questio of costructig fairly uiform cyclic R-ary Gray codes for a geeral radix R > 2 has received far less attetio tha the biary case. I Sectio 3 we give a simple iductive costructio which we later use i Sectio 4 to obtai early-balaced codes; that is, codes whose trasitio couts satisfy T C(j) R < ρ for all 1 j, where ρ equals R 1 or R 2, whichever is eve. The earlier costructios of well-balaced biary codes relied o delicate combiatorial argumets, whereas our use of R / as a referece poit has the advatage of allowig simpler proofs which ivolve oly balacig iequalities. 2 Well-balaced cyclic 2-digit R-ary Codes Theorem 1. Let R 2. If there exists a cyclic 2-digit R-ary Gray code with trasitio couts R 2 /2 +a ad R 2 /2 +b for some costats a, b, the there exists a cyclic 2-digit (R + 2)-ary Gray code with trasitio couts (R + 2) 2 /2 + a ad (R + 2) 2 /2 } + b. Proof. The give cyclic R-ary code ca be ormalized so that it begis with R-1 0 ad eds with the strig 0 0. (This ca be doe because at some poit there must be cosecutive terms of the form c d ; c ± 1 d. The required form is the obtaied by traslatig ad reflectig if ecessary so that the last term is 0 0 ad the first term is R-1 0. Sice the distributio of trasitio couts remais the same uder these operatios, we may assume the origial cyclic code has this form.) Therefore, the code correspods to a Hamiltoia path from R-1 0 to 0 0 i the R-ary square to which the edge from 0 0 to R-1 0 ca be added to form a Hamiltoia cycle. Labelig the rows of the (R + 2)-ary square as R+1 R ad the colums as R+1, we first costruct a path from the vertex R+1 0 to R-1 0 by begiig with the the electroic joural of combiatorics 14 (2007), #R31 3

4 vertex R+1 0, proceedig horizotally through all vertices of the form R+1 i, from R+1 0 to R+1 R+1, ad the vertically dow to 0 R+1. From there we travel to 0 R ad cotiue by proceedig vertically upward to R R, travelig horizotally over to R 0 ad the edig with the edge to R-1 0. This iitial path covers all vertices i which at least oe compoet is either R or R+1. Its trasitio sequece is: R + 1 twos, followed by R + 1 oes, oe 2, ad the R oes, R twos ad oe 1, for a total of 2R + 2 copies of each of 1 ad 2. Attachig the give Hamiltoia path from R-1 0 to 0 0 to the ed of this iitial segmet results i a Hamiltoia path i the (R + 2)-ary square, ad the additio of the edge from 0 0 to R+1 0 results i a Hamiltoia cycle. (The quaterary code i Figure 1 was obtaied i this way from the biary code, ad the diagram i Figure 2 illustrates the geeral costructio.) Sice Figure 2: Costructio of the iitial segmet. R 2 /2 + 2R + 2 = (R + 2) 2 /2 ad R 2 /2 + 2R + 2 = (R + 2) 2 /2, the code produced is a cyclic 2-digit (R + 2)-ary Gray code with the required trasitio couts. Theorem 2. For ay R 2 there exists a cyclic 2-digit R-ary Gray code which is wellbalaced, ad so for eve R the code is totally-balaced. Proof. Cosider the statemet: For every 1 there exist well-balaced cyclic 2-digit R-ary Gray codes for R = 2 ad R = The codes give i (1) satisfy this statemet for = 1. Applicatio of Theorem 1 with a = b = 0 therefore yields the result by iductio o. the electroic joural of combiatorics 14 (2007), #R31 4

5 3 Costructig ( + 1)-digit codes from -digit codes Oe simple way to costruct a Hamiltoia path o a L R rectagular grid is to traverse successive vertices across rows; that is, 1 0, 1 1,..., 1 R 1 ; 2 R 1,..., 2 1, 2 0 etc., (3) as illustrated i Figure 3. Notice that the termial vertex is either L 1 or L R, accordig Figure 3: Our basic Hamiltoia path o the 4 5 grid. to whether L is eve or odd. Our costructio of early-balaced cyclic codes is based o a modificatio of this simple idea. The costructio ivolves partitioig the row idices of a R-ary ( + 1)- cube ito blocks. Specifically, the rows are first idexed by a fixed cyclic -digit R-ary Gray code, a 1, a 2,..., a R, ad the are partitioed ito L oempty blocks of cosecutive elemets, say B 1 := a 1,..., a i1, B 2 := a i1 +1,..., a i2,..., B L := a il 1 +1,..., a R. This idea of usig partitios is at least implicit i other published costructios, amog them [2, 6, 7, 9, 10]. The digit chages from a ik to a ik+1 will be called the coectig digits of the partitio, ad the umber of times ay digit occurs as a coectig digit will be referred to as its coectig multiplicity. For otatioal coveiece, we assume the code is i a stadard form i which the coordiates of the -strigs have bee permuted if ecessary so that 1 is the L-th coectig digit, the trasitio digit from a R to a 1. We use this partitio to costruct a Hamiltoia path i the R-ary ( + 1)-cube i the followig way: First of all, the Hamiltoia path will respect the partitio B 1... B L ; that is, for every colum idex k ad every block B j, the path must traverse the vertices a ij +1 k, a ij +2 k,..., a ij+1 k cosecutively either i that directio or i the reverse directio. This allows us to picture the ( + 1)-cube as a L R array i which the rows are idexed by the blocks B 1,..., B L. the electroic joural of combiatorics 14 (2007), #R31 5

6 Figure 4: Terary Hamiltoia paths for three ad four blocks. If R is odd, the costructio give i (3) yields a Hamiltoia path o the R-ary ( + 1)-cube (refer to Figure 4), ad whe the umber L of partitio-blocks is eve umber, the additio of the edge from a R 0 to a 1 0 results i a Hamiltoia cycle. Whe R is eve, the path ca be adjusted to get a Hamiltoia cycle o the R-ary ( + 1)-cube i the followig way: Withi the give R-ary ( + 1)-cube (with its rows labeled by the cyclic Gray code which has bee partitioed by B 1... B L ad its colums labeled R-1), cosider the R (R 1) grid cosistig of the vertices whose last digit is ozero. Sice R 1 is odd, the Hamiltoia path give i (3) ca be costructed o the blocks of this grid. Its iitial vertex is a 1 1 ad the termial vertex is either a R R-1 or a R 1, depedig o whether L is odd or eve. I either evet, the termial vertex is adjacet to a R 0. A Hamiltoia cycle o the R-ary ( + 1)-cube is obtaied by appedig this edge to the iitial path, followig through all vertices with zero secod digit i the order: a R 0, a R 1 0,..., a 1 0, ad the edig with the edge to a 1 1. This is pictured for R = 4 i Figure 5. Regardless of whether R is eve or odd, the costructio gives a cyclic ( + 1)-digit R-ary Gray code (provided the umber of partitio-blocks is eve whe R is odd). I what follows this will be referred to as the code iduced by the partitio B 1... B L. By arragig the vertices of the (biary) -cube i a grid whose rows are idexed by a ( 2)-cube ad its colums by , most kow -digit biary codes ca be see to have this kid of partitioig behavior. Whe viewed from this perspective of partitios, the combiatorial argumet for the biary costructios i [2, 7] required some restrictios o the usable partitios; for istace, at least two blocks ca have oly oe elemet. The followig result gives the distributio of trasitio couts i codes iduced by a partitio. the electroic joural of combiatorics 14 (2007), #R31 6

7 Figure 5: Costructio of cyclic 4-ary codes. Theorem 3. Let R 3 be a iteger, ad set ρ equal to either R 2 or R 1, whichever is eve. Let a 1, a 2,..., a R be ay cyclic -digit R-ary Gray code with trasitio couts T 1,..., T (where two digit positios have bee trasposed if ecessary so that the digit chage from a R to a 1 is i the first digit). Let B 1... B L be ay partitio of the code, ad k j be the coectig multiplicity of the digit j. Whe R is odd ad L is eve, the j-th trasitio cout of the iduced cyclic ( + 1)-digit Gray code is { R T j k j ρ if j T C(j) = L ρ if j = + 1. (4) Whe R is eve the trasitio couts of the iduced cyclic ( + 1)-digit Gray code are R T j k j ρ 2 if j = 1 T C(j) = R T j k j ρ if 1 < j. (5) L ρ + 2 if j = + 1 Proof. First we cosider the cotributio from the iitial Hamiltoia path. Settig N := ρ+1 (which is odd), the Hamiltoia path o the R N grid has (N-1)L horizotal lies, ad so this iitial part of the process of formig the Hamiltoia cycle accumulates (N-1)L chages i the digit + 1. Every edge withi the partitio-blocks is traversed i every colum, the edge correspodig to the coectig digit from a R to a 1 ever occurs, ad the edge correspodig to every other coectig digit occurs exactly oce. Therefore, for every 1 < j the digit j chages N (T j k j ) + k j = N T j (N 1)k j times i this iitial segmet, ad there is oe fewer chage for j=1. Whe R is odd, the cycle is completed by addig oe edge which correspods to a chage i the first digit. Sice N = R holds i this case, (4) is obtaied. the electroic joural of combiatorics 14 (2007), #R31 7

8 For eve R, two horizotal edges are added to complete the cycle, givig T C( + 1) = (N 1)L + 2 = L ρ + 2. As for additioal vertical edges, every edge i the origial code except for the oe correspodig to trasitioig from a R to a 1 is added oce. Sice the trasitio from a R to a 1 is a chage i the first digit, this gives ad for all 2 j, This proves (5). T C(1) = (R 1) T 1 (R 2)k T 1 1 = R T 1 k 1 ρ 2, T C(j) = (R 1) T j (R 2)k j + T j = R T j k j ρ. We ed this sectio with the costructio of a cyclic 3-digit terary code iduced from a partitio of the 2-digit terary code i (1). Sice R is odd, the umber of partitioblocks must be eve. Also, the digit 1 occurs more frequetly as a trasitio digit i the give 2-digit code tha 2 (refer to (2)) ad so a preferred partitio would have 1 occurrig at least as ofte as a coectig digit as 2 does. Cosider ay 4-block partitio i which 2 occurs oly oce as a coectig digit. (For istace, B 1 := {20, 21}, B 2 := {22}, B 3 := {12, 02, 01}, B 4 := {11, 10, 00} is such a partitio, sice the coectig digits are 2,1,1,1.) From (4), the iduced code has T C(1) = 9 ; T C(2) = 10 ; T C(3) = 8. It is ot totally balaced but is early-balaced sice T C(j) R / 1 holds for all j. 4 Nearly-balaced cyclic R-ary Gray Codes Lemma 1. Let R 3 be a iteger. If T is ay trasitio cout of either a well-balaced 2-digit R-ary code or a early-balaced -digit R-ary code for 3, the there exists a uique iteger k such that 0 < k < T ad 0 R T k ρ R < ρ. (6) Proof. For k := (R T R+1 )/ρ, we see that (6) is satisfied. Rearragig (6), +1 ad so 0 < k < T ca be proved by showig R T R ρ < k ρ R T R+1 + 1, R T R+1 R+1 ρ > 0 ad R T < T ρ ; the electroic joural of combiatorics 14 (2007), #R31 8

9 that is, R T R+1 R+1 ρ > 0 ad T (ρ R) > 0. (7) Cosiderig the case of a well-balaced 2-digit code, every trasitio cout T satisfies givig R T R R T R3 3 ρ R3 9R for R 3, ad sice R ρ equals 2 or 1,, > 0 T (ρ R) + R3 3 R2 + 1 ( 2) + R3 2 3 = R2 (R 3) 3 3 which is positive for all R 4. Also, for R = 3, T (ρ R) + R 3 /3 = T provig (7) for well-balaced 2-digit codes. It remais to cosider the trasitio couts of a early-balaced -digit code with 3; that is, T R < ρ, where we recall that ρ equals either R 1 or R 2, whichever is eve. The first iequality i (7) ca be easily checked for R = = 3 sice ρ = 2 ad the trasitio couts satisfy 8 T 10. Defiig a := R +1 /( + 1), we observe that for R, 3 a +1 = R ( 1 2 ) > 1, a + 2 ad so a a 3 = R 4 /12 for all 3. Sice T is a trasitio cout of a early-balaced -digit code, T R / < ρ ; T > R ρ ad ρ R 1 imply R T R ρ > R ( R ρ ) R ρ = a (R + 1)ρ a 3 (R + 1)(R 1) = R2 (R 2 12) which is positive for R 4. The first iequality has already bee proved for R = = 3. For R = 3 ad 4, we observe that a (R + 1)ρ a = > 0. This proves the first iequality i (7) for all R, 3. the electroic joural of combiatorics 14 (2007), #R31 9

10 For the secod iequality: T < ρ + R ad ρ < R give ( T (ρ R) + R > ρ + R = ρ 2 + )(ρ R) + R ( R R ) ρ R+1 ( + 1), a strictly icreasig fuctio of ρ R 2. Evaluatio at ρ = R 2 gives ( R (R 2) 2 R(R 2) + R ) = 2(R 2) + b, ( R where b := R ). We ote that b +1 b = R + 2 ( + 1)R 2( + 2) R 2( + 1) where the restrictios R 3 ad 3 imply each of the two idetified factors is greater tha 1. Therefore, b b 3 ad so 2(R 2) + b 2(R 2) + b 3 = 3R4 8R 3 24R + 48, 12 which is positive for all R 3. This proves (7) ad so the lemma. Theorem 4. For every iteger R 3 ad every 2 there exists a early-balaced cyclic -digit R-ary Gray code. Proof. Let R 3 be a fixed iteger. Sice every well-balaced code is early-balaced, Theorem 2 serves as the base case for a proof by iductio o 2. Let T 1,..., T be the trasitio couts of ay 2-digit well-balaced code or ay earlybalaced -digit code for 3. We will prove there is a partitio of this code for which the iduced cyclic ( + 1)-digit code is early-balaced. From Lemma 1 it follows that for each j = 1,..., there exists a uique iteger k j with 1 k j < T j such that satisfies S j := R T j k j ρ R (8) 0 S j < ρ. (9) Permute the coordiates of the -digit code if ecessary to obtai ρ > S 1 S 2... S 0. (10) Sice each 1 k j < T j, the digit j occurs more tha k j times as a trasitio digit i the code ad so it ca be partitioed ito L := j=1 k j blocks i such a way that each digit j occurs exactly k j times as a coectig digit. Usig (8) ad j=1 T j = R, S j = R ρ L. (11) j=1 the electroic joural of combiatorics 14 (2007), #R31 10

11 Let M := j=1 S j/ρ. The (9) implies 0 M <. (12) Also, by defiitio of M, We also ote that if the from (11) ad (9), 0 j=1 S j M ρ < ρ holds ad so (11) gives 0 R+1 ρ (L + M) < ρ. (13) + 1 S M+1 =... = S = 0, R +1 ρ (L + M) = + 1 j=1 S j M ρ = M S j M ρ < M ρ M ρ = 0, j=1 cotrary to (13). From (9) we therefore have 0 < S j < ρ for all j M + 1 ad 0 S j < ρ for all j > M + 1. (14) We distiguish two cases, accordig to whether R is odd or eve. CASE 1: R 3 is odd. We will prove there exists a refiemet of the above partitio for which the iduced ( + 1)-digit code is cyclic ad early-balaced. Sice R is odd, the umber L of partitio-blocks must be eve for the code iduced by the partitio to be cyclic. Our refiemet will have L partitio-blocks where L equals either L + M or L + M + 1, whichever is eve, ad so D := L L coectig digits will be added. Sice D equals M or M + 1 ad 1 k j < T j, by (12) 0 D ad each of the first D digits ca be chose oe more time as a coectig digit, givig L partitio-blocks with multiplicities k 1,..., k satisfyig k j = k j + 1 if j D, k j = k j if j > D. Accordig to (4), the first trasitio couts of the code iduced by this ew partitio have { T C(j) R = S j ρ if j D S j if D < j, which by (14) satisfy the early-balaced coditio. Also, the last trasitio cout is T C( + 1) = L ρ, ad (13) implies R +1 R+1 ρ < (L + M) ρ T C( + 1) (L + M + 1) ρ ρ. Therefore, the code is early-balaced uless (L + M) ρ = R +1 /( + 1), the electroic joural of combiatorics 14 (2007), #R31 11

12 which caot happe sice ρ is eve ad R is odd. This completes the proof for odd R. CASE 2: R 4 is eve. We refie the partitio by addig oe more coectig digit for each j = 2, 3,..., M + 1. This iduces a code with L + M partitio-blocks whose first trasitio digits satisfy T C(j) R = S 1 2 if j = 1 S j ρ if 1 < j M + 1 if M + 1 < j S j As i Case 1, (14) implies the early-balaced coditio for all T C(j) with j. Also, sice T C( + 1) = (L + M) ρ + 2, from (13) we have ρ 2 R+1 T C( + 1) < ρ 2 < ρ, + 1 ad so the code is early-balaced uless ρ = 2 (ad so R = 4) ad T C( + 1) = R For this special case, cosider ay modificatio of the last partitio which has oe less occurrece of 1 as a coectig digit. This chages oly the first ad last trasitio couts to T C(1) + 2 = S 1 + R+1 ad T C( + 1) ρ = T C( + 1) 2 = R , respectively, resultig i a early-balaced code. We ext apply this theorem to the case whe divides R. Corollary 1. Let R 3 ad 2 be itegers. If divides R, the there exists a cyclic -digit R-ary Gray code whose trasitio couts T C(1),..., T C() satisfy T C(j) R ρ 1 for all 1 j. (15) I particular, whe is a power of 2 there exist totally-balaced cyclic -digit quaterary Gray codes. Proof. By hypothesis, T C(j) R is a iteger, ad so the strict iequality i the defiitio of early-balaced implies (15). Whe R = 4 ad = 2 k, divides R ad so every trasitio cout of a earlybalaced cyclic -digit quaterary code is withi ρ 1 = 1 of the eve iteger 4 /. Sice the code is cyclic ad R is eve, every trasitio cout must be eve ad so must equal 4 /. We ed with a applicatio to biary codes.. the electroic joural of combiatorics 14 (2007), #R31 12

13 Corollary 2. For each 2 there exists a cyclic 2-digit biary Gray code whose T C(2i 1)+T C(2i) trasitio couts T C(1),... T C(2) are such that every average of the form 2 equals either 2 2 /(2) or 2 2 /(2). Proof. Cosider the followig mappig of elemets of Z 4 to 2-digit biary strigs: 0 00 ; 1 01 ; 2 11 ; This mappig exteds to a mappig of quaterary -strigs to biary 2-strigs uder which Lee distace is preserved. Therefore, ay cyclic -digit quaterary Gray code is mapped to a cyclic 2-digit biary Gray code, ad the trasitio couts T C(1),... T C(2) of the biary code have the property that T C(2i 1)+T C(2i) equals the trasitio cout of the digit i i the 4-ary code for every i = 1,.... Usig ay early-balaced -digit 4-ary Gray code, we therefore have T C(2i 1) + T C(2i) = T C(2i 1) + T C(2i) < 1, from the defiitio of early-balaced. Sice every trasitio cout of a cyclic biary Gray code is eve, each such average is a iteger ad the last iequality implies it must equal either 2 2 /(2) or 2 2 /(2), as claimed. Ackowledgmet: The authors are grateful to the two referees for their helpful suggestios, especially for the simplificatio of the proof of Theorem 4. Refereces [1] A. Ádám. Truth fuctios ad the problem of their realizatio by two-termial graphs. Akadémiai Kiadó, Budapest, pages [2] Girish S. Bhat ad Carla D. Savage. Balaced Gray codes. Electroic Joural of Combiatorics, 3(1):Research Paper 25, approx. 11 pp. (electroic), [3] B. Bose ad B. Broeg. Lee distace Gray codes. I Proceedigs of the Iteratioal Symposium o Iformatio Theory, [4] B. Bose, B. Broeg, Y. Kwo, ad Y. Ashir. Lee distace ad topological properties of k-ary -cubes. IEEE Trasactios o Computers, 44: , [5] Marti Coh. Affie m-ary Gray codes. Iformatio ad Cotrol, 6:70 78, [6] Doald E. Kuth. The Art of Computer Programmig, volume 4, Fascicle 2. Addiso- Wesley, [7] Joh P. Robiso ad Marti Coh. Coutig sequeces. IEEE Trasactios o Computers, 30(1):17 23, [8] Bhu Dev Sharma ad Ravider Kumar Khaa. O m-ary Gray codes. Iform. Sci., 15(1):31 43, the electroic joural of combiatorics 14 (2007), #R31 13

14 [9] I Negah Suparta. Coutig sequeces, Gray codes ad Lexicodes. PhD thesis, Delft Uiversity of Techology, [10] A. J. va Zate ad I. N. Suparta. Totally balaced ad expoetially balaced Gray codes. Discrete Aalysis ad Operatios Research, Ser. I, 11:81 98, [11] David G. Wager ad Julia West. Costructio of uiform Gray codes. Cogr. Numer., 80: , the electroic joural of combiatorics 14 (2007), #R31 14

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018 CSE 353 Discrete Computatioal Structures Sprig 08 Sequeces, Mathematical Iductio, ad Recursio (Chapter 5, Epp) Note: some course slides adopted from publisher-provided material Overview May mathematical

More information

LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES

LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES J Lodo Math Soc (2 50, (1994, 465 476 LONG SNAKES IN POWERS OF THE COMPLETE GRAPH WITH AN ODD NUMBER OF VERTICES Jerzy Wojciechowski Abstract I [5] Abbott ad Katchalski ask if there exists a costat c >

More information

Langford s Problem. Moti Ben-Ari. Department of Science Teaching. Weizmann Institute of Science.

Langford s Problem. Moti Ben-Ari. Department of Science Teaching. Weizmann Institute of Science. Lagford s Problem Moti Be-Ari Departmet of Sciece Teachig Weizma Istitute of Sciece http://www.weizma.ac.il/sci-tea/beari/ c 017 by Moti Be-Ari. This work is licesed uder the Creative Commos Attributio-ShareAlike

More information

Some Explicit Formulae of NAF and its Left-to-Right. Analogue Based on Booth Encoding

Some Explicit Formulae of NAF and its Left-to-Right. Analogue Based on Booth Encoding Vol.7, No.6 (01, pp.69-74 http://dx.doi.org/10.1457/ijsia.01.7.6.7 Some Explicit Formulae of NAF ad its Left-to-Right Aalogue Based o Booth Ecodig Dog-Guk Ha, Okyeo Yi, ad Tsuyoshi Takagi Kookmi Uiversity,

More information

Large holes in quasi-random graphs

Large holes in quasi-random graphs Large holes i quasi-radom graphs Joaa Polcy Departmet of Discrete Mathematics Adam Mickiewicz Uiversity Pozań, Polad joaska@amuedupl Submitted: Nov 23, 2006; Accepted: Apr 10, 2008; Published: Apr 18,

More information

1. By using truth tables prove that, for all statements P and Q, the statement

1. By using truth tables prove that, for all statements P and Q, the statement Author: Satiago Salazar Problems I: Mathematical Statemets ad Proofs. By usig truth tables prove that, for all statemets P ad Q, the statemet P Q ad its cotrapositive ot Q (ot P) are equivalet. I example.2.3

More information

Injections, Surjections, and the Pigeonhole Principle

Injections, Surjections, and the Pigeonhole Principle Ijectios, Surjectios, ad the Pigeohole Priciple 1 (10 poits Here we will come up with a sloppy boud o the umber of parethesisestigs (a (5 poits Describe a ijectio from the set of possible ways to est pairs

More information

Linear chord diagrams with long chords

Linear chord diagrams with long chords Liear chord diagrams with log chords Everett Sulliva Departmet of Mathematics Dartmouth College Haover New Hampshire, U.S.A. everett..sulliva@dartmouth.edu Submitted: Feb 7, 2017; Accepted: Oct 7, 2017;

More information

6.867 Machine learning, lecture 7 (Jaakkola) 1

6.867 Machine learning, lecture 7 (Jaakkola) 1 6.867 Machie learig, lecture 7 (Jaakkola) 1 Lecture topics: Kerel form of liear regressio Kerels, examples, costructio, properties Liear regressio ad kerels Cosider a slightly simpler model where we omit

More information

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS DEMETRES CHRISTOFIDES Abstract. Cosider a ivertible matrix over some field. The Gauss-Jorda elimiatio reduces this matrix to the idetity

More information

Chapter 4. Fourier Series

Chapter 4. Fourier Series Chapter 4. Fourier Series At this poit we are ready to ow cosider the caoical equatios. Cosider, for eample the heat equatio u t = u, < (4.) subject to u(, ) = si, u(, t) = u(, t) =. (4.) Here,

More information

Optimally Sparse SVMs

Optimally Sparse SVMs A. Proof of Lemma 3. We here prove a lower boud o the umber of support vectors to achieve geeralizatio bouds of the form which we cosider. Importatly, this result holds ot oly for liear classifiers, but

More information

Disjoint Systems. Abstract

Disjoint Systems. Abstract Disjoit Systems Noga Alo ad Bey Sudaov Departmet of Mathematics Raymod ad Beverly Sacler Faculty of Exact Scieces Tel Aviv Uiversity, Tel Aviv, Israel Abstract A disjoit system of type (,,, ) is a collectio

More information

Lecture 14: Graph Entropy

Lecture 14: Graph Entropy 15-859: Iformatio Theory ad Applicatios i TCS Sprig 2013 Lecture 14: Graph Etropy March 19, 2013 Lecturer: Mahdi Cheraghchi Scribe: Euiwoog Lee 1 Recap Bergma s boud o the permaet Shearer s Lemma Number

More information

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006 MATH 34 Summer 006 Elemetary Number Theory Solutios to Assigmet Due: Thursday July 7, 006 Departmet of Mathematical ad Statistical Scieces Uiversity of Alberta Questio [p 74 #6] Show that o iteger of the

More information

De Bruijn Sequences for the Binary Strings with Maximum Specified Density

De Bruijn Sequences for the Binary Strings with Maximum Specified Density De Bruij Sequeces for the Biary Strigs with Maximum Specified Desity Joe Sawada 1, Brett Steves 2, ad Aaro Williams 2 1 jsawada@uoguelph.ca School of Computer Sciece, Uiversity of Guelph, CANADA 2 brett@math.carleto.ca

More information

Resolution Proofs of Generalized Pigeonhole Principles

Resolution Proofs of Generalized Pigeonhole Principles Resolutio Proofs of Geeralized Pigeohole Priciples Samuel R. Buss Departmet of Mathematics Uiversity of Califoria, Berkeley Győrgy Turá Departmet of Mathematics, Statistics, ad Computer Sciece Uiversity

More information

THIS paper analyzes the behavior of those complex

THIS paper analyzes the behavior of those complex IAENG Iteratioal Joural of Computer Sciece 39:4 IJCS_39_4_6 Itrisic Order Lexicographic Order Vector Order ad Hammig Weight Luis Gozález Abstract To compare biary -tuple probabilities with o eed to compute

More information

# fixed points of g. Tree to string. Repeatedly select the leaf with the smallest label, write down the label of its neighbour and remove the leaf.

# fixed points of g. Tree to string. Repeatedly select the leaf with the smallest label, write down the label of its neighbour and remove the leaf. Combiatorics Graph Theory Coutig labelled ad ulabelled graphs There are 2 ( 2) labelled graphs of order. The ulabelled graphs of order correspod to orbits of the actio of S o the set of labelled graphs.

More information

A Note on the Symmetric Powers of the Standard Representation of S n

A Note on the Symmetric Powers of the Standard Representation of S n A Note o the Symmetric Powers of the Stadard Represetatio of S David Savitt 1 Departmet of Mathematics, Harvard Uiversity Cambridge, MA 0138, USA dsavitt@mathharvardedu Richard P Staley Departmet of Mathematics,

More information

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs CSE 1400 Applied Discrete Mathematics Number Theory ad Proofs Departmet of Computer Scieces College of Egieerig Florida Tech Sprig 01 Problems for Number Theory Backgroud Number theory is the brach of

More information

Alliance Partition Number in Graphs

Alliance Partition Number in Graphs Alliace Partitio Number i Graphs Lida Eroh Departmet of Mathematics Uiversity of Wiscosi Oshkosh, Oshkosh, WI email: eroh@uwoshedu, phoe: (90)44-7343 ad Ralucca Gera Departmet of Applied Mathematics Naval

More information

Week 5-6: The Binomial Coefficients

Week 5-6: The Binomial Coefficients Wee 5-6: The Biomial Coefficiets March 6, 2018 1 Pascal Formula Theorem 11 (Pascal s Formula For itegers ad such that 1, ( ( ( 1 1 + 1 The umbers ( 2 ( 1 2 ( 2 are triagle umbers, that is, The petago umbers

More information

Counting Well-Formed Parenthesizations Easily

Counting Well-Formed Parenthesizations Easily Coutig Well-Formed Parethesizatios Easily Pekka Kilpeläie Uiversity of Easter Filad School of Computig, Kuopio August 20, 2014 Abstract It is well kow that there is a oe-to-oe correspodece betwee ordered

More information

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) = AN INTRODUCTION TO SCHRÖDER AND UNKNOWN NUMBERS NICK DUFRESNE Abstract. I this article we will itroduce two types of lattice paths, Schröder paths ad Ukow paths. We will examie differet properties of each,

More information

Absolutely Harmonious Labeling of Graphs

Absolutely Harmonious Labeling of Graphs Iteratioal J.Math. Combi. Vol. (011), 40-51 Absolutely Harmoious Labelig of Graphs M.Seeivasa (Sri Paramakalyai College, Alwarkurichi-6741, Idia) A.Lourdusamy (St.Xavier s College (Autoomous), Palayamkottai,

More information

Lecture XVI - Lifting of paths and homotopies

Lecture XVI - Lifting of paths and homotopies Lecture XVI - Liftig of paths ad homotopies I the last lecture we discussed the liftig problem ad proved that the lift if it exists is uiquely determied by its value at oe poit. I this lecture we shall

More information

Polynomial identity testing and global minimum cut

Polynomial identity testing and global minimum cut CHAPTER 6 Polyomial idetity testig ad global miimum cut I this lecture we will cosider two further problems that ca be solved usig probabilistic algorithms. I the first half, we will cosider the problem

More information

Math 2784 (or 2794W) University of Connecticut

Math 2784 (or 2794W) University of Connecticut ORDERS OF GROWTH PAT SMITH Math 2784 (or 2794W) Uiversity of Coecticut Date: Mar. 2, 22. ORDERS OF GROWTH. Itroductio Gaiig a ituitive feel for the relative growth of fuctios is importat if you really

More information

Mathematical Induction

Mathematical Induction Mathematical Iductio Itroductio Mathematical iductio, or just iductio, is a proof techique. Suppose that for every atural umber, P() is a statemet. We wish to show that all statemets P() are true. I a

More information

SOME TRIBONACCI IDENTITIES

SOME TRIBONACCI IDENTITIES Mathematics Today Vol.7(Dec-011) 1-9 ISSN 0976-38 Abstract: SOME TRIBONACCI IDENTITIES Shah Devbhadra V. Sir P.T.Sarvajaik College of Sciece, Athwalies, Surat 395001. e-mail : drdvshah@yahoo.com The sequece

More information

MA131 - Analysis 1. Workbook 3 Sequences II

MA131 - Analysis 1. Workbook 3 Sequences II MA3 - Aalysis Workbook 3 Sequeces II Autum 2004 Cotets 2.8 Coverget Sequeces........................ 2.9 Algebra of Limits......................... 2 2.0 Further Useful Results........................

More information

On the Linear Complexity of Feedback Registers

On the Linear Complexity of Feedback Registers O the Liear Complexity of Feedback Registers A. H. Cha M. Goresky A. Klapper Northeaster Uiversity Abstract I this paper, we study sequeces geerated by arbitrary feedback registers (ot ecessarily feedback

More information

Math 220A Fall 2007 Homework #2. Will Garner A

Math 220A Fall 2007 Homework #2. Will Garner A Math 0A Fall 007 Homewor # Will Garer Pg 3 #: Show that {cis : a o-egative iteger} is dese i T = {z œ : z = }. For which values of q is {cis(q): a o-egative iteger} dese i T? To show that {cis : a o-egative

More information

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES Read Sectio 1.5 (pages 5 9) Overview I Sectio 1.5 we lear to work with summatio otatio ad formulas. We will also itroduce a brief overview of sequeces,

More information

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ. 2 5. Weighted umber of late jobs 5.1. Release dates ad due dates: maximimizig the weight of o-time jobs Oce we add release dates, miimizig the umber of late jobs becomes a sigificatly harder problem. For

More information

Intro to Learning Theory

Intro to Learning Theory Lecture 1, October 18, 2016 Itro to Learig Theory Ruth Urer 1 Machie Learig ad Learig Theory Comig soo 2 Formal Framework 21 Basic otios I our formal model for machie learig, the istaces to be classified

More information

Sequences. Notation. Convergence of a Sequence

Sequences. Notation. Convergence of a Sequence Sequeces A sequece is essetially just a list. Defiitio (Sequece of Real Numbers). A sequece of real umbers is a fuctio Z (, ) R for some real umber. Do t let the descriptio of the domai cofuse you; it

More information

CHAPTER 10 INFINITE SEQUENCES AND SERIES

CHAPTER 10 INFINITE SEQUENCES AND SERIES CHAPTER 10 INFINITE SEQUENCES AND SERIES 10.1 Sequeces 10.2 Ifiite Series 10.3 The Itegral Tests 10.4 Compariso Tests 10.5 The Ratio ad Root Tests 10.6 Alteratig Series: Absolute ad Coditioal Covergece

More information

Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) =

Lecture Overview. 2 Permutations and Combinations. n(n 1) (n (k 1)) = n(n 1) (n k + 1) = COMPSCI 230: Discrete Mathematics for Computer Sciece April 8, 2019 Lecturer: Debmalya Paigrahi Lecture 22 Scribe: Kevi Su 1 Overview I this lecture, we begi studyig the fudametals of coutig discrete objects.

More information

Books Recommended for Further Reading

Books Recommended for Further Reading Books Recommeded for Further Readig by 8.5..8 o 0//8. For persoal use oly.. K. P. Bogart, Itroductory Combiatorics rd ed., S. I. Harcourt Brace College Publishers, 998.. R. A. Brualdi, Itroductory Combiatorics

More information

Lecture 2. The Lovász Local Lemma

Lecture 2. The Lovász Local Lemma Staford Uiversity Sprig 208 Math 233A: No-costructive methods i combiatorics Istructor: Ja Vodrák Lecture date: Jauary 0, 208 Origial scribe: Apoorva Khare Lecture 2. The Lovász Local Lemma 2. Itroductio

More information

Pairs of disjoint q-element subsets far from each other

Pairs of disjoint q-element subsets far from each other Pairs of disjoit q-elemet subsets far from each other Hikoe Eomoto Departmet of Mathematics, Keio Uiversity 3-14-1 Hiyoshi, Kohoku-Ku, Yokohama, 223 Japa, eomoto@math.keio.ac.jp Gyula O.H. Katoa Alfréd

More information

Section 5.1 The Basics of Counting

Section 5.1 The Basics of Counting 1 Sectio 5.1 The Basics of Coutig Combiatorics, the study of arragemets of objects, is a importat part of discrete mathematics. I this chapter, we will lear basic techiques of coutig which has a lot of

More information

On Random Line Segments in the Unit Square

On Random Line Segments in the Unit Square O Radom Lie Segmets i the Uit Square Thomas A. Courtade Departmet of Electrical Egieerig Uiversity of Califoria Los Ageles, Califoria 90095 Email: tacourta@ee.ucla.edu I. INTRODUCTION Let Q = [0, 1] [0,

More information

Random Walks on Discrete and Continuous Circles. by Jeffrey S. Rosenthal School of Mathematics, University of Minnesota, Minneapolis, MN, U.S.A.

Random Walks on Discrete and Continuous Circles. by Jeffrey S. Rosenthal School of Mathematics, University of Minnesota, Minneapolis, MN, U.S.A. Radom Walks o Discrete ad Cotiuous Circles by Jeffrey S. Rosethal School of Mathematics, Uiversity of Miesota, Mieapolis, MN, U.S.A. 55455 (Appeared i Joural of Applied Probability 30 (1993), 780 789.)

More information

Weakly Connected Closed Geodetic Numbers of Graphs

Weakly Connected Closed Geodetic Numbers of Graphs Iteratioal Joural of Mathematical Aalysis Vol 10, 016, o 6, 57-70 HIKARI Ltd, wwwm-hikaricom http://dxdoiorg/101988/ijma01651193 Weakly Coected Closed Geodetic Numbers of Graphs Rachel M Pataga 1, Imelda

More information

The Rand and block distances of pairs of set partitions

The Rand and block distances of pairs of set partitions The Rad ad block distaces of pairs of set partitios Frak Ruskey 1 ad Jeifer Woodcock 1 Dept. of Computer Sciece, Uiversity of Victoria, CANADA Abstract. The Rad distaces of two set partitios is the umber

More information

The multiplicative structure of finite field and a construction of LRC

The multiplicative structure of finite field and a construction of LRC IERG6120 Codig for Distributed Storage Systems Lecture 8-06/10/2016 The multiplicative structure of fiite field ad a costructio of LRC Lecturer: Keeth Shum Scribe: Zhouyi Hu Notatios: We use the otatio

More information

De Bruijn Sequences for the Binary Strings with Maximum Density

De Bruijn Sequences for the Binary Strings with Maximum Density De Bruij Sequeces for the Biary Strigs with Maximum Desity Joe Sawada 1, Brett Steves 2, ad Aaro Williams 2 1 jsawada@uoguelph.ca School of Computer Sciece, Uiversity of Guelph, CANADA 2 brett@math.carleto.ca

More information

Application to Random Graphs

Application to Random Graphs A Applicatio to Radom Graphs Brachig processes have a umber of iterestig ad importat applicatios. We shall cosider oe of the most famous of them, the Erdős-Réyi radom graph theory. 1 Defiitio A.1. Let

More information

Research Article A New Second-Order Iteration Method for Solving Nonlinear Equations

Research Article A New Second-Order Iteration Method for Solving Nonlinear Equations Abstract ad Applied Aalysis Volume 2013, Article ID 487062, 4 pages http://dx.doi.org/10.1155/2013/487062 Research Article A New Secod-Order Iteratio Method for Solvig Noliear Equatios Shi Mi Kag, 1 Arif

More information

TEACHER CERTIFICATION STUDY GUIDE

TEACHER CERTIFICATION STUDY GUIDE COMPETENCY 1. ALGEBRA SKILL 1.1 1.1a. ALGEBRAIC STRUCTURES Kow why the real ad complex umbers are each a field, ad that particular rigs are ot fields (e.g., itegers, polyomial rigs, matrix rigs) Algebra

More information

Pell and Lucas primes

Pell and Lucas primes Notes o Number Theory ad Discrete Mathematics ISSN 30 532 Vol. 2, 205, No. 3, 64 69 Pell ad Lucas primes J. V. Leyedekkers ad A. G. Shao 2 Faculty of Sciece, The Uiversity of Sydey NSW 2006, Australia

More information

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis

Recursive Algorithms. Recurrences. Recursive Algorithms Analysis Recursive Algorithms Recurreces Computer Sciece & Egieerig 35: Discrete Mathematics Christopher M Bourke cbourke@cseuledu A recursive algorithm is oe i which objects are defied i terms of other objects

More information

The Random Walk For Dummies

The Random Walk For Dummies The Radom Walk For Dummies Richard A Mote Abstract We look at the priciples goverig the oe-dimesioal discrete radom walk First we review five basic cocepts of probability theory The we cosider the Beroulli

More information

A NOTE ON INVARIANT SETS OF ITERATED FUNCTION SYSTEMS

A NOTE ON INVARIANT SETS OF ITERATED FUNCTION SYSTEMS Acta Math. Hugar., 2007 DOI: 10.1007/s10474-007-7013-6 A NOTE ON INVARIANT SETS OF ITERATED FUNCTION SYSTEMS L. L. STACHÓ ad L. I. SZABÓ Bolyai Istitute, Uiversity of Szeged, Aradi vértaúk tere 1, H-6720

More information

P. Z. Chinn Department of Mathematics, Humboldt State University, Arcata, CA

P. Z. Chinn Department of Mathematics, Humboldt State University, Arcata, CA RISES, LEVELS, DROPS AND + SIGNS IN COMPOSITIONS: EXTENSIONS OF A PAPER BY ALLADI AND HOGGATT S. Heubach Departmet of Mathematics, Califoria State Uiversity Los Ageles 55 State Uiversity Drive, Los Ageles,

More information

Problem Set 2 Solutions

Problem Set 2 Solutions CS271 Radomess & Computatio, Sprig 2018 Problem Set 2 Solutios Poit totals are i the margi; the maximum total umber of poits was 52. 1. Probabilistic method for domiatig sets 6pts Pick a radom subset S

More information

Davenport-Schinzel Sequences and their Geometric Applications

Davenport-Schinzel Sequences and their Geometric Applications Advaced Computatioal Geometry Sprig 2004 Daveport-Schizel Sequeces ad their Geometric Applicatios Prof. Joseph Mitchell Scribe: Mohit Gupta 1 Overview I this lecture, we itroduce the cocept of Daveport-Schizel

More information

Beurling Integers: Part 2

Beurling Integers: Part 2 Beurlig Itegers: Part 2 Isomorphisms Devi Platt July 11, 2015 1 Prime Factorizatio Sequeces I the last article we itroduced the Beurlig geeralized itegers, which ca be represeted as a sequece of real umbers

More information

David Vella, Skidmore College.

David Vella, Skidmore College. David Vella, Skidmore College dvella@skidmore.edu Geeratig Fuctios ad Expoetial Geeratig Fuctios Give a sequece {a } we ca associate to it two fuctios determied by power series: Its (ordiary) geeratig

More information

Fortgeschrittene Datenstrukturen Vorlesung 11

Fortgeschrittene Datenstrukturen Vorlesung 11 Fortgeschrittee Datestruture Vorlesug 11 Schriftführer: Marti Weider 19.01.2012 1 Succict Data Structures (ctd.) 1.1 Select-Queries A slightly differet approach, compared to ra, is used for select. B represets

More information

CHAPTER I: Vector Spaces

CHAPTER I: Vector Spaces CHAPTER I: Vector Spaces Sectio 1: Itroductio ad Examples This first chapter is largely a review of topics you probably saw i your liear algebra course. So why cover it? (1) Not everyoe remembers everythig

More information

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence

Chapter 3. Strong convergence. 3.1 Definition of almost sure convergence Chapter 3 Strog covergece As poited out i the Chapter 2, there are multiple ways to defie the otio of covergece of a sequece of radom variables. That chapter defied covergece i probability, covergece i

More information

CIS Spring 2018 (instructor Val Tannen)

CIS Spring 2018 (instructor Val Tannen) CIS 160 - Sprig 2018 (istructor Val Tae) Lecture 5 Thursday, Jauary 25 COUNTING We cotiue studyig how to use combiatios ad what are their properties. Example 5.1 How may 8-letter strigs ca be costructed

More information

Compositions of Random Functions on a Finite Set

Compositions of Random Functions on a Finite Set Compositios of Radom Fuctios o a Fiite Set Aviash Dalal MCS Departmet, Drexel Uiversity Philadelphia, Pa. 904 ADalal@drexel.edu Eric Schmutz Drexel Uiversity ad Swarthmore College Philadelphia, Pa., 904

More information

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + 62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of

More information

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016 subcaptiofot+=small,labelformat=pares,labelsep=space,skip=6pt,list=0,hypcap=0 subcaptio ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, /6/06. Self-cojugate Partitios Recall that, give a partitio λ, we may

More information

ACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory

ACO Comprehensive Exam 9 October 2007 Student code A. 1. Graph Theory 1. Graph Theory Prove that there exist o simple plaar triagulatio T ad two distict adjacet vertices x, y V (T ) such that x ad y are the oly vertices of T of odd degree. Do ot use the Four-Color Theorem.

More information

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016

18th Bay Area Mathematical Olympiad. Problems and Solutions. February 23, 2016 18th Bay Area Mathematical Olympiad February 3, 016 Problems ad Solutios BAMO-8 ad BAMO-1 are each 5-questio essay-proof exams, for middle- ad high-school studets, respectively. The problems i each exam

More information

On Some Properties of Digital Roots

On Some Properties of Digital Roots Advaces i Pure Mathematics, 04, 4, 95-30 Published Olie Jue 04 i SciRes. http://www.scirp.org/joural/apm http://dx.doi.org/0.436/apm.04.46039 O Some Properties of Digital Roots Ilha M. Izmirli Departmet

More information

Section 4.3. Boolean functions

Section 4.3. Boolean functions Sectio 4.3. Boolea fuctios Let us take aother look at the simplest o-trivial Boolea algebra, ({0}), the power-set algebra based o a oe-elemet set, chose here as {0}. This has two elemets, the empty set,

More information

arxiv: v1 [math.mg] 29 Nov 2018

arxiv: v1 [math.mg] 29 Nov 2018 AN EXTREMAL PROBLEM OF REGULAR SIMPLICES THE HIGHER-DIMENSIONAL CASE ÁKOS GHORVÁTH arxiv:99v [mathmg] 9 Nov Abstract The ew result of this paper coected with the followig problem: Cosider a supportig hyperplae

More information

Equivalence Between An Approximate Version Of Brouwer s Fixed Point Theorem And Sperner s Lemma: A Constructive Analysis

Equivalence Between An Approximate Version Of Brouwer s Fixed Point Theorem And Sperner s Lemma: A Constructive Analysis Applied Mathematics E-Notes, 11(2011), 238 243 c ISSN 1607-2510 Available free at mirror sites of http://www.math.thu.edu.tw/ame/ Equivalece Betwee A Approximate Versio Of Brouwer s Fixed Poit Theorem

More information

Rank Modulation with Multiplicity

Rank Modulation with Multiplicity Rak Modulatio with Multiplicity Axiao (Adrew) Jiag Computer Sciece ad Eg. Dept. Texas A&M Uiversity College Statio, TX 778 ajiag@cse.tamu.edu Abstract Rak modulatio is a scheme that uses the relative order

More information

COMMON FIXED POINT THEOREMS VIA w-distance

COMMON FIXED POINT THEOREMS VIA w-distance Bulleti of Mathematical Aalysis ad Applicatios ISSN: 1821-1291, URL: http://www.bmathaa.org Volume 3 Issue 3, Pages 182-189 COMMON FIXED POINT THEOREMS VIA w-distance (COMMUNICATED BY DENNY H. LEUNG) SUSHANTA

More information

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime. MATH 324 Summer 200 Elemetary Number Theory Solutios to Assigmet 2 Due: Wedesday July 2, 200 Questio [p 74 #6] Show that o iteger of the form 3 + is a prime, other tha 2 = 3 + Solutio: If 3 + is a prime,

More information

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4.

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4. 4. BASES I BAACH SPACES 39 4. BASES I BAACH SPACES Sice a Baach space X is a vector space, it must possess a Hamel, or vector space, basis, i.e., a subset {x γ } γ Γ whose fiite liear spa is all of X ad

More information

Algorithm of Superposition of Boolean Functions Given with Truth Vectors

Algorithm of Superposition of Boolean Functions Given with Truth Vectors IJCSI Iteratioal Joural of Computer Sciece Issues, Vol 9, Issue 4, No, July ISSN (Olie: 694-84 wwwijcsiorg 9 Algorithm of Superpositio of Boolea Fuctios Give with Truth Vectors Aatoly Plotikov, Aleader

More information

Squares in Binary Partial Words

Squares in Binary Partial Words Squares i Biary Partial Words F. Blachet-Sadri 1, Yag Jiao, ad Joh M. Machacek 3 1 Departmet of Computer Sciece, Uiversity of North Carolia, P.O. Box 6170, Greesboro, NC 740 6170, USA, Departmet of Mathematics,

More information

4.1 Sigma Notation and Riemann Sums

4.1 Sigma Notation and Riemann Sums 0 the itegral. Sigma Notatio ad Riema Sums Oe strategy for calculatig the area of a regio is to cut the regio ito simple shapes, calculate the area of each simple shape, ad the add these smaller areas

More information

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function.

It is always the case that unions, intersections, complements, and set differences are preserved by the inverse image of a function. MATH 532 Measurable Fuctios Dr. Neal, WKU Throughout, let ( X, F, µ) be a measure space ad let (!, F, P ) deote the special case of a probability space. We shall ow begi to study real-valued fuctios defied

More information

Pattern Occurrence in the Dyadic Expansion of Square Root of Two and an Analysis of Pseudorandom Number Generators

Pattern Occurrence in the Dyadic Expansion of Square Root of Two and an Analysis of Pseudorandom Number Generators Patter Occurrece i the Dyadic Expasio of Square Root of Two ad a Aalysis of Pseudoradom Number Geerators Koji Nuida arxiv:0909.3388v1 [math.co] 18 Sep 2009 Research Ceter for Iformatio Security (RCIS),

More information

Induction: Solutions

Induction: Solutions Writig Proofs Misha Lavrov Iductio: Solutios Wester PA ARML Practice March 6, 206. Prove that a 2 2 chessboard with ay oe square removed ca always be covered by shaped tiles. Solutio : We iduct o. For

More information

Infinite Sequences and Series

Infinite Sequences and Series Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet

More information

PAijpam.eu ON TENSOR PRODUCT DECOMPOSITION

PAijpam.eu ON TENSOR PRODUCT DECOMPOSITION Iteratioal Joural of Pure ad Applied Mathematics Volume 103 No 3 2015, 537-545 ISSN: 1311-8080 (prited versio); ISSN: 1314-3395 (o-lie versio) url: http://wwwijpameu doi: http://dxdoiorg/1012732/ijpamv103i314

More information

Chapter 6 Infinite Series

Chapter 6 Infinite Series Chapter 6 Ifiite Series I the previous chapter we cosidered itegrals which were improper i the sese that the iterval of itegratio was ubouded. I this chapter we are goig to discuss a topic which is somewhat

More information

Commutativity in Permutation Groups

Commutativity in Permutation Groups Commutativity i Permutatio Groups Richard Wito, PhD Abstract I the group Sym(S) of permutatios o a oempty set S, fixed poits ad trasiet poits are defied Prelimiary results o fixed ad trasiet poits are

More information

7. Modern Techniques. Data Encryption Standard (DES)

7. Modern Techniques. Data Encryption Standard (DES) 7. Moder Techiques. Data Ecryptio Stadard (DES) The objective of this chapter is to illustrate the priciples of moder covetioal ecryptio. For this purpose, we focus o the most widely used covetioal ecryptio

More information

Math 216A Notes, Week 5

Math 216A Notes, Week 5 Math 6A Notes, Week 5 Scribe: Ayastassia Sebolt Disclaimer: These otes are ot early as polished (ad quite possibly ot early as correct) as a published paper. Please use them at your ow risk.. Thresholds

More information

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018) Radomized Algorithms I, Sprig 08, Departmet of Computer Sciece, Uiversity of Helsiki Homework : Solutios Discussed Jauary 5, 08). Exercise.: Cosider the followig balls-ad-bi game. We start with oe black

More information

A CAT Algorithm for Generating Permutations with a Fixed Number of Inversions

A CAT Algorithm for Generating Permutations with a Fixed Number of Inversions A CAT Algorithm for Geeratig Permutatios with a Fixed Number of Iversios Scott Effler Frak Ruskey Departmet of Computer Sciece, Uiversity of Victoria, Caada Abstract We develop a costat amortized time

More information

Complex Analysis Spring 2001 Homework I Solution

Complex Analysis Spring 2001 Homework I Solution Complex Aalysis Sprig 2001 Homework I Solutio 1. Coway, Chapter 1, sectio 3, problem 3. Describe the set of poits satisfyig the equatio z a z + a = 2c, where c > 0 ad a R. To begi, we see from the triagle

More information

Mathematical Foundations -1- Sets and Sequences. Sets and Sequences

Mathematical Foundations -1- Sets and Sequences. Sets and Sequences Mathematical Foudatios -1- Sets ad Sequeces Sets ad Sequeces Methods of proof 2 Sets ad vectors 13 Plaes ad hyperplaes 18 Liearly idepedet vectors, vector spaces 2 Covex combiatios of vectors 21 eighborhoods,

More information

A representation approach to the tower of Hanoi problem

A representation approach to the tower of Hanoi problem Uiversity of Wollogog Research Olie Departmet of Computig Sciece Workig Paper Series Faculty of Egieerig ad Iformatio Scieces 98 A represetatio approach to the tower of Haoi problem M. C. Er Uiversity

More information

Journal of Multivariate Analysis. Superefficient estimation of the marginals by exploiting knowledge on the copula

Journal of Multivariate Analysis. Superefficient estimation of the marginals by exploiting knowledge on the copula Joural of Multivariate Aalysis 102 (2011) 1315 1319 Cotets lists available at ScieceDirect Joural of Multivariate Aalysis joural homepage: www.elsevier.com/locate/jmva Superefficiet estimatio of the margials

More information

Feedback in Iterative Algorithms

Feedback in Iterative Algorithms Feedback i Iterative Algorithms Charles Byre (Charles Byre@uml.edu), Departmet of Mathematical Scieces, Uiversity of Massachusetts Lowell, Lowell, MA 01854 October 17, 2005 Abstract Whe the oegative system

More information

Bertrand s Postulate

Bertrand s Postulate Bertrad s Postulate Lola Thompso Ross Program July 3, 2009 Lola Thompso (Ross Program Bertrad s Postulate July 3, 2009 1 / 33 Bertrad s Postulate I ve said it oce ad I ll say it agai: There s always a

More information

1 of 7 7/16/2009 6:06 AM Virtual Laboratories > 6. Radom Samples > 1 2 3 4 5 6 7 6. Order Statistics Defiitios Suppose agai that we have a basic radom experimet, ad that X is a real-valued radom variable

More information