De Bruijn Sequences for the Binary Strings with Maximum Specified Density

Size: px
Start display at page:

Download "De Bruijn Sequences for the Binary Strings with Maximum Specified Density"

Transcription

1 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 Departmet of Mathematics ad Statistics, Carleto Uiversity, CANADA 3 haro@uvic.ca Departmet of Mathematics ad Statistics, Carleto Uiversity, CANADA Abstract. A de Bruij sequece is a circular biary strig of legth 2 that cotais each biary strig of legth exactly oce as a substrig. A maximum-desity de Bruij sequece is a circular biary strig of legth 0) + 1) + 2) + + m) that cotais each biary strig of legth with desity umber of 1s) betwee 0 ad m, iclusively. I this paper we efficietly geerate maximum-desity de Bruij sequeces for all values of ad m. Whe = 2m + 1 our result gives a complemet-free de Bruij sequece which is a circular biary strig of legth 2 1 that cotais each biary strig of legth or its complemet exactly oce as a substrig. Keywords: de Bruij sequece, fixed-desity de Bruij sequece, Gray codes, ecklaces, Lydo words, cool-lex order 1 Itroductio Let B) be the set of biary strigs of legth. The desity of a biary strig is its umber of 1s. Let B d ) be the subset of B) whose strigs have desity d. Let B,m) = B 0 ) B 1 ) B m ) be subset of B) whose strigs have desity at most m. A de Bruij sequece or de Bruij cycle) is a circular biary strig of legth 2 that cotais each strig i B) exactly oce as a substrig [2]. De Bruij sequeces were itroduced by de Bruij [2] ad see earlier [3]) ad have may geeralizatios, variatios, ad applicatios. For example, oe ca refer to the recetly published proceedigs of the Geeralizatios o de Bruij Sequeces ad Gray Codes workshop [6]. I this paper we cosider a ew geeralizatio of de Bruij sequeces that specifies the maximum desity of the substrigs. A maximum-desity de Bruij sequece is a biary strig of legth ) 0 + ) 1 + ) ) m that cotais each strig i B,m) exactly oce as a substrig. For example, is a maximum-desity de Bruij sequece sice its 16 substrigs of legth 5 icludig those that wrap-aroud ) are precisely B5, 3). Our mai results are 1) a explicit costructio of maximumdesity de Bruij sequeces for all values of ad m, ad 2) a efficiet algorithm that geerates these de Bruij sequeces. We make four simple observatios ivolvig maximum-desity de Bruij sequeces for B, m): 1. A maximum-desity de Bruij sequece is simply a de Bruij sequece whe = m. 2. Complemetig each bit i a maximum-desity de Bruij sequece results i a miimum-desity de Bruij sequece for the biary strigs of legth whose desity is at least m. 3. A maximum-desity de Bruij sequece is acomplemet-free de Bruij sequece whe = 2m + 1. This is because each biary strigs of legth either has desity at most m or has desity at least m. Research supported i part by NSERC

2 4. Reversig the order of the bits i a maximum-desity de Bruij sequece simply gives aother maximum-desity de Bruij sequece for the same values of ad m. It is easier to describe our sequeces i oe order, ad the geerate them i the reverse order. Sectio 2 provides backgroud results. Sectio 3 describes our costructio ad proves its correctess. Sectio 4 provides a algorithm that geerates our costructio ad aalyzes its efficiecy. 2 Backgroud A ecklace is a biary strig i its lexicographically smallest rotatio. The ecklaces over B) ad B d ) are deoted N) ad N d ), respectively. The aperiodic prefix of a strig α = a 1 a 2 a is its shortest prefix ρα) = a 1 a 2 a k such that ρα) /k = α. As is customary, the previous expressio uses expoetiatio to refer to repeated cocateatio. Observe that if ρα) = k, the α has k distict rotatios. For example, ρ ) = ad is a ecklace sice it is lexicographically smaller tha its other four distict rotatios , , , ad A ecklace α is aperiodic if ρα) = α. Oe of the most importat results i the study of de Bruij sequeces is due to Fredrickse, Kessler ad Maioraa [4, 5] also see Kuth [7]). These authors proved that a de Bruij sequece for B) ca be costructed by cocateatig the aperiodic prefixes of the strigs i N) i lexicographic order. For example, the lexicographic order of N6) is , , , , , , , , , , , , , ) ad so the followig is a de Bruij sequece for B6), where visually separates the aperiodic prefixes from 1) i the cocateatio ) Although 2) is writte liearly, we treat it as a circular strig so that its substrigs ca wraparoud from the ed to the begiig. Iterestigly, 2) is also the lexicographically smallest de Bruij sequece for B6) whe writte liearly). Subsequet aalysis by Ruskey, Savage, ad Wag [8] proved that these lexicographically smallest de Bruij sequeces ca be geerated efficietly for all values of. Recetly, it was show that this ecklace-prefix algorithm ca be modified to create a restricted type of de Bruij sequece. Reverse cool-lex order is a variatio of co-lexicographic order that was first defied for B d ) by Ruskey ad Williams [11], ad has sice bee geeralized to subsets of B d ) icludig N d ) by Ruskey, Sawada, Williams [10]. I this paper we let cool d ) deote the reverse cool-lex order of N d ). The order for = 8 ad d = 4 appears below cool 4 8) = , , , , , , , , , ) Let db d ) deote the cocateatio of the aperiodic prefixes of cool d + 1). For example, the cocateatio of the aperiodic prefixes of 3) gives the followig db 4 7) = )

