Remark : Obviously, to each oeig (res closig) bracket there is a uique corresodig closig (res oeig) bracket i every Dyck word w D R The closig bracket

Size: px
Start display at page:

Download "Remark : Obviously, to each oeig (res closig) bracket there is a uique corresodig closig (res oeig) bracket i every Dyck word w D R The closig bracket"

Transcription

1 Rakig ad Urakig of a Geeralized Dyck Laguage Jes Liebeheschel Joha Wolfgag Goethe-Uiversitat, Frakfurt am Mai Fachbereich Iformatik D Frakfurt am Mai, Germay jes@sadsiformatikui-frakfurtde Abstract Give two disjoit alhabets T [ ad T ] ad a relatio R T [ T ], the geeralized Dyck laguage D R over T [ [ T ] cosists of all words w (T [ [ T ] ) which are equivalet to the emty word " uder the cogruece deed by x y " mod for all (x; y) R If the Dyck words are arraged accordig to the lexicograhical order, the rakig meas to determie the rak, i e the ositio, of a Dyck word Urakig creates the Dyck word from its ositio We reset a rakig ad a urakig algorithm for the geeralized Dyck laguage Give a Dyck word, the rakig algorithm reads a rex as short as ossible to comute the rak Thus, this algorithm is otimal The urakig algorithm creates the Dyck word symbol by symbol from left to right Further, we aalyze the rakig algorithm For the comutatio of the rak of a Dyck word for arbitrary R, we comute the s-th momets of the radom variable describig the legth of the rex to be read A aalysis of the urakig algorithm is ot ecessary, because the whole Dyck word has to be created The geeralized Dyck laguage ca be used for the codig of trees Not oly the shae of the tree is coded but also its labels at the odes ad/or edges The algorithms discussed here ca be used for the rakig ad urakig of dieret tyes of trees Further, radom trees ca be geerated with the urakig algorithm Classicatio: algorithms ad data structures, comutatioal comlexity Keywords: Dyck laguage, rakig, urakig, lexicograhical order, trees, oe-to-oe corresodece, average-case aalysis Itroductio ad Basic Deitios I this aer we examie the geeralized Dyck laguage that was itroduced i [Ke96b] A orderig o the alhabet will be cotiued to a orderig o the Dyck words, that is called lexicograhical order I [Li98], a algorithm for the geeratio of all Dyck words accordig to their lexicograhical order was reseted Give a set of ordered words, every word has a ositio, that is called rak; the comutatio of the rak is called rakig Urakig is the iverse oeratio, i e the geeratio of a word from its ositio First, we itroduce the geeralized Dyck laguage ad the lexicograhical order, the we give a short examle I the ext sectio, the rakig ad urakig algorithms are reseted I Sectio 3, the rakig algorithm is aalyzed Deitio : Let t, t N ad T [ := [ ; [ ; : : : ; [ t res T] := ] ; ] ; : : : ; ] t be the set of oeig (res closig) brackets Let jsj be the cardiality of the set S, so = t ad T] = t With T := T [ [ T ] ad a relatio R T [ T ] we obtai the geeralized Dyck laguage associated with R by D R := fw T j w " mod g, where " deotes the emty word ad is the cogruece over T which is deed by (8([ a ; ] b ) R)([ a ] b " mod ) The set of all Dyck words of legth is give by D R := D R \ T

2 Remark : Obviously, to each oeig (res closig) bracket there is a uique corresodig closig (res oeig) bracket i every Dyck word w D R The closig bracket corresodig to a oeig bracket i a Dyck word w D R ca be foud by searchig for the rst closig bracket behid the shortest word w D R (w might be ") o the right side of the oeig bracket If the oeig (res its corresodig closig) bracket is [ a (res ] b ), we have w = w [ a w ] b w 3 with w w 3 ; w D R The oeig bracket corresodig to a closig bracket i a Dyck word ca be foud i a aalogous way Remark : It is well-kow that there are several oe-to-oe corresodeces betwee the ormal Dyck laguage ad other combiatorial objects For examle, the shae of a ordered tree or a exteded ordered biary tree ca be coded i the ormal Dyck laguage (for examle [Za80]), but the labels at the odes or the edges ca ot be coded i the ormal Dyck laguage I [FS96, 66] was metioed a codig of ordered trees with labelled odes by aother geeralizatio of the Dyck laguage With the geeralizatio discussed here, we ca also code the labels at the edges Additioally, coectios betwee the labels at the root of a subtree ad the edge to its father (i a ordered tree) ad coectios betwee the labels at the left ad right sos ad/or edges (i a exteded ordered biary tree) ca be cosidered Some ossibilities of how to code a tree i a Dyck word are give i Figure b a b a Y a Y b a b Y Figure : Corresodig trees to the Dyck word [ a ] b Y The oe-to-oe corresodeces betwee the trees ad the Dyck words are deed recursively All trees i Figure corresod to the Dyck word [ a ] b Y, where [ a ad ] b are corresodig brackets ad ; Y D R The left icture shows a ordered tree, whereas the other ictures rereset exteded ordered biary trees I the right icture, a ad a (res b ad b ) must be coded i a (res b) Note that i each case the label at the root of the tree is ot coded i the Dyck word It ca be coded { if eeded { i oe more symbol to the left or right of the Dyck word Remark 3: With the urakig algorithm we have a rocedure at had, that geerates radom trees of various kids (see Remark ) We use a radom umber geerator ad comute the Dyck word ad the corresodig tree, whose rak is equal to the radom umber Deitio : Let close R ([ a ) := f ] b j ([ a ; ] b ) Rg be the set of all closig brackets corresodig to a give oeig bracket accordig to the relatio R

3 Deitio 3: Let < lex T T be a irreexive liear orderig o T The lexicograhical order lex over T + is deed as the extesio of < lex to lex T + T + by x lex y :, (9z T + ) (xz = y) _ 9 (u; ex; ey; v;ev) T 3 T (x = u v ex ^ y = uev ey ^ v < lex ev) [Ke98] Note that i this aer we cosider the lexicograhical order o Dyck words of legth oly We use the followig orderig o T : [ j j < lex : : : < lex [ < lex ] < lex : : : < lex ] jt] j If all Dyck words of D R are arraged accordig to the lexicograhical order, the rakig meas to determie the rak, i e the ositio of a Dyck word w D R The rak of w is the umber of lexicograhically smaller Dyck words i the Dyck laguage: rak(w) := few j ew D R ^ ew lex wg, thus 0 rak(w) < jd R Give the rak of w D R, urakig comutes w Let us demostrate the above deitios by a simle examle Examle : Let T := f[ ; [ ; ] ; ] g, R := f([ ; ] ); ([ ; ] ); ([ ; ] )g ad := The relatio R imlies close R ([ ) = f ] ; ] g ad close R ([ ) = f ] g We obtai the orderig o the alhabet [ < lex [ < lex ] < lex ] I Figure all Dyck words of this examle are arraged lexicograhically Cosiderig the rak of the Dyck words, we d rak([ [ ] ] ) = 0, rak([ [ ] ] ) = 0 ad rak([ ] [ ] ) = 7 = jd R 4 j, for examle j [ [ ] ] lex [ [ ] ] lex [ [ ] ] lex [ ] [ ] lex [ ] [ ] lex [ ] [ ] lex [ [ ] ] lex [ [ ] ] lex [ [ ] ] lex [ [ ] ] lex [ [ ] ] lex [ [ ] ] lex [ ] [ ] lex [ ] [ ] lex [ ] [ ] lex [ ] [ ] lex [ ] [ ] lex [ ] [ ] Figure : All Dyck words of Examle arraged accordig to the lexicograhical order lex Rakig ad Urakig Algorithm I this sectio we will reset a rakig algorithm for the geeralized Dyck laguage D R as well as a urakig algorithm, that creates the Dyck word by reversig the stes carried out by the rakig algorithm Sice a Dyck word's rak is equal to the umber of lexicograhically smaller Dyck words, the rakig algorithm eeds to determie that umber It follows the familiar ractice ad reads the Dyck word from left to right As show i the geeral aroach of rakig ad urakig [Li97], the algorithm has to go o readig util there is exactly oe cotiuatio to a word of the laguage I that case the symbols ot read so far are uiquely determied by the symbols read Give a Dyck word w = w 0 : : : w, we comute the umber of lexicograhically smaller words by rak(w) := where A i := ew 0 : : : ew D R j ew 0 : : : ew i = w 0 : : : w i ^ ew i < lex w i Note that A i is the umber of Dyck words with the same rex of legth i as w ad a smaller symbol at the right of that commo rex tha i w Furthermore, each A i, 0 i, ca be comuted by readig the rst i symbols of w, so that the algorithm ca comute the rak by readig the Dyck word from left to right i=0 A i, 3

4 If the shortest rex with a uique cotiuatio is read, the algorithm reseted here does ot read aother symbol So, it is otimal with resect to the umber of symbols to be read from left to right Let j be the legth of that shortest rex with a uique cotiuatio We immediately d 0 j Obviously, our algorithm is ot able to comute A i, j i, because it does ot read the sux w j : : : w of w The comutatio of A i, j i, is ot eeded, because that sux w j : : : w is a uique cotiuatio of the rex read to a Dyck word i D, R thus we get A i = 0, j i, by the deitio of A i Now, we have the fudametals for the comutatio of the rak of a Dyck word w The algorithm roceeds as follows: It reads w from left to right For each ositio i, 0 i, is checked, whether exactly oe cotiuatio to a Dyck word of legth exists That is the case, i either all oeig brackets have bee read ad each of these corresods to oe closig bracket oly or ( ) oeig ad ( ) closig brackets have bee read ad the relatio cotais oly oe air of brackets If such a uique cotiuatio exists, the o more symbols have to be read, as we have see before If ot, the the algorithm has to comute A i, whereby it is ecessary to distiguish betwee oeig ad closig brackets: (i) For a oeig bracket, the umber of Dyck words with the same rex as w ad a smaller oeig bracket at the curret ositio tha i w have to be added to the rak (ii) For a closig bracket, the umber of Dyck words with the same rex as w ad a oeig bracket at the curret ositio have to be added to the rak as well as the umber of Dyck words with a smaller closig bracket tha i w { i cosideratio of the corresodig oeig bracket Thus, it is ecessary to kow the oeig bracket corresodig to each closig bracket For that urose the algorithms make use of a stack with the oeratios ush ad o Furthermore, the algorithms eed to comute the umber of cotiuatios of a Dyck word's rex to a Dyck word of legth Therefore, let us recall the well-kow oe-to-oe corresodece betwee Dyck words ad aths i the lattice give i Figure 3 j (;) (i;j) i Figure 3: Oe-to-oe corresodece betwee Dyck words of legth [ a ad the aths from (0; 0) to (; 0) ] b (i+;j+) (i+;j) Thereby, a u-segmet % (res dow-segmet &) corresods to a oeig (res closig) bracket Sice we have a corresodece betwee oeig ad closig brackets (see Remark ), there must be a corresodece betwee u-segmets 4

5 ad dow-segmets i the lattice To each u-segmet there is a corresodig dow-segmet ad vice versa: The dow-segmet (res u-segmet) corresodig to a u-segmet (res dow-segmet) is the ext segmet o the right (res left) side i the same row Thus, each Dyck word of legth corresods to a ath from (0; 0) to (; 0) The segmets are labelled by the symbols of the alhabet; the labels of u-segmets (res dow-segmets) are oeig (res closig) brackets Obviously, a usegmet ad its corresodig dow-segmet must be labelled by some [ a ad ] b with [ a ; ] b R Note that the umber of aths from (0; 0) to (i; j) i the lattice is give by the ballot umber [CRS7] (i; j) = j + i + i + (i + j) + = i (i j) i (i j) () Now, the umber of cotiuatios ca be comuted by ad two other factors, oe for the umber of ossibilities for the closig brackets ot read so far ad oe for the airs of brackets ot read so far The umber of aths from (i; j) to (; 0) multilied by those factors described above is give by: q(i; j) := ( i; j) close jrj ij, where close is a variable i the algorithms The variables used i the rakig algorithm will be exlaied ow u : Number of oeig brackets (ad u-segmets) dow : Number of closig brackets (ad dow-segmets) Q close := k j=0 close R (ew j ), if w0 : : : w i ew 0 : : : ew k mod ^ w 0 : : : w i is read i the algorithm ^ ew 0 : : : ew k T [ k Note that close is the roduct of the umbers of closig brackets i R corresodig to each oeig bracket read without its corresodig closig bracket read so far, i e umber of ossibilities to comlete the rex read to a Dyck word i D R by aedig closig brackets oly This variable is eeded for the fuctio q ad will be recomuted for each symbol beig read i both algorithms corr cl br[a ] := R close ([ a ), a j j P corr cl br sm br[a ] := a R close ([ l ), a j j l= sm corr cl br[a ][b ] := fx j x close R ([ a ) ^ x < lex ] b g, a j j, b jt ] j Note that the arrays corr cl br ad corr cl br sm br ad the matrix sm corr cl br ca be recomuted i O(jT [ j jt ] j) This amout of time is costat with resect to the legth of the words, because the variables deed o the relatio R oly We code the brackets i itegers i the rakig ad urakig algorithms; the oeig bracket of tye a (res closig bracket of tye b) is coded i the iteger a (res b) Note that w = w[0] : : : w[] is a array of itegers i the algorithm The formal rakig algorithm is give as follows 5

6 fuctio rak (w : dyck word) begi rak := 0 u := 0 dow := 0 close := i := 0 while i < do begi = check if a uique cotiuatio exists = if u = ad close = or jrj = ad u = ad dow = the = do ot cotiue readig the Dyck word = i := else begi if w[i] < 0 the begi = w[i] is a oeig bracket = rak := rak + corr cl br sm br[w[i] ] q(i + ; i + ( dow)) ush(w[i]) close := close corr cl br[w[i] ] u := u + ed else begi = w[i] is a closig bracket = rak := rak + jrj q(i + ; i + ( dow)) ed; ed j := o() close close := corr cl br[j] rak := rak + sm corr cl br[j ][w[i] ] q(i + ; i ( dow)) dow := dow + ed i := i + ed Algorithm : Rakig algorithm for the geeralized Dyck laguage D R The urakig algorithm reverses the stes made by the rakig algorithm It creates the word successively from left to right The algorithm has to be determie for each ositio, whether the curret symbol is either a oeig or a closig bracket The, the tye of that bracket has to be comuted Further, a recomutatio of the rak is ecessary; this corresods to the stewise comutatio of the rak (A i, 0 i ) i the rakig algorithm To comutate of the tye of a oeig or closig bracket, two more variables are eeded by the urakig algorithm: o br[l ] : oeig bracket of the l-th air of brackets of the relatio R accordig to the lexicograhical order o the airs of brackets, l jrj cl br[a][l ] : l-th closig bracket that corresods to [ a i the relatio R accordig to the orderig o the alhabet, a jt [ j, l close R ([ a ) 6

7 Agai, the array o br ad the matrix cl br ca be recomuted i O(jT [ j jt ] j) Now, let us have a look at the formal urakig algorithm fuctio urak (rak : iteger) begi dow := 0 close := i := 0 while i < do begi k := q(i + ; i + ( dow)) if rak < jrj k the begi = urak[i] is a oeig bracket = urak[i] := o br[b rak c] k rak := rak corr cl br sm br[urak[i] ] k ush(urak[i]) close := close corr cl br[urak[i] ] ed else begi = urak[i] is a closig bracket = rak := rak jrj k j := o() ed; close := close corr cl br[j] k := q(i + ; i ( dow)) urak[i] := cl br[j ][b rak c] k rak := rak sm corr cl br[j ][urak[i] ] k dow := dow + ed i := i + ed Algorithm : Urakig algorithm for the geeralized Dyck laguage D R 3 Aalysis of the Rakig Algorithm I this sectio we aalyze the average umber of symbols to be read by our rakig algorithm The aalysis of the urakig algorithm is ot ecessary, because the algorithm always has to create the whole Dyck word, so the umber of symbols to create is equal to for every w D R Thus, the mea value is equal to ad the variace is equal to 0 Sice the rakig algorithm reads the shortest rex, that is log eough to comute the rak of the Dyck word, we ca aalyze the umber of symbols to be read usig the geeral aroach to rakig ad urakig [Li97] Let ref (D R ) be the radom variable describig the legth of the shortest rex to be read i order to rak a Dyck word The mea value ref (D R ) ad the variace ref (DR ) of ref (D R ) are give by: ref (D R ) = E[ ref (D R )] ad ref(d R ) = E[ ref (D R )] E[ ref (D R )] 7

8 We obtai the s-th momets, s, of ref (D R ) by [Li97]: where E[ s ref (D R )] := () s D R k= ((k + ) s k s )! INIT k(d) R + jd R j; INIT k(d R ) := u j u v D R ^ u T k ^ y D R j y = u T k =, () is the set of rexes of legth k with a uique cotiuatio to a word belogig to D R ad is Kroecker's delta Agai, we eed a criterio for a uique cotiuatio of a Dyck word's rex Let us formalize the coditio for a uique cotiuatio that has bee give i Sectio Regardig the lattice i Figure 3, we see that a uique cotiuatio to (; 0) exists from all oits of f( + l; l) j 0 l g, if the labels of all dowsegmets are kow; i other words all oeig brackets are read ad the tyes of the closig brackets ot read so far ca be determied with kowledge of the rex read Moreover, a uique cotiuatio exists from ( ; 0), if the labels of the last two segmets are kow, i e if oly oe air of brackets is ot read so far ad jrj = We ca comute the cardiality of INIT k(d R ), k <, ow: INIT = k(d) R 8 >< >: 0 if k (k; k) k jrj k if k 3 ( ; ) + ( ; 0) if k = ^ jrj = ( ; ) jrj if k = ^ jrj ( ; ) jrj if k = (3) Here, T [ := fx j x T [ ^ jclose R (x)j = g is the set of oeig brackets with oly oe corresodig closig bracket accordig to R ad is give i () Before comutig the s-th momets of ref (D), R we roof the followig techical lemma which gives us the asymtotic behaviour for two tyes of sums Lemma : The asymtotics for both sums are valid for! (i) The followig asymtotic [Ke96a] holds for s N 0 ad > : ( + ) s k + = (4) 3 () s 4 ( ) ( + O( )) (4) (ii) The followig asymtotic holds for > : ( k) k + = (4) 3 8 ( ) 3 ( + O( )) (5) 8

9 Proof: To comute the asymtotic equivalet for the sum i (ii) we rst cosider the followig geeratig fuctio for c N 0 G(z; c; ) := z ( k) k + c 0 = 0 z k k k + c After rearragig the sums ad shiftig the idex of summatio, we get: With the idetity l + l0 + + c G(z; c; ) = z (z) +c 0 0 [GKP94, 03], we ca rewrite (6): l (z) l 4z =, N 0, 4z z 4z G(z; c; ) = (z) c 4z z c 0 (6) 4z Now, we cosider the derivative of the geometric series of a dieretiable fuctio f(z) with f 0 (z) 6= 0 d dz 0 f(z) = d dz f(z) ; 0 With that idetity, we immediately get G(z; c; ) = 4z z c 4z f(z) = ( f(z)) c+ 4z (7) Now, with (7) for c = 0 ad c = we d the geeratig fuctio of the sum i (ii) Note that the term for k = i the sum with idex of summatio k is equal to 0 We obtai the simle closed form of the geeratig fuctio H(z; ) by a straight forward comutatio H(z; ) := 0 = 4z z ( k) k 4z z 4z = z 4z + " 4z z 4z Now, we are lookig for the sigularity of smallest modulus that is ot equal to 0 We d ossible sigularities at z = 0, z = ad z = We do ot have to 4 take z = 0 ito accout Further, z = is o sigularity for >, because H( ; ) = ( ) 4( ) ( ) 4( ) = ( ), > 9 #

10 Thus, the domiat sigularity is at z = Now, alyig Darboux's method 4 [Ke84], we get the asymtotic behaviour of the sum stated i the lemma With this lemma we are able to aalyze the radom variable ref (D) R Theorem : Assumig that all words i D R are equally likely, the s-th momets, s, of the radom variable ref (D) R are give by: Proof: With the abbreviatio := jrj the idex of summatio E[ s ref (D R )] = E[ s ref (D R )] = () s + O( s ) jt [ j () s D R we get by () usig (3) ad () ad by shiftig ( ( + ) s k + ) () s k + {z } =:f (;) The asymtotic behaviour of the rst sum is give by (4) To gai a asymtotic equivalet for the secod sum f(; ), we rst aly the additio formula for a biomial coeciets b = a b + a b We d f(; ) = g(; ) + h(; ), (8) where g(; ) := h(; ) := () s k () s k +, By shiftig the idex of summatio ad alyig obtai g(; ) = ( + ) s k+ + () s + + = +, we By (4) ad the asymtotic behaviour of the Catala umbers comuted by Stirlig's formula [GKP94] = 4 3 ( + O( )) (9) + we immediately get: g(; ) = (4) 3 () s 3 ( ) ( + O( )) 0

11 A similar comutatio yields h( + ; ) = ( + ) s k = (4) 3 + ( + ) s + + () s 4 ( ) + ( + )s ( + O( )) Now, usig the asymtotics for g(; ) ad h(; ) i (8) ad alyig the formula for the umber of Dyck words jd + R j = jrj [Li98], a simle comutatio leads to the equatio E[ s (DR ref )] = () s ( + O( )) With E[ s (DR ref )] we are ot able to comute ref (D) R ad (DR ref ) with recisio O( ) This will be doe i Theorem ad Theorem 3 Obviously, (3) imlies that we must distiguish betwee the cases jrj = ad jrj The case jrj = has bee ivestigated i [Li97] There we d the followig theorem Theorem : Assumig that all words i R are equally likely, the mea value ad the variace of the radom variable ref (D) R for jrj = ad are give by: (i) ref (D R ) = O( ), (ii) ref(d ) R = O( ) For the case jrj we get the mea value ad the variace of the umber of symbols to be read i the followig theorem Theorem 3: Assumig that all words i R are equally likely, the mea value ad the variace of the radom variable ref (D) R for jrj are give by: Case : = 0, (i) ref (D R ) =, (ii) ref(d R ) = 0 Case :,! (i) ref (D R ) = 4 ( ) + O( ), (ii) ref(d R ) = 4 (4 3) ( ) 4 + O( ) Agai, = jrj jt [ j Proof: The roof of Case is trivial We isert (3) i () ad obtai E[ ref (DR )] = ad E[ ref (DR )] = () For the mea value i Case we get: ref (D) R = E[ (D R ref )] = jdj R (k; k) k jrj k k= = jd R j (; k) jrj! k

12 With the abbreviatio = jrj jt [ j, () ad jdr j = + jrj [Li98], we obtai ref (D) R = + k + By (4) ad (9) we immediately get the asymtotics for ref (D R ) For the variace, we obtai with (), (3) ad () ref(d R ) = E[ ref (D R )] E[ ref (D R )] = () jd R j ( + k + ) jd R j Simlifyig this exressio yields ref(d R ) = jd R j ( k) jd R j jd R j jrj! k! + + jrj! jrj k! jrj! k! k jrj! k! By alyig (4), (5) ad (9) ad erformig simlicatios, we directly get the variace stated i the theorem Remark 4: I [Li97] the rakig ad urakig of the Dyck laguage with t tyes of brackets D t [Ha78, 33] was aalyzed The formal deitio of D t is as follows: Let t N ad T := f[ ; ] ; : : : ; [ t ; ] t g be the alhabet with the liear orderig [ t < lex : : : < lex [ < lex ] < lex : : : < lex ] t The Dyck laguage D t is the smallest subset of T satisfyig (i) ad (ii): (i) " D t, (ii) u; v D t ; [ u ] v D t ^ : : : ^ [ t u ] t v D t The Dyck laguage with airs of balaced brackets ad t tyes of brackets is give by D t := D t \ T Note that D t = D R with the relatio R = f([ ; ] ); : : : ; ([ t ; ] t )g The mea value ad the variace of the radom variable ref (D t ) describig the umber of symbols to be read for comutig the rak for t ^ was foud to be: (i) ref (D t ) = 3 + O( ), (ii) ref(d t ) = 4 + O( ) With R = f([ ; ] ); : : : ; ([ t ; ] t )g, t, we d jrj = = t This imlies = jrj = Thus, we obtai by Theorem 3, Case, the results stated i [Li97] jt [ j

13 4 Cocludig Remarks I this aer we reseted a rakig ad a urakig algorithm for the geeralized Dyck laguage The Dyck laguage is deed by a relatio R which describes the airs of brackets that ca be used Followig a geeral aroach to rakig ad urakig [Li97], we comuted the s-th momets of the radom variable describig the legth of the rex to be read i order to determie the rak of a Dyck word Esecially, we oited out the mea value ad the variace of the legth of that rex with recisio O( ) for the Dyck laguage D R We showed that the umber of symbols to be read is liear i the legth of the words with a costat variace The urakig algorithm always has to create the whole word, so the mea value of the umber of symbols to be created is equal to the legth of the words ad the variace is equal to 0 Both algorithms reseted here are otimal with resect to the umber of symbols to be read (res created) from left to right Further, we metioed oe-to-oe corresodeces betwee the geeralized Dyck laguage ad ordered as well as exteded ordered biary trees With the geeralizatio of the Dyck laguage we are able to code ot oly the shae of a tree but also the iformatio at the odes ad/or the edges Thus, with the algorithms reseted here, we have rakig ad urakig algorithms for a liear codig of these two kids of trees at had Refereces [CRS7] [FS96] L Carlitz, D P Roselle ad R A Scoville, Some Remarks o Ballot-Tye Sequeces of Positive Itegers, Joural of Combiatorial Theory, 97, 58-7 P Flajolet ad R Sedgewick, A Itroductio to the Aalysis of Algorithms, Addiso-Wesley, 996 [GKP94] R L Graham, D E Kuth ad O Patashik, Cocrete Mathematics, d ed, Addiso-Wesley, 994 [Ha78] [Ke84] [Ke96a] [Ke96b] [Ke98] [Li97] M A Harriso, Itroductio to Formal Laguage Theory, Addiso- Wesley, 978 R Kem, Fudametals of the Average Case Aalysis of Particular Algorithms, Wiley-Teuber, 984 R Kem, O Prexes of Formal Laguages ad their Relatio to the Average-Case Comlexity of the Membershi Problem, Joural of Automata, Laguages ad Combiatorics, 997, 4, R Kem, O the Average Miimal Prex-Legth of the Geeralized Semi-Dycklaguage, RAIRO Theoretical Iformatics ad Alicatios 30, 996, 6, R Kem, Geeratig Words Lexicograhically: A Average-Case Aalysis, Acta Iformatica 35, 998, 7-89 J Liebeheschel, Rakig ad Urakig of Lexicograhically Ordered Words: A Average-Case Aalysis, Joural of Automata, Laguages ad Combiatorics, 998, 4,

14 [Li98] [Za80] J Liebeheschel, Lexicograhical Geeratio of a Geeralized Dyck Laguage, Techical Reort: Iterer Bericht 5/98, Fachbereich Iformatik, Joha Wolfgag Goethe-Uiversitat, Frakfurt am Mai, Germay, submitted S Zaks, Lexicograhic Geeratio of Ordered Trees, Theoretical Comuter Sciece 0, 980,

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

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

SYMMETRIC POSITIVE SEMI-DEFINITE SOLUTIONS OF AX = B AND XC = D

SYMMETRIC POSITIVE SEMI-DEFINITE SOLUTIONS OF AX = B AND XC = D Joural of Pure ad Alied Mathematics: Advaces ad Alicatios olume, Number, 009, Pages 99-07 SYMMERIC POSIIE SEMI-DEFINIE SOLUIONS OF AX B AND XC D School of Mathematics ad Physics Jiagsu Uiversity of Sciece

More information

On Some Identities and Generating Functions for Mersenne Numbers and Polynomials

On Some Identities and Generating Functions for Mersenne Numbers and Polynomials Turish Joural of Aalysis ad Number Theory, 8, Vol 6, No, 9-97 Available olie at htt://ubsscieubcom/tjat/6//5 Sciece ad Educatio Publishig DOI:69/tjat-6--5 O Some Idetities ad Geeratig Fuctios for Mersee

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

YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE

YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE CPSC 467a: Crytograhy ad Comuter Security Notes 16 (rev. 1 Professor M. J. Fischer November 3, 2008 68 Legedre Symbol Lecture Notes 16 ( Let be a odd rime,

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

ON SUPERSINGULAR ELLIPTIC CURVES AND HYPERGEOMETRIC FUNCTIONS

ON SUPERSINGULAR ELLIPTIC CURVES AND HYPERGEOMETRIC FUNCTIONS ON SUPERSINGULAR ELLIPTIC CURVES AND HYPERGEOMETRIC FUNCTIONS KEENAN MONKS Abstract The Legedre Family of ellitic curves has the remarkable roerty that both its eriods ad its suersigular locus have descritios

More information

COMPUTING FOURIER SERIES

COMPUTING FOURIER SERIES COMPUTING FOURIER SERIES Overview We have see i revious otes how we ca use the fact that si ad cos rereset comlete orthogoal fuctios over the iterval [-,] to allow us to determie the coefficiets of a Fourier

More information

tests 17.1 Simple versus compound

tests 17.1 Simple versus compound PAS204: Lecture 17. tests UMP ad asymtotic I this lecture, we will idetify UMP tests, wherever they exist, for comarig a simle ull hyothesis with a comoud alterative. We also look at costructig tests based

More information

THE INTEGRAL TEST AND ESTIMATES OF SUMS

THE INTEGRAL TEST AND ESTIMATES OF SUMS THE INTEGRAL TEST AND ESTIMATES OF SUMS. Itroductio Determiig the exact sum of a series is i geeral ot a easy task. I the case of the geometric series ad the telescoig series it was ossible to fid a simle

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

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

CONSTRUCTING TRUNCATED IRRATIONAL NUMBERS AND DETERMINING THEIR NEIGHBORING PRIMES

CONSTRUCTING TRUNCATED IRRATIONAL NUMBERS AND DETERMINING THEIR NEIGHBORING PRIMES CONSTRUCTING TRUNCATED IRRATIONAL NUMBERS AND DETERMINING THEIR NEIGHBORING PRIMES It is well kow that there exist a ifiite set of irratioal umbers icludig, sqrt(), ad e. Such quatities are of ifiite legth

More information

Classification of DT signals

Classification of DT signals Comlex exoetial A discrete time sigal may be comlex valued I digital commuicatios comlex sigals arise aturally A comlex sigal may be rereseted i two forms: jarg { z( ) } { } z ( ) = Re { z ( )} + jim {

More information

Confidence Intervals

Confidence Intervals Cofidece Itervals Berli Che Deartmet of Comuter Sciece & Iformatio Egieerig Natioal Taiwa Normal Uiversity Referece: 1. W. Navidi. Statistics for Egieerig ad Scietists. Chater 5 & Teachig Material Itroductio

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

Binary search tree recursions with harmonic toll functions

Binary search tree recursions with harmonic toll functions Joural of Comutatioal ad Alied Mathematics 4 (00 5 www.elsevier.com/locate/cam Biary search tree recursios with harmoic toll fuctios Alois Paholzer a, Helmut Prodiger b; a Istitut fur Algebra ud Comutermathemati,

More information

A Block Cipher Using Linear Congruences

A Block Cipher Using Linear Congruences Joural of Computer Sciece 3 (7): 556-560, 2007 ISSN 1549-3636 2007 Sciece Publicatios A Block Cipher Usig Liear Cogrueces 1 V.U.K. Sastry ad 2 V. Jaaki 1 Academic Affairs, Sreeidhi Istitute of Sciece &

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

A Construction That Produces Wallis-Type Formulas

A Construction That Produces Wallis-Type Formulas Advaces i Pure Mathematics 03 3 579-585 htt://dxdoiorg/0436/am0336074 Published Olie Setember 03 (htt://scirorg/joural/am) A Costructio That Produces Wallis-Tye Formulas Joshua M Fitzhugh David L Farsorth

More information

4 The Sperner property.

4 The Sperner property. 4 The Sperer property. I this sectio we cosider a surprisig applicatio of certai adjacecy matrices to some problems i extremal set theory. A importat role will also be played by fiite groups. I geeral,

More information

The Higher Derivatives Of The Inverse Tangent Function Revisited

The Higher Derivatives Of The Inverse Tangent Function Revisited Alied Mathematics E-Notes, 0), 4 3 c ISSN 607-50 Available free at mirror sites of htt://www.math.thu.edu.tw/ame/ The Higher Derivatives Of The Iverse Taget Fuctio Revisited Vito Lamret y Received 0 October

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

New Definition of Density on Knapsack Cryptosystems

New Definition of Density on Knapsack Cryptosystems Africacryt008@Casablaca 008.06.1 New Defiitio of Desity o Kasac Crytosystems Noboru Kuihiro The Uiversity of Toyo, Jaa 1/31 Kasac Scheme rough idea Public Key: asac: a={a 1, a,, a } Ecrytio: message m=m

More information

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Convergence of random variables. (telegram style notes) P.J.C. Spreij Covergece of radom variables (telegram style otes).j.c. Spreij this versio: September 6, 2005 Itroductio As we kow, radom variables are by defiitio measurable fuctios o some uderlyig measurable space

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

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

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

ECE534, Spring 2018: Final Exam

ECE534, Spring 2018: Final Exam ECE534, Srig 2018: Fial Exam Problem 1 Let X N (0, 1) ad Y N (0, 1) be ideedet radom variables. variables V = X + Y ad W = X 2Y. Defie the radom (a) Are V, W joitly Gaussia? Justify your aswer. (b) Comute

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

A Central Limit Theorem for Belief Functions

A Central Limit Theorem for Belief Functions A Cetral Limit Theorem for Belief Fuctios Larry G. Estei Kyougwo Seo November 7, 2. CLT for Belief Fuctios The urose of this Note is to rove a form of CLT (Theorem.4) that is used i Estei ad Seo (2). More

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

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

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

Axioms of Measure Theory

Axioms of Measure Theory MATH 532 Axioms of Measure Theory Dr. Neal, WKU I. The Space Throughout the course, we shall let X deote a geeric o-empty set. I geeral, we shall ot assume that ay algebraic structure exists o X so that

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

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play. Number Theory Math 5840 otes. Sectio 1: Axioms. I umber theory we will geerally be workig with itegers, though occasioally fractios ad irratioals will come ito play. Notatio: Z deotes the set of all itegers

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

On the Inverse of a Certain Matrix Involving Binomial Coefficients

On the Inverse of a Certain Matrix Involving Binomial Coefficients It. J. Cotemp. Math. Scieces, Vol. 3, 008, o. 3, 5-56 O the Iverse of a Certai Matrix Ivolvig Biomial Coefficiets Yoshiari Iaba Kitakuwada Seior High School Keihokushimoyuge, Ukyo-ku, Kyoto, 60-0534, Japa

More information

ECE534, Spring 2018: Solutions for Problem Set #2

ECE534, Spring 2018: Solutions for Problem Set #2 ECE534, Srig 08: s for roblem Set #. Rademacher Radom Variables ad Symmetrizatio a) Let X be a Rademacher radom variable, i.e., X = ±) = /. Show that E e λx e λ /. E e λx = e λ + e λ = + k= k=0 λ k k k!

More information

Advanced Stochastic Processes.

Advanced Stochastic Processes. Advaced Stochastic Processes. David Gamarik LECTURE 2 Radom variables ad measurable fuctios. Strog Law of Large Numbers (SLLN). Scary stuff cotiued... Outlie of Lecture Radom variables ad measurable fuctios.

More information

[ 47 ] then T ( m ) is true for all n a. 2. The greatest integer function : [ ] is defined by selling [ x]

[ 47 ] then T ( m ) is true for all n a. 2. The greatest integer function : [ ] is defined by selling [ x] [ 47 ] Number System 1. Itroductio Pricile : Let { T ( ) : N} be a set of statemets, oe for each atural umber. If (i), T ( a ) is true for some a N ad (ii) T ( k ) is true imlies T ( k 1) is true for all

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

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

The Asymptotic Expansions of Certain Sums Involving Inverse of Binomial Coefficient 1

The Asymptotic Expansions of Certain Sums Involving Inverse of Binomial Coefficient 1 Iteratioal Mathematical Forum, 5, 2, o. 6, 76-768 The Asymtotic Easios of Certai Sums Ivolvig Iverse of Biomial Coefficiet Ji-Hua Yag Deartmet of Mathematics Zhoukou Normal Uiversity, Zhoukou 466, P.R.

More information

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers)

Putnam Training Exercise Counting, Probability, Pigeonhole Principle (Answers) Putam Traiig Exercise Coutig, Probability, Pigeohole Pricile (Aswers) November 24th, 2015 1. Fid the umber of iteger o-egative solutios to the followig Diohatie equatio: x 1 + x 2 + x 3 + x 4 + x 5 = 17.

More information

PRIME RECIPROCALS AND PRIMES IN ARITHMETIC PROGRESSION

PRIME RECIPROCALS AND PRIMES IN ARITHMETIC PROGRESSION PRIME RECIPROCALS AND PRIMES IN ARITHMETIC PROGRESSION DANIEL LITT Abstract. This aer is a exository accout of some (very elemetary) argumets o sums of rime recirocals; though the statemets i Proositios

More information

Songklanakarin Journal of Science and Technology SJST R1 Teerapabolarn

Songklanakarin Journal of Science and Technology SJST R1 Teerapabolarn Soglaaari Joural of Sciece ad Techology SJST--.R Teeraabolar A No-uiform Boud o Biomial Aroimatio to the Beta Biomial Cumulative Distributio Fuctio Joural: Soglaaari Joural of Sciece ad Techology For Review

More information

k-equitable mean labeling

k-equitable mean labeling Joural of Algorithms ad Comutatio joural homeage: htt://jac.ut.ac.ir k-euitable mea labelig P.Jeyathi 1 1 Deartmet of Mathematics, Govidammal Aditaar College for Wome, Tiruchedur- 628 215,Idia ABSTRACT

More information

Chapter 6: BINOMIAL PROBABILITIES

Chapter 6: BINOMIAL PROBABILITIES Charles Bocelet, Probability, Statistics, ad Radom Sigals," Oxford Uiversity Press, 016. ISBN: 978-0-19-00051-0 Chater 6: BINOMIAL PROBABILITIES Sectios 6.1 Basics of the Biomial Distributio 6. Comutig

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

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

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

The Growth of Functions. Theoretical Supplement

The Growth of Functions. Theoretical Supplement The Growth of Fuctios Theoretical Supplemet The Triagle Iequality The triagle iequality is a algebraic tool that is ofte useful i maipulatig absolute values of fuctios. The triagle iequality says that

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

PUTNAM TRAINING PROBABILITY

PUTNAM TRAINING PROBABILITY PUTNAM TRAINING PROBABILITY (Last udated: December, 207) Remark. This is a list of exercises o robability. Miguel A. Lerma Exercises. Prove that the umber of subsets of {, 2,..., } with odd cardiality

More information

( ) = p and P( i = b) = q.

( ) = p and P( i = b) = q. MATH 540 Radom Walks Part 1 A radom walk X is special stochastic process that measures the height (or value) of a particle that radomly moves upward or dowward certai fixed amouts o each uit icremet 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

Seunghee Ye Ma 8: Week 5 Oct 28

Seunghee Ye Ma 8: Week 5 Oct 28 Week 5 Summary I Sectio, we go over the Mea Value Theorem ad its applicatios. I Sectio 2, we will recap what we have covered so far this term. Topics Page Mea Value Theorem. Applicatios of the Mea Value

More information

Principle Of Superposition

Principle Of Superposition ecture 5: PREIMINRY CONCEP O RUCUR NYI Priciple Of uperpositio Mathematically, the priciple of superpositio is stated as ( a ) G( a ) G( ) G a a or for a liear structural system, the respose at a give

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

1 Introduction to reducing variance in Monte Carlo simulations

1 Introduction to reducing variance in Monte Carlo simulations Copyright c 010 by Karl Sigma 1 Itroductio to reducig variace i Mote Carlo simulatios 11 Review of cofidece itervals for estimatig a mea I statistics, we estimate a ukow mea µ = E(X) of a distributio by

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

with an even sum and for k 1mod4 1, 2,, n with an odd sum. ,, n of Pascal s triangle count the subsets of 1, 2,, n

with an even sum and for k 1mod4 1, 2,, n with an odd sum. ,, n of Pascal s triangle count the subsets of 1, 2,, n Some remars o Rogers-Szegö olyomials ad Losaitsch s triagle Joha Cigler Faultät für Mathemati Uiversität Wie johacigler@uivieacat Abstract I this exository aer we collect some simle facts about aalogues

More information

MAXIMALLY FLAT FIR FILTERS

MAXIMALLY FLAT FIR FILTERS MAXIMALLY FLAT FIR FILTERS This sectio describes a family of maximally flat symmetric FIR filters first itroduced by Herrma [2]. The desig of these filters is particularly simple due to the availability

More information

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

Abstract. 1. Introduction This note is a supplement to part I ([4]). Let. F x (1.1) x n (1.2) Then the moments L x are the Catalan numbers

Abstract. 1. Introduction This note is a supplement to part I ([4]). Let. F x (1.1) x n (1.2) Then the moments L x are the Catalan numbers Abstract Some elemetary observatios o Narayaa polyomials ad related topics II: -Narayaa polyomials Joha Cigler Faultät für Mathemati Uiversität Wie ohacigler@uivieacat We show that Catala umbers cetral

More information

Journal of Ramanujan Mathematical Society, Vol. 24, No. 2 (2009)

Journal of Ramanujan Mathematical Society, Vol. 24, No. 2 (2009) Joural of Ramaua Mathematical Society, Vol. 4, No. (009) 199-09. IWASAWA λ-invariants AND Γ-TRANSFORMS Aupam Saikia 1 ad Rupam Barma Abstract. I this paper we study a relatio betwee the λ-ivariats of a

More information

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman:

Problems from 9th edition of Probability and Statistical Inference by Hogg, Tanis and Zimmerman: Math 224 Fall 2017 Homework 4 Drew Armstrog Problems from 9th editio of Probability ad Statistical Iferece by Hogg, Tais ad Zimmerma: Sectio 2.3, Exercises 16(a,d),18. Sectio 2.4, Exercises 13, 14. Sectio

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

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

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

Notes on the prime number theorem

Notes on the prime number theorem Notes o the rime umber theorem Keji Kozai May 2, 24 Statemet We begi with a defiitio. Defiitio.. We say that f(x) ad g(x) are asymtotic as x, writte f g, if lim x f(x) g(x) =. The rime umber theorem tells

More information

Elliptic Curves Spring 2017 Problem Set #1

Elliptic Curves Spring 2017 Problem Set #1 18.783 Ellitic Curves Srig 017 Problem Set #1 These roblems are related to the material covered i Lectures 1-3. Some of them require the use of Sage; you will eed to create a accout at the SageMathCloud.

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

The Boolean Ring of Intervals

The Boolean Ring of Intervals MATH 532 Lebesgue Measure Dr. Neal, WKU We ow shall apply the results obtaied about outer measure to the legth measure o the real lie. Throughout, our space X will be the set of real umbers R. Whe ecessary,

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

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

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

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

On forward improvement iteration for stopping problems

On forward improvement iteration for stopping problems O forward improvemet iteratio for stoppig problems Mathematical Istitute, Uiversity of Kiel, Ludewig-Mey-Str. 4, D-24098 Kiel, Germay irle@math.ui-iel.de Albrecht Irle Abstract. We cosider the optimal

More information

The r-generalized Fibonacci Numbers and Polynomial Coefficients

The r-generalized Fibonacci Numbers and Polynomial Coefficients It. J. Cotemp. Math. Scieces, Vol. 3, 2008, o. 24, 1157-1163 The r-geeralized Fiboacci Numbers ad Polyomial Coefficiets Matthias Schork Camillo-Sitte-Weg 25 60488 Frakfurt, Germay mschork@member.ams.org,

More information

#A51 INTEGERS 14 (2014) MULTI-POLY-BERNOULLI-STAR NUMBERS AND FINITE MULTIPLE ZETA-STAR VALUES

#A51 INTEGERS 14 (2014) MULTI-POLY-BERNOULLI-STAR NUMBERS AND FINITE MULTIPLE ZETA-STAR VALUES #A5 INTEGERS 4 (24) MULTI-POLY-BERNOULLI-STAR NUMBERS AND FINITE MULTIPLE ZETA-STAR VALUES Kohtaro Imatomi Graduate School of Mathematics, Kyushu Uiversity, Nishi-ku, Fukuoka, Japa k-imatomi@math.kyushu-u.ac.p

More information

Estimation for Complete Data

Estimation for Complete Data Estimatio for Complete Data complete data: there is o loss of iformatio durig study. complete idividual complete data= grouped data A complete idividual data is the oe i which the complete iformatio of

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

Matrices and vectors

Matrices and vectors Oe Matrices ad vectors This book takes for grated that readers have some previous kowledge of the calculus of real fuctios of oe real variable It would be helpful to also have some kowledge of liear algebra

More information

Sketch of Dirichlet s Theorem on Arithmetic Progressions

Sketch of Dirichlet s Theorem on Arithmetic Progressions Itroductio ad Defiitios Sketch of o Arithmetic Progressios Tom Cuchta 24 February 2012 / Aalysis Semiar, Missouri S&T Outlie Itroductio ad Defiitios 1 Itroductio ad Defiitios 2 3 Itroductio ad Defiitios

More information

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution EEL5: Discrete-Time Sigals ad Systems. Itroductio I this set of otes, we begi our mathematical treatmet of discrete-time s. As show i Figure, a discrete-time operates or trasforms some iput sequece x [

More information

On Generalized Fibonacci Numbers

On Generalized Fibonacci Numbers Applied Mathematical Scieces, Vol. 9, 215, o. 73, 3611-3622 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/1.12988/ams.215.5299 O Geeralized Fiboacci Numbers Jerico B. Bacai ad Julius Fergy T. Rabago Departmet

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

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

ON SOME NEW SEQUENCE SPACES OF NON-ABSOLUTE TYPE RELATED TO THE SPACES l p AND l I. M. Mursaleen and Abdullah K. Noman

ON SOME NEW SEQUENCE SPACES OF NON-ABSOLUTE TYPE RELATED TO THE SPACES l p AND l I. M. Mursaleen and Abdullah K. Noman Faculty of Scieces ad Mathematics, Uiversity of Niš, Serbia Available at: htt://www.mf.i.ac.rs/filomat Filomat 25:2 20, 33 5 DOI: 0.2298/FIL02033M ON SOME NEW SEQUENCE SPACES OF NON-ABSOLUTE TYPE RELATED

More information

Series with Central Binomial Coefficients, Catalan Numbers, and Harmonic Numbers

Series with Central Binomial Coefficients, Catalan Numbers, and Harmonic Numbers 3 47 6 3 Joural of Iteger Sequeces, Vol. 5 (0), Article..7 Series with Cetral Biomial Coefficiets, Catala Numbers, ad Harmoic Numbers Khristo N. Boyadzhiev Departmet of Mathematics ad Statistics Ohio Norther

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

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

A REFINEMENT OF JENSEN S INEQUALITY WITH APPLICATIONS. S. S. Dragomir 1. INTRODUCTION

A REFINEMENT OF JENSEN S INEQUALITY WITH APPLICATIONS. S. S. Dragomir 1. INTRODUCTION TAIWANESE JOURNAL OF MATHEMATICS Vol. 14, No. 1,. 153-164, February 2010 This aer is available olie at htt://www.tjm.sysu.edu.tw/ A REFINEMENT OF JENSEN S INEQUALITY WITH APPLICATIONS FOR f-divergence

More information

Combinatorially Thinking

Combinatorially Thinking Combiatorially Thiig SIMUW 2008: July 4 25 Jeifer J Qui jjqui@uwashigtoedu Philosophy We wat to costruct our mathematical uderstadig To this ed, our goal is to situate our problems i cocrete coutig cotexts

More information

MT5821 Advanced Combinatorics

MT5821 Advanced Combinatorics MT5821 Advaced Combiatorics 9 Set partitios ad permutatios It could be said that the mai objects of iterest i combiatorics are subsets, partitios ad permutatios of a fiite set. We have spet some time coutig

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