3 Observe that the circular strig i 4) cotais each strig i B 3 7) B 4 7) exactly oce as a substrig, ad has o other substrigs of legth 7. For this reaso we describe it as a dual-desity de Bruij sequece for B 3 7) B 4 7) i this paper 4. More geerally, Ruskey, Sawada, ad Williams [9] proved the followig result. Theorem 1. [9] The circular strig db d ) is a dual-desity de Bruij sequece for B d 1 ) B d ) whe 1 < d <. I this paper we do ot eed to completely uderstad the proof of Theorem 1, but we do eed a simple property for its dual-desity de Bruij sequeces. I other words, we eed to treat each db d ) as a gray box. The specific property we eed is stated i the followig simple lemma ivolvig reverse cool-lex order. This lemma follows immediately from equatio 5.1) i [9]. Lemma 1. [9] If N d ) cotais at least three ecklaces, the the first ecklace i cool d + 1) is 0 d+1 1 d, ad the secod ecklace i cool d + 1) is 0 d 1 d 1 01, ad the last ecklace i cool d + 1) is 0 x 10 y 1 d 1 where x = + 1 d)/2 ad y = + 1 d)/2. Moreover, each of the ecklaces give above are distict from oe aother ad are aperiodic. I Sectio 3 we will be takig apart the dual-desity de Bruij sequece db d ) aroud the locatio of the ecklace 0 d+1 1 d from cool d + 1). For this reaso we make two auxiliary defiitios. Let cool d+1) equal cool d +1) except that the first ecklace 0 d+1 1 d omitted. Similarly, let db d) be the cocateatio of the aperiodic prefixes of cool d + 1). For example, we will be splittig db 4 7) i 4) ito ad db 47) = Costructio I this sectio we defie a circular strig db,m) of legth 1 + 1) + 2) + + m). The we prove that db,m) is a maximum-desity de Bruij sequece for B,m) i Theorem 2. { m+1 1 m db m) db 4) db 2) if m is eve 5a) db,m) = m+1 1 m db m) db 5) db 3) if m is odd 5b) Table 1 provides examples of db,m) whe = 7. To uderstad 5), observe that db,m) is obtaied by splicig together the dual-desity de Bruij sequeces db d +1) = 0 d+1 1 d db d+1) for d = 0,2,4,...,m i 5a) or d = 1,3,5,...,m i 5b). I particular, db 0 + 1) = 0 is the aperiodic prefix of 0 +1 o the left side of 5a), ad the empty db 0) ad db 1) are omitted from the right sides of 5a) ad 5b), respectively. For the order of the splicig, observe that db m ) = 0 m+1 1 m db m) appears cosecutively i db,m). That is, db,m) = db m ). More specifically, db,m) is obtaied by isertig db m ) ito the portio of db,m 2) that cotais db m 2 ). To be precise, db m ) is iserted betwee the first ad secod ecklaces of cool m 2 + 1). That is, db,m) = 0 m+3 1 m 2 }{{} first i cool m 2 +1) db m ) 0 m+2 1 m 3 01 }{{} secod i cool m 2 +1).

4 Cool-lex orders Maximum-desity sequeces eve desities) db7, 2) db7, 4) db7, 6) cool 28) cool 28) cool 48) cool 48) Cool-lex orders Maximum-desity sequeces odd desities) db7, 1) db7, 3) db7, 5) db7, 7) cool 38) cool 28) cool 58) cool 48) cool 68) cool 68) cool 78) cool 68) Table 1. Maximum-desity de Bruij sequeces costructed from cool-lex order of ecklaces whe = 7 ad m > 0. For example, db7, 2) = Theorem 2. The circular strig db,m) is a maximum-desity de Bruij sequece for B,m). Proof. The claim ca be verified whe 4. The proof for 5 is by iductio o m. The result is true whe m {0,1} sice db,0) = 0 ad db,1) = 0 1 are maximum-desity de Bruij sequeces for B,0) ad B,1), respectively. The remaiig base case of m = 2 gives db,2) = db 2) = 0 db 2 ), which is a maximum-desity de Bruij sequece for B,2) sice db 2 ) is a dual-desity de Bruij sequece for B 1 ) B 2 ) by Theorem 1. First we cosider the special case where m =. I this case, N 1 +1) cotais at least three ecklaces. Therefore, Lemma 1 implies that db, 2) ad db, ) ca be expressed as follows db, 2) = db,) = }{{} db +1) Observe that every substrig of legth that appears i db, 2) also appears i db,). Furthermore, the substrigs of legth that appear i db,) ad ot db, 2) are precisely , ,...,01,1,1 1 0, which are a orderig of B 1 ) B ). Sice db, 2) is 4 The strig i 4) is described as a fixed-desity de Bruij sequece i [9] sice each substrig i B 37) B 47) ca be uiquely exteded to a strig i B 48) by appedig its missig bit.

5 a maximum-desity de Bruij sequece for B, 2) by iductio, we have prove that db,) is a maximum-desity de Bruij sequece for B,). Otherwise m <. I this case, N m 2 +1) ad N m +1) both cotai at least three ecklaces. Therefore, Lemma 1 implies that db,m 2) ad db,m) ca be expressed as follows db,m 2) = 0 m+3 1 m 2 0 m+2 1 m ) db,m) = 0 m+3 1 m 2 0 m+1 1 m 0 m 1 m x 10 y 1 m 1 }{{} db m) 0 m+2 1 m ) where x = + 1 m)/2, y = + 1 m)/2, ad the bouds m ad imply that 0 x 10 y 1 m 1 ad 0 m+2 1 m 3 01 are aperiodic. The substrigs of legth i db,m 2) are B,m 2) by iductio, ad the substrigs of legth i db m ) are B m 1 ) B m ) by Theorem 1. Therefore, we ca complete the iductio by provig that the substrigs of legth i db,m) iclude those i a) db,m 2), ad b) db m ). To prove a), observe that the substrigs of legth i 0 m+3 1 m 2 0 m+2 from 6) are i 0 m+3 1 m 2 0 m+1 from 7), except for 1 m 2 0 m+2. Similarly, the substrigs of legth i 1 m 2 0 m+2 1 m 3 from 6) are i 1 m 1 0 m+2 1 m 3 from 7), ad the latter also icludes 1 m 2 0 m+2. To prove b), cosider how the isertio of db m ) ito db,m) i 7) affects its substrigs that ca o loger wrap-aroud i db m ). The substrigs of legth i the wrap-aroud 1 m 1 0 m+1 i db m ) are all i 1 m 1 0 m+2 from 7). Therefore, db,m) is a maximum-desity de Bruij sequece for B,m). Corollary 1 follows from the first three simple observatios made i Sectio 1. Corollary 1. The costructio of the maximum-weight de Bruij sequeces db,m) icludes 1. db,) is a de Bruij sequece for B), 2. db,m) is a miimum-weight de Bruij sequece for B m ) B m+1 ) B ), 3. db2m + 1, m) is a complemet-free de Bruij sequeces for B2m + 1). 4 Algorithm As metioed i Sectio 1, the reversal of db,m), deoted db,m) R also yields a maximumdesity de Bruij sequece. To efficietly produce db,m) R we ca use the recursive cool-lex algorithm described i [12] to produce the reversal of db d ). I that paper, details are provided to trim each ecklace to its logest Lydo prefix ad to output the strigs i reverse order. A aalysis shows that o average, each bits ca be visited i costat time. There are two data structures used to maitai the curret ecklace: a strig represetatio a 1 a 2 a, ad a block represetatio B c B c 1 B 1 where a block is defied to be a maximal substrig of the form 0 1. A block of the form 0 s 1 t is represeted by s,t). Sice the umber of blocks c is maitaied as a global parameter, it is easy to test if the curret ecklace is of the form 0 1 : simply test if c = 1. By addig this test, it is a straightforward matter to produce the reversal of db d). To be cosistet with the descriptio i [12], the fuctio Ge d,d) ca be used to produce db d). Usig this fuctio, the followig pseudocode ca be used to produce db,m) R : if m is eve the start := 2 else start := 3 for i from start by 2 to m do Iitialize + 1, i) Ge + 1 i,i) for i from m by 2 dowto 0 do Prit 1 i 0 +i 1 ) if m is eve the Prit 0 )

6 The Iitialize+1,i) fuctio sets a 1 a 2 a +1 to 0 +1 i 1 i, sets c = 1 ad sets B 1 = +1 i,i). The first time it is called it requires O) time, ad for each subsequet call, the updates ca be performed i O1) time. Also ote that the strig visited by the Prit) fuctio ca also be updated i costat time after the first strig is visited. Sice the extra work outside the calls to Ge requires O) time, ad because the umber of bits i db,m) is Ω 2 ) where 1 < m <, we obtai the followig theorem. Theorem 3. The maximum-desity de Bruij sequece db,m) R ca be geerated i costat amortized time for each bits visited, where 1 < m <. 5 Ope Problems A atural ope problem is to efficietly costruct desity-rage de Bruij sequeces for the biary strigs of legth whose desity is betwee i ad j iclusively) for ay 0 i < j. Refereces 1. F. Chug, P. Diacois, ad R. Graham, Uiversal cycles for combiatorial structures, Discrete Mathematics, ) N.G. de Bruij, A combiatorial problem, Koikl. Nederl. Acad. Wetesch. Proc. Ser A, ) N.G. de Bruij, Ackowledgemet of priority to C. Flye Saite-Marie o the coutig of circular arragemets of 2 zeros ad oes that show each -letter word exactly oce, T.H. Report 75-WSK-06, Techological Uiversity Eidhove 1975) 13 pages. 4. H. Frederickse ad J. Maioraa, Necklaces of beads i k colors ad kary de Bruij sequeces, Discrete Mathematics, ) H. Frederickse ad I. J. Kessler, A algorithm for geeratig ecklaces of beads i two colors, Discrete Mathematics, ) G. Hurlbert, B. Jackso, B. Steves Editors), Geeralisatios of de Bruij sequeces ad Gray codes, Discrete Mathematics, ) D.E. Kuth, The Art of Computer Programmig, Volume 4, Geeratig all tuples ad permutatios, Fascicle 2, Addiso-Wesley, F. Ruskey, C. Savage, ad T.M.Y. Wag, Geeratig ecklaces, J. Algorithms, ) F. Ruskey, J. Sawada, ad A. Williams Fixed-desity de Bruij sequeces, submitted) F. Ruskey, J. Sawada, ad A. Williams Biary bubble laguages ad cool-lex order, submitted) F. Ruskey ad A. Williams, The coolest way to geerate combiatios, Discrete Mathematics, ) J. Sawada ad A. Williams A Gray Code for fixed-desity ecklace ad Lydo words i costat amortized time, submitted) 2010.

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

De Bruijn Sequences for the Binary Strings with Maximum Density

De Bruijn Sequences for the Binary Strings with Maximum Density De Bruijn Sequences for the Binary Strings with Maximum Density Joe Sawada 1, Brett Stevens 2, and Aaron Williams 2 1 jsawada@uoguelph.ca School of Computer Science, University of Guelph, CANADA 2 brett@math.carleton.ca

More information

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary

Recursive Algorithm for Generating Partitions of an Integer. 1 Preliminary Recursive Algorithm for Geeratig Partitios of a Iteger Sug-Hyuk Cha Computer Sciece Departmet, Pace Uiversity 1 Pace Plaza, New York, NY 10038 USA scha@pace.edu Abstract. This article first reviews the

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

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

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

Information Theory and Statistics Lecture 4: Lempel-Ziv code

Information Theory and Statistics Lecture 4: Lempel-Ziv code Iformatio Theory ad Statistics Lecture 4: Lempel-Ziv code Łukasz Dębowski ldebowsk@ipipa.waw.pl Ph. D. Programme 203/204 Etropy rate is the limitig compressio rate Theorem For a statioary process (X i)

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

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

An Introduction to Randomized Algorithms

An Introduction to Randomized Algorithms A Itroductio to Radomized Algorithms The focus of this lecture is to study a radomized algorithm for quick sort, aalyze it usig probabilistic recurrece relatios, ad also provide more geeral tools for aalysis

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

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

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

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

Math 155 (Lecture 3)

Math 155 (Lecture 3) Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,,

More information

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo Coutig Methods CSE 191, Class Note 05: Coutig Methods Computer Sci & Eg Dept SUNY Buffalo c Xi He (Uiversity at Buffalo CSE 191 Discrete Structures 1 / 48 Need for Coutig The problem of coutig the umber

More information

Recurrence Relations

Recurrence Relations Recurrece Relatios Aalysis of recursive algorithms, such as: it factorial (it ) { if (==0) retur ; else retur ( * factorial(-)); } Let t be the umber of multiplicatios eeded to calculate factorial(). The

More information

The Local Harmonious Chromatic Problem

The Local Harmonious Chromatic Problem The 7th Workshop o Combiatorial Mathematics ad Computatio Theory The Local Harmoious Chromatic Problem Yue Li Wag 1,, Tsog Wuu Li ad Li Yua Wag 1 Departmet of Iformatio Maagemet, Natioal Taiwa Uiversity

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

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

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

An analog of the arithmetic triangle obtained by replacing the products by the least common multiples

An analog of the arithmetic triangle obtained by replacing the products by the least common multiples arxiv:10021383v2 [mathnt] 9 Feb 2010 A aalog of the arithmetic triagle obtaied by replacig the products by the least commo multiples Bair FARHI bairfarhi@gmailcom MSC: 11A05 Keywords: Al-Karaji s triagle;

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

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

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

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

If a subset E of R contains no open interval, is it of zero measure? For instance, is the set of irrationals in [0, 1] is of measure zero?

If a subset E of R contains no open interval, is it of zero measure? For instance, is the set of irrationals in [0, 1] is of measure zero? 2 Lebesgue Measure I Chapter 1 we defied the cocept of a set of measure zero, ad we have observed that every coutable set is of measure zero. Here are some atural questios: If a subset E of R cotais a

More information

Lecture 11: Pseudorandom functions

Lecture 11: Pseudorandom functions COM S 6830 Cryptography Oct 1, 2009 Istructor: Rafael Pass 1 Recap Lecture 11: Pseudoradom fuctios Scribe: Stefao Ermo Defiitio 1 (Ge, Ec, Dec) is a sigle message secure ecryptio scheme if for all uppt

More information

3.1 Counting Principles

3.1 Counting Principles 3.1 Coutig Priciples Goal: Cout the umber of objects i a set. Notatio: Whe S is a set, S deotes the umber of objects i the set. This is also called S s cardiality. Additio Priciple: Whe you wat to cout

More information

On a Smarandache problem concerning the prime gaps

On a Smarandache problem concerning the prime gaps O a Smaradache problem cocerig the prime gaps Felice Russo Via A. Ifate 7 6705 Avezzao (Aq) Italy felice.russo@katamail.com Abstract I this paper, a problem posed i [] by Smaradache cocerig the prime gaps

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

NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE

NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE UPB Sci Bull, Series A, Vol 79, Iss, 207 ISSN 22-7027 NEW FAST CONVERGENT SEQUENCES OF EULER-MASCHERONI TYPE Gabriel Bercu We itroduce two ew sequeces of Euler-Mascheroi type which have fast covergece

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

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

Double Stage Shrinkage Estimator of Two Parameters. Generalized Exponential Distribution

Double Stage Shrinkage Estimator of Two Parameters. Generalized Exponential Distribution Iteratioal Mathematical Forum, Vol., 3, o. 3, 3-53 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/.9/imf.3.335 Double Stage Shrikage Estimator of Two Parameters Geeralized Expoetial Distributio Alaa M.

More information

Hoggatt and King [lo] defined a complete sequence of natural numbers

Hoggatt and King [lo] defined a complete sequence of natural numbers REPRESENTATIONS OF N AS A SUM OF DISTINCT ELEMENTS FROM SPECIAL SEQUENCES DAVID A. KLARNER, Uiversity of Alberta, Edmoto, Caada 1. INTRODUCTION Let a, I deote a sequece of atural umbers which satisfies

More information

Sequences of Definite Integrals, Factorials and Double Factorials

Sequences of Definite Integrals, Factorials and Double Factorials 47 6 Joural of Iteger Sequeces, Vol. 8 (5), Article 5.4.6 Sequeces of Defiite Itegrals, Factorials ad Double Factorials Thierry Daa-Picard Departmet of Applied Mathematics Jerusalem College of Techology

More information

4.3 Growth Rates of Solutions to Recurrences

4.3 Growth Rates of Solutions to Recurrences 4.3. GROWTH RATES OF SOLUTIONS TO RECURRENCES 81 4.3 Growth Rates of Solutios to Recurreces 4.3.1 Divide ad Coquer Algorithms Oe of the most basic ad powerful algorithmic techiques is divide ad coquer.

More information

A GENERALIZATION OF THE SYMMETRY BETWEEN COMPLETE AND ELEMENTARY SYMMETRIC FUNCTIONS. Mircea Merca

A GENERALIZATION OF THE SYMMETRY BETWEEN COMPLETE AND ELEMENTARY SYMMETRIC FUNCTIONS. Mircea Merca Idia J Pure Appl Math 45): 75-89 February 204 c Idia Natioal Sciece Academy A GENERALIZATION OF THE SYMMETRY BETWEEN COMPLETE AND ELEMENTARY SYMMETRIC FUNCTIONS Mircea Merca Departmet of Mathematics Uiversity

More information

~W I F

~W I F A FIBONACCI PROPERTY OF WYTHOFF PAIRS ROBERT SILBER North Carolia State Uiversity, Raleigh, North Carolia 27607 I this paper we poit out aother of those fasciatig "coicideces" which are so characteristically

More information

HOMEWORK 2 SOLUTIONS

HOMEWORK 2 SOLUTIONS HOMEWORK SOLUTIONS CSE 55 RANDOMIZED AND APPROXIMATION ALGORITHMS 1. Questio 1. a) The larger the value of k is, the smaller the expected umber of days util we get all the coupos we eed. I fact if = k

More information

Tutorial F n F n 1

Tutorial F n F n 1 (CS 207) Discrete Structures July 30, 203 Tutorial. Prove the followig properties of Fiboacci umbers usig iductio, where Fiboacci umbers are defied as follows: F 0 =0,F =adf = F + F 2. (a) Prove that P

More information

t distribution [34] : used to test a mean against an hypothesized value (H 0 : µ = µ 0 ) or the difference

t distribution [34] : used to test a mean against an hypothesized value (H 0 : µ = µ 0 ) or the difference EXST30 Backgroud material Page From the textbook The Statistical Sleuth Mea [0]: I your text the word mea deotes a populatio mea (µ) while the work average deotes a sample average ( ). Variace [0]: The

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

Analysis of Algorithms. Introduction. Contents

Analysis of Algorithms. Introduction. Contents Itroductio The focus of this module is mathematical aspects of algorithms. Our mai focus is aalysis of algorithms, which meas evaluatig efficiecy of algorithms by aalytical ad mathematical methods. We

More information

2 A bijective proof of Theorem 1 I order to give a bijective proof of Theorem 1, we eed to itroduce the local biary search (LBS) trees, used by Postio

2 A bijective proof of Theorem 1 I order to give a bijective proof of Theorem 1, we eed to itroduce the local biary search (LBS) trees, used by Postio Eumeratig alteratig trees Cedric Chauve 1, Serge Dulucq 2 ad Adrew Rechitzer 2? 1 LaBRI, Uiversit Bordeaux I 31 Cours de la Lib ratio, 3340 Talece, Frace 2 Departmet of Mathematics, The Uiversity of Melboure

More information

Number Representation

Number Representation Number Represetatio 1 Number System :: The Basics We are accustomed to usig the so-called decimal umber system Te digits :: 0,1,2,3,4,5,6,7,8,9 Every digit positio has a weight which is a power of 10 Base

More information

arxiv: v1 [math.nt] 10 Dec 2014

arxiv: v1 [math.nt] 10 Dec 2014 A DIGITAL BINOMIAL THEOREM HIEU D. NGUYEN arxiv:42.38v [math.nt] 0 Dec 204 Abstract. We preset a triagle of coectios betwee the Sierpisi triagle, the sum-of-digits fuctio, ad the Biomial Theorem via a

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

Zhicheng Gao School of Mathematics and Statistics, Carleton University, Ottawa, Canada

Zhicheng Gao School of Mathematics and Statistics, Carleton University, Ottawa, Canada #A3 INTEGERS 4A (04) THE R TH SMALLEST PART SIZE OF A RANDOM INTEGER PARTITION Zhicheg Gao School of Mathematics ad Statistics, arleto Uiversity, Ottawa, aada zgao@math.carleto.ca orado Martiez Departamet

More information

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014. Product measures, Toelli s ad Fubii s theorems For use i MAT3400/4400, autum 2014 Nadia S. Larse Versio of 13 October 2014. 1. Costructio of the product measure The purpose of these otes is to preset the

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

Finite Automata. Reading: Chapter 2

Finite Automata. Reading: Chapter 2 Fiite Automata Readig: Chapter 2 Fiite Automato (FA) Iformally, a state diagram that comprehesively captures all possible states ad trasitios that a machie ca take while respodig to a stream or sequece

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

MT5821 Advanced Combinatorics

MT5821 Advanced Combinatorics MT5821 Advaced Combiatorics 1 Coutig subsets I this sectio, we cout the subsets of a -elemet set. The coutig umbers are the biomial coefficiets, familiar objects but there are some ew thigs to say about

More information

Computability and computational complexity

Computability and computational complexity Computability ad computatioal complexity Lecture 4: Uiversal Turig machies. Udecidability Io Petre Computer Sciece, Åbo Akademi Uiversity Fall 2015 http://users.abo.fi/ipetre/computability/ 21. toukokuu

More information

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES

OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES OPTIMAL ALGORITHMS -- SUPPLEMENTAL NOTES Peter M. Maurer Why Hashig is θ(). As i biary search, hashig assumes that keys are stored i a array which is idexed by a iteger. However, hashig attempts to bypass

More information

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O M A T H 2 4 0 F A L L 2 0 1 4 HOMEWORK ASSIGNMENT #4 CORRECTION Algebra I 1 4 / 1 0 / 2 0 1 4 U N I V E R S I T Y O F T O R O N T O P r o f e s s o r : D r o r B a r - N a t a Correctio Homework Assigmet

More information

1 Counting and Stirling Numbers

1 Counting and Stirling Numbers 1 Coutig ad Stirlig Numbers Natural Numbers: We let N {0, 1, 2,...} deote the set of atural umbers. []: For N we let [] {1, 2,..., }. Sym: For a set X we let Sym(X) deote the set of bijectios from X to

More information

Lecture 10: Mathematical Preliminaries

Lecture 10: Mathematical Preliminaries Lecture : Mathematical Prelimiaries Obective: Reviewig mathematical cocepts ad tools that are frequetly used i the aalysis of algorithms. Lecture # Slide # I this

More information

Legendre-Stirling Permutations

Legendre-Stirling Permutations Legedre-Stirlig Permutatios Eric S. Egge Departmet of Mathematics Carleto College Northfield, MN 07 USA eegge@carleto.edu Abstract We first give a combiatorial iterpretatio of Everitt, Littlejoh, ad Wellma

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

Dominating Sets and Domination Polynomials of Square Of Cycles

Dominating Sets and Domination Polynomials of Square Of Cycles IOSR Joural of Mathematics IOSR-JM) ISSN: 78-78. Volume 3, Issue 4 Sep-Oct. 01), PP 04-14 www.iosrjourals.org Domiatig Sets ad Domiatio Polyomials of Square Of Cycles A. Vijaya 1, K. Lal Gipso 1 Assistat

More information

Zeros of Polynomials

Zeros of Polynomials Math 160 www.timetodare.com 4.5 4.6 Zeros of Polyomials I these sectios we will study polyomials algebraically. Most of our work will be cocered with fidig the solutios of polyomial equatios of ay degree

More information

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is Homewor 3 Chapter 5 pp53: 3 40 45 Chapter 6 p85: 4 6 4 30 Use combiatorial reasoig to prove the idetity 3 3 Proof Let S be a set of elemets ad let a b c be distict elemets of S The umber of -subsets of

More information

A Simplified Binet Formula for k-generalized Fibonacci Numbers

A Simplified Binet Formula for k-generalized Fibonacci Numbers A Simplified Biet Formula for k-geeralized Fiboacci Numbers Gregory P. B. Dresde Departmet of Mathematics Washigto ad Lee Uiversity Lexigto, VA 440 dresdeg@wlu.edu Zhaohui Du Shaghai, Chia zhao.hui.du@gmail.com

More information

Lecture 7: Properties of Random Samples

Lecture 7: Properties of Random Samples Lecture 7: Properties of Radom Samples 1 Cotiued From Last Class Theorem 1.1. Let X 1, X,...X be a radom sample from a populatio with mea µ ad variace σ

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

Appendix to Quicksort Asymptotics

Appendix to Quicksort Asymptotics Appedix to Quicksort Asymptotics James Alle Fill Departmet of Mathematical Scieces The Johs Hopkis Uiversity jimfill@jhu.edu ad http://www.mts.jhu.edu/~fill/ ad Svate Jaso Departmet of Mathematics Uppsala

More information

CS / MCS 401 Homework 3 grader solutions

CS / MCS 401 Homework 3 grader solutions CS / MCS 401 Homework 3 grader solutios assigmet due July 6, 016 writte by Jāis Lazovskis maximum poits: 33 Some questios from CLRS. Questios marked with a asterisk were ot graded. 1 Use the defiitio of

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

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

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

Balancing cyclic R-ary Gray codes

Balancing cyclic R-ary Gray codes Balacig cyclic R-ary Gray codes Mary Flahive Departmet of Mathematics Orego State Uiversity, Corvallis, OR 97331, USA flahive@math.oregostate.edu Bella Bose School of Electrical Egieerig ad Computer Sciece

More information

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence

Sequences A sequence of numbers is a function whose domain is the positive integers. We can see that the sequence Sequeces A sequece of umbers is a fuctio whose domai is the positive itegers. We ca see that the sequece 1, 1, 2, 2, 3, 3,... is a fuctio from the positive itegers whe we write the first sequece elemet

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

Comparison Study of Series Approximation. and Convergence between Chebyshev. and Legendre Series

Comparison Study of Series Approximation. and Convergence between Chebyshev. and Legendre Series Applied Mathematical Scieces, Vol. 7, 03, o. 6, 3-337 HIKARI Ltd, www.m-hikari.com http://d.doi.org/0.988/ams.03.3430 Compariso Study of Series Approimatio ad Covergece betwee Chebyshev ad Legedre Series

More information

arxiv: v1 [math.fa] 3 Apr 2016

arxiv: v1 [math.fa] 3 Apr 2016 Aticommutator Norm Formula for Proectio Operators arxiv:164.699v1 math.fa] 3 Apr 16 Sam Walters Uiversity of Norther British Columbia ABSTRACT. We prove that for ay two proectio operators f, g o Hilbert

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

FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS. H. W. Gould Department of Mathematics, West Virginia University, Morgantown, WV 26506, USA

FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS. H. W. Gould Department of Mathematics, West Virginia University, Morgantown, WV 26506, USA INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 7 (2007), #A58 FLOOR AND ROOF FUNCTION ANALOGS OF THE BELL NUMBERS H. W. Gould Departmet of Mathematics, West Virgiia Uiversity, Morgatow, WV

More information

Solution. 1 Solutions of Homework 1. Sangchul Lee. October 27, Problem 1.1

Solution. 1 Solutions of Homework 1. Sangchul Lee. October 27, Problem 1.1 Solutio Sagchul Lee October 7, 017 1 Solutios of Homework 1 Problem 1.1 Let Ω,F,P) be a probability space. Show that if {A : N} F such that A := lim A exists, the PA) = lim PA ). Proof. Usig the cotiuity

More information

The log-behavior of n p(n) and n p(n)/n

The log-behavior of n p(n) and n p(n)/n Ramauja J. 44 017, 81-99 The log-behavior of p ad p/ William Y.C. Che 1 ad Ke Y. Zheg 1 Ceter for Applied Mathematics Tiaji Uiversity Tiaji 0007, P. R. Chia Ceter for Combiatorics, LPMC Nakai Uivercity

More information

CALCULATION OF FIBONACCI VECTORS

CALCULATION OF FIBONACCI VECTORS CALCULATION OF FIBONACCI VECTORS Stuart D. Aderso Departmet of Physics, Ithaca College 953 Daby Road, Ithaca NY 14850, USA email: saderso@ithaca.edu ad Dai Novak Departmet of Mathematics, Ithaca College

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

CS 270 Algorithms. Oliver Kullmann. Growth of Functions. Divide-and- Conquer Min-Max- Problem. Tutorial. Reading from CLRS for week 2

CS 270 Algorithms. Oliver Kullmann. Growth of Functions. Divide-and- Conquer Min-Max- Problem. Tutorial. Reading from CLRS for week 2 Geeral remarks Week 2 1 Divide ad First we cosider a importat tool for the aalysis of algorithms: Big-Oh. The we itroduce a importat algorithmic paradigm:. We coclude by presetig ad aalysig two examples.

More information

Classification of problem & problem solving strategies. classification of time complexities (linear, logarithmic etc)

Classification of problem & problem solving strategies. classification of time complexities (linear, logarithmic etc) Classificatio of problem & problem solvig strategies classificatio of time complexities (liear, arithmic etc) Problem subdivisio Divide ad Coquer strategy. Asymptotic otatios, lower boud ad upper boud:

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

Complex Numbers Solutions

Complex Numbers Solutions Complex Numbers Solutios Joseph Zoller February 7, 06 Solutios. (009 AIME I Problem ) There is a complex umber with imagiary part 64 ad a positive iteger such that Fid. [Solutio: 697] 4i + + 4i. 4i 4i

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

Lecture 5: April 17, 2013

Lecture 5: April 17, 2013 TTIC/CMSC 350 Mathematical Toolkit Sprig 203 Madhur Tulsiai Lecture 5: April 7, 203 Scribe: Somaye Hashemifar Cheroff bouds recap We recall the Cheroff/Hoeffdig bouds we derived i the last lecture idepedet

More information

MA131 - Analysis 1. Workbook 2 Sequences I

MA131 - Analysis 1. Workbook 2 Sequences I MA3 - Aalysis Workbook 2 Sequeces I Autum 203 Cotets 2 Sequeces I 2. Itroductio.............................. 2.2 Icreasig ad Decreasig Sequeces................ 2 2.3 Bouded Sequeces..........................

More information

A New Method to Order Functions by Asymptotic Growth Rates Charlie Obimbo Dept. of Computing and Information Science University of Guelph

A New Method to Order Functions by Asymptotic Growth Rates Charlie Obimbo Dept. of Computing and Information Science University of Guelph A New Method to Order Fuctios by Asymptotic Growth Rates Charlie Obimbo Dept. of Computig ad Iformatio Sciece Uiversity of Guelph ABSTRACT A ew method is described to determie the complexity classes of

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

On the Jacobsthal-Lucas Numbers by Matrix Method 1

On the Jacobsthal-Lucas Numbers by Matrix Method 1 It J Cotemp Math Scieces, Vol 3, 2008, o 33, 1629-1633 O the Jacobsthal-Lucas Numbers by Matrix Method 1 Fikri Köke ad Durmuş Bozkurt Selçuk Uiversity, Faculty of Art ad Sciece Departmet of Mathematics,

More information

You may work in pairs or purely individually for this assignment.

You may work in pairs or purely individually for this assignment. CS 04 Problem Solvig i Computer Sciece OOC Assigmet 6: Recurreces You may work i pairs or purely idividually for this assigmet. Prepare your aswers to the followig questios i a plai ASCII text file or

More information

On Performance Deviation of Binary Search Tree Searches from the Optimal Search Tree Search Structures

On Performance Deviation of Binary Search Tree Searches from the Optimal Search Tree Search Structures INTERNATIONAL JOURNAL OF COMPUTERS AND COMMUNICATIONS Issue, Volume, 7 O Performace Deviatio of Biary Search Tree Searches from the Optimal Search Tree Search Structures Ahmed Tarek Abstract Biary Search

More information

Lecture 2.5: Sequences

Lecture 2.5: Sequences Lecture.5: Sequeces CS 50, Discrete Structures, Fall 015 Nitesh Saxea Adopted from previous lectures by Zeph Gruschlag Course Admi HW posted Covers Chapter Due Oct 0 (Tue) Mid Term 1: Oct 15 (Thursday)

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

2.4 - Sequences and Series

2.4 - Sequences and Series 2.4 - Sequeces ad Series Sequeces A sequece is a ordered list of elemets. Defiitio 1 A sequece is a fuctio from a subset of the set of itegers (usually either the set 80, 1, 2, 3,... < or the set 81, 2,

More information

Definitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients.

Definitions and Theorems. where x are the decision variables. c, b, and a are constant coefficients. Defiitios ad Theorems Remember the scalar form of the liear programmig problem, Miimize, Subject to, f(x) = c i x i a 1i x i = b 1 a mi x i = b m x i 0 i = 1,2,, where x are the decisio variables. c, b,

More information