On-line multiplication in real and complex base
|
|
- Marylou Watts
- 5 years ago
- Views:
Transcription
1 ) On-line multiplication in real complex base Christiane Frougny LIAFA, CNS UM place Jussieu, Paris Cedex 05, France Université Paris 8 ChristianeFrougny@liafajussieufr Athasit Surarerks Computer Engineering Department Faculty of Engineering Chulalongkorn University Phayathai road, Bangkok 100, Thail athasit@cpengchulaacth Abstract Multiplication of two numbers represented in base shown to be computable by an on-line algorithm when is a negative integer, a positive non-integer real number, or a complex number of the form, where is a positive integer 1 Introduction On-line arithmetic, introduced in [24], is a mode of computation where opers results flow through arithmetic units in a digit serial manner, starting with the most significant digit To generate the first digit of the result, the first digits of the opers are required The integer is called the delay of the algorithm This technique allows the pipelining of different operations such as addition, multiplication division It is also appropriate for the processing of real numbers having infinite expansions : it is well known that when multiplying two real numbers, only the left part of the result is significant On-line arithmetic is used for special circuits such as in signal processing, for very long precision arithmetic One of the interests of on-line computable functions is that they are continuous for the usual topology on the set of infinite sequences on a finite digit set To be able to perform on-line computation, it is necessary to use a redundant number system, where a number may have more than one representation (see [24, 5]) An example of such a system is the so-called signed-digit number system It is composed of an integer base a signed-digit set of the form, with In this sytem addition can be performed in constant time in parallel [1, 4] On-line multiplication is also feasible [24, 5] Parallel addition is used internally in the multiplication algorithm is On-line algorithms for addition, subtraction, multiplication, division square-root in integer base are well studied, see [2, 6, 1] In this paper we study the multiplication in base when is a negative integer, or a non-integer real number, or a complex number of the form It is known that any real number can be represented in negative integer base without a sign [12, 1, 15], that, with a signed-digit set, addition is computable in constant time in parallel, is computable by an on-line finite state automaton [7] We show that the on-line multiplication used in the signed-digit number system can be applied in negative base Negative base is related to some complex number systems, see below When the base is a real number, by the greedy algorithm of ényi [2], one can compute a representation in base of any real number belonging to the interval!", called its -expansion, where the digits +* are elements of the canonical digit set #&'(!) if is not an integer, or of #,-(! if is an integer In such a representation, when is not an integer, not all the patterns of digits are allowed (see [21] for instance) For instance in base the golden ratio, the - expansion of the number 8;:< 5 is (!7 = The pattern is forbidden Different -representations of 8 are >77 =, or 7!0?! 6 0? > 6 0@ > 6 for instance This system is thus naturally redundant epresentation of numbers in non-integer base is encountered for instance in coding theory, see [10], in the modelization of quasicrystals, see [] In [8] we have studied the problem of the conversion+* in a real base from a digit set AB&( > C! with C to the canonical digit set #, without changing the numerical value Addition multiplication by a fixed positive integer are particular cases of digit set conversion We have proved that the digit set conversion is on-line computable
2 & Moreover, if the base is a Pisot number 1 this conversion is realizable by an on-line finite automaton This means that in the Pisot case, digit set conversion needs only a finite storage memory, independent of the size of the data owever, addition is not computable in constant time in parallel In this work, we prove that multiplication of real numbers represented in real base is on-line computable with a certain delay explicitly computed Our algorithm can be applied to the particular case that is an integer With digit set >, this is the Carry- Save representation The delay of our on-line multiplication algorithm in the Carry-Save representation is greater than the delay of on-line multiplication in the signed-digit representation, but the Carry-Save representation takes less memory We then consider the Knuth complex number system, an in- which is composed of the base, with teger, canonical digit set (! Every complex number has a representation in this system [12] This allows a unified treatment of the real imaginary parts of a complex number We show that in the Knuth number system with a signed-digit set, with, multiplication is on-line computable It is known that addition is computable in constant time in parallel, is computable by an on-line finite state automaton [7] The case together with the signed-digit set 7, has been considered in [17, 16] with practical applications Other complex numeration systems have been considered For instance the Penney complex number system consists of the complex base the canonical digit set ( > Every complex number is representable in this system, the representation is unique finite for the Gaussian integers [22] It is shown in [25] that in base + with signed-digit set 7 > multiplication is online computable The techniques are different from the ones used in the Knuth number system 2 Preliminaries 21 On-line computability Let # be two finite digit sets, denote by # the set of infinite sequences of elements of # Let # 0? The function is said to be on-line computable with delay if there exists a natural number such that, for each there exists a function # such that 1 A Pisot number is an algebraic integer such that its algebraic conjugates are strictly less than in modulus The golden ratio the natural integers are Pisot numbers 0? 6, where # denotes the set of sequences of length of elements of # This definition extends readily to functions of several variables It is well known that some functions are not on-line computable, like addition in the binary system with canonical digit set ( > Addition is considered as a conversion from >7 to (! Denote by! the infinite concatenation "#, by the word concatenated & times Since 0?! ' 6 0?! 6! for any, one sees that the most significant digit of the result depends on the least significant digits of the input ecall that a distance ( can be defined on #) as follows: let 0* 6 +, 0*, 6 be in #, ( 0-, 6 10 where :; =<, if >, <, ( 0-, 6 otherwise The set #? is then a compact metric space This topology is equivalent to the product topology Then any function from # to which is on-line computable with delay is -Lipschitz, is thus uniformly continuous [8] Let A be a digit set We say that multiplication is on-line A A A A computable with delay in base on the digit set if there exists a CB 0?8 + 0-DE + 0GF such that + F + 8 B which is on-line computable with delay Note that apriori, because of redundancy, the result of such a process is not unique, but the algorithms we shall consider later on are deterministic, thus compute a function In the following, we will make the assumption that the opers begin with a run of zeroes This allows to ignore the delay inside the computation 22 Number representation A survey on numeration systems can be found in [14, Chapter 7] Let A be a finite digit set of real or complex digits let be a real or complex number such that A -representation of a real or complex number 8 with digits in A is a finite or a right +N infinite sequence I with 8 KJ A such that 8ML O 8 It is denoted by 0?8 8QP In this paper we consider only representations of the form 0?8 6 + J A5 representing a number 8 equal to L 8 When a representation ends with infinitely many zeroes, it is said to be finite, the zeroes are usually omitted + D
3 * * 2 Signed-digit number system The base is a positive integer With a signed-digit set of the form, the representation is redundant addition can be performed in constant time in parallel, is computable by an on-line finite automaton, [1, 4, 1] 24 Negative base numeration systems Let the base be a negative integer It is well known (see [12, 1, 15]) that any real number can be represented without a sign in base with digits from the canonical digit set #& > With a signed-digit set of the form,, with 2 the representation is redundant addition can be performed in constant time in parallel, is computable by an on-line finite automaton [7] 25 epresentations in real base Let be a real number, generally not an integer Any real number 8 J >" can be represented in base by the following greedy algorithm, [2] : denote by ) by 7 the integral part the fractional part of a number Let P,8 for let 8 ) Thus 8 L + 8, where the digits 8 +* are elements of the canonical digit set # '(!) if J, #= ( > otherwise The sequence of # is called the -expansion of 8 When is not an integer, a number 8 may have several different -representations on # : this system is naturally redundant The -expansion obtained by the greedy algorithm is the greatest one in the lexicographic order It is shown in [8] that addition in real base is on-line computable When the base is a Pisot number, addition is computable by an on-line finite automaton 26 Knuth number system ere the base is a complex number of the form, where is an integer Any complex number is representable in base with digits in the canonical digit set # B( >, (see [12, 11, ]) If is a square then every Gaussian integer has a unique finite representation of the form P, J # Thus, Since + &=, we have 02= P 0 = 6 02= D P 02= 6 So the -representation of can be obtained by intertwinning the 0 = 6 -representation of 8 the 0 = 6 - representation of D Most studied cases are # (! :, strongly related to base, & # B(! ([12, 1, 20, 17, 16]) With a signed-digit set of the form 7,,, addition is computable in constant time in parallel, is computable by an on-line finite state automaton [7] On-line multiplication algorithm in integer base 1 Classical on-line multiplication algorithm First we recall the classical algorithm for on-line multiplication in the signed-digit number system, see [24, 5] We give our own presentation TEOEM 1 Multiplication of two numbers represented in integer base with digits in 7,, is computable by an on-line algorithm with delay, where is the smallest positive integer such that 0 6 (1) Proof Denote by the partial sum L I*I 8 ( respectively ), denote by round( ) the closest integer to Classical on-line multiplication algorithm Input: two sequences 8 0?8 6 + D 0-D 6 of such that 8,8 D D, Output: a sequence F 0GF 6 + of such that L F ML + 8 B L D begin 1 F,, F 2 = 4 while, do 5 0 +)F 6 DE 8 6 F round0 6 7, end First let us prove by induction that for any
4 ) C C ) ) C * C By Line 5 of the algorithm, 0 F 6 0*D 8 6 By induction hypothesis, 1 F 0-D 8 6, the result follows from the fact that 8, the similar relations for Thus at step &, +0 F 6 Since F, the algorithm is convergent The sequencef F is a -representation of the most significant half of the product Now it remains to prove that the digits F s computed in Line 6 of the algorithm are in the digit set It is enough to show that " From Line 5 the fact that " are less than follows that 0 6 by (1) Note that additions multiplications by a digit in Line 5 are performed in constant time in parallel COOLLAY 1 The delay for Algorithm takes the following values If, If :, * If then If if, & 2 On-line multiplication in negative base Now we consider the case where the base is a negative integer the digit set is, POPOSITION 1 Multiplication of two numbers represented in negative base digit set 7, >, is computable by the classical on-line algorithm with delay, where is the smallest positive integer such that Proof At step & 0 6 (2) of the algorithm we get that +0 F 6 Since F, To show thatf is in, we have to show that From Line 5 the fact that are less than follows that by (2) On-line multiplication in real base Let+* AB > C> be a digit set containing #, that is, TEOEM 2 Multiplication of two numbers represented in base with digits in A is computable by an on-line algorithm with delay, where is the smallest positive integer such that 0 6 C4, () Proof +* Clearly a number satisfying () exists, because eal base on-line multiplication algorithm Input: two sequences D 0*D 6 + of A5 such that 8+,8Q D! D, 2 Output: a sequence F 0GF 6 + of A such that L F L + 8 B L D begin 1 F,, F 2 = 4 while, do 5 0 +)F 6 DE 8 6 F )C 7, end As above, at step & Since F, we get +0 F the algorithm is convergent It remains to prove that thef s are in A, ie F C It is enough to show that C4 From Line 5 the fact that are less than follows that by () 2 This implies that 0 6 C are in 6
5 EXAMPLE 1 Let ; be the golden ratio Then the canonical digit set is # ( > Multiplication on # is on-line computable with delay 5 by () This delay does not seem to be optimal, we conjecture that is optimal We give in Table 1 below the detail of a computation with 8 D&!! The numerical value of 8 is equal to 0 6 The result is F P >(7 >77 > Computations are represented in base, in a symbolic way 0 C 6 F 6 77 > 7 7! 8!7 >(! >(7 >7 > 10!7 >(7 > 11 >(!7! 12 7!7! 1 7 >77 > 14!7! 15 >(7 > > 17 7 > 18 7 > 1! 20 > Table 1 On-line multiplication in base with delay 5 Note that the result is not the greedy -expansion in general For instance with 8 ( >( >( >( >! D! >(! >( >( >!, Algorithm gives the result F >(7 >77 > (!, which contains the forbidden pattern 7 EXAMPLE 2 Let 0?: 56 golden ratio Then the canonical digit set is #4 (! Multiplication on # is on-line computable with delay 7 the delay is achievable, take 8 D 7 The result given by Algorithm would then be F!7: >( >7 >7 which is not on the alphabet # be the square of the : This delay is optimal for our algorithm : suppose that 5 Carry-Save versus Signed-Digit In this section is an integer Take A >, then the representation on A is redundant We call it the Carry-Save representation, because it is used in computer arithmetic under that name in the case that for internal additions in multipliers, see [18] By the real base algorithm, multiplication in base 2 on (! is on-line computable with delay : This delay is optimal, as shown by the following7 example Suppose that the delay is 2, take 8 D The result computed by the algorithm would be equal & to F &7 >(:! If :, multiplication on A ( > is on-line computable with the optimal delay elation () is never satisfied for integer C, which is not surprising because it is known that multiplication in integer base on the canonical digit set is not on-line computable Internal additions multiplications by a digit in Algorithm can be performed in parallel when is an integer This is well known when We give below the algorithm for addition in the general case POPOSITION 2 Addition in the Carry-Save representation can be performed in constant time in parallel Proof Input: 8 8 P D D'P with 8 D in AB > for & Output: P with in A such that P I -I P I*I begin 1 In parallel for 8 P I*I & do 2 8 D if then ; 4 if then if then ; else 7 ; 5 if ( ) then ; 6 if then 7 ; 7 if then if then ; else 7 ; 8 if then ; 10 end Clearly, P I -I P I*I 8 P I*I D D
6 * 6 6 One has to prove that the digits s are elements of A Since, then The case can happen only if,, which is impossible The case can happen only if, which is impossible as well The delay for multiplication in the signed-digit representation is better than in the Carry-Save representation, but note that the digit-set in the signed-digit representation has cardinality, to be compared to card 0@A 6, the digits in A being nonnegative take less memory to be stored 6 On-line multiplication in the Knuth complex number system TEOEM Multiplication of two complex numbers represented in base, with an integer, digit set,, is computable by an on-line algorithm with delay, where is the smallest odd integer such that 0? 6 (4) Proof On-line multiplication algorithm Input: two sequences 8 0?8 6 + D 0*D 6 + of ) such that 8,8, D D Output: a sequence F 0 F 6 of ) such that L + F L 8 B L D begin 1 F,, F 2 = 4 while do 5 0 +)F 6 D 8 6 F 4 # ) 0 6 ( 7 end The digit F will belong to if 0 6 By Line 6, for all, 0 F " 6 0 C CF Thus, by Line 5, ( First suppose that is odd Then the same holds true for Thus 0 6 0? 6 by (4) Suppose now that a better even delay could be achieved Then 0 6 thus C 6 This delay will work if 0? Suppose that the delay in (4) is of the form the delay in (5) is of the form Then 0 6 0,= 6 7 (5), set is the smallest positive integer such that is the smallest positive integer such that obviously Since for & 0 F 0 0, F 6 0 F the algorithm is convergent, F F is a - representation of the most significant half of
7 COOLLAY 2 The delay for Algorithm takes the following values If <, If or < then : If < ( then : In the other cases, for the delay is 5 EXAMPLE Let 7 7 > By Corollary 2 the delay is equal to 5 Let 8 > D 7 > The result is F P F 6 7! 7!7 8 >7 >7 ( ( > Table 2 On-line multiplication in base with delay 5 Acknowledgements We are pleased to thank the anonymous referee who indicated us references [17] [16] eferences [1] A Avizienis, Signed-digit number representations for fast parallel arithmetic IE Transactions on electronic computers 10 (161), [2] J-C Bajard, J Duprat, S Kla J-M Muller, Some operators for on-line radix 2 computations J of Parallel Distributed Computing 22 (14), 6-45 [] Č Burdík, Ch Frougny, J-P Gazeau Krejcar, Beta-integers as natural counting systems for quasicrystals J of Physics A: Math Gen 1 (18), [4] CY Chow JE obertson, Logical design of a redundant binary adder Proc 4th Symposium on Computer Arithmetic, IEEE Computer Society Press (178), [5] MD Ercegovac, On-line arithmetic: An overview eal time Signal Processing VII SPIE 45 (184), 86 [6] MD Ercegovac, An on-line square-rooting algorithm Proc 4th Symposium on Computer Arithmetic, IEEE Computer Society Press (178) [7] Ch Frougny, On-line finite automata for addition in some numeration systems Theoretical Informatics Applications (1), [8] Ch Frougny, On-line digit set conversion in real base Theoret Comp Sci 22 (200), [] W Gilbert, adix representations of quadratic fields J Math Anal Appl 8 (181), [10] W Kautz, Fibonacci codes for synchronization control IEEE Trans Infor Th 11 (165), [11] I Kátai J Szabó, Canonical number systems Acta Sci Math 7 (175), [12] DE Knuth, An imaginary number system CACM (160), [1] DE Knuth, The Art of Computer Programming, vol 2: Seminumerical Algorithms, 2nd ed, Addison- Wesley, 188 [14] M Lothaire, Algebraic Combinatorics on Words, Cambridge University Press, 2002 [15] DW Matula, Basic Digit Sets for adix epresentation JACM 2 (182), [16] McIlhenny, Complex number on-line arithmetic for reconfigurable hardware : algorithms, implementations, applications PhD Dissertation, Computer Science Department, UCLA, 2002 [17] McIlhenny MD Ercegovac, On-line algorithms for complex number arithmetic Proc 2nd Asilomar Conference on Signals, Systems, Computers (18) [18] J-M Muller, Arithmétique des ordinateurs, Masson, 18 [1] J-M Muller, Some characterizations of functions computable in on-line arithmetic IEEE Trans on Computers 4 (14),
8 [20] AM Nielsen J-M Muller, Borrow-Save Adders for eal Complex Number Systems In Proceedings of the Conference eal Numbers Computers, Marseilles, 16, [21] W Parry, On the -expansions of real numbers Acta Math Acad Sci ungar 11 (160), [22] W Penney, A binary system for complex numbers JACM 12 (165), [2] A ényi, epresentations for real numbers their ergodic properties Acta Math Acad Sci ungar 8 (157), [24] KS Trivedi MD Ercegovac, On-line algorithms for division multiplication IEEE Trans on Computers C 26 (177), [25] A Surarerks, On-line arithmetics in real complex base PhD Dissertation, University Paris 6, LIAFA report , june 2001
On-line multiplication in real and complex base
On-line multiplication in real complex base Christiane Frougny LIAFA, CNRS UMR 7089 2 place Jussieu, 75251 Paris Cedex 05, France Université Paris 8 Christiane.Frougny@liafa.jussieu.fr Athasit Surarerks
More informationTHE DIVISION ALGORITHM IN COMPLEX BASES
Can. Math. Bull. Vol. 39 (), 996 pp. 47 54 THE DIVISION ALGORITHM IN COMPLEX BASES WILLIAM J. GILBERT ABSTRACT. Complex numbers can be represented in positional notation using certain Gaussian integers
More informationOn-line Algorithms for Complex Number Arithmetic
Online Algorithms for Complex Number Arithmetic Robert McIlhenny rmcilhen@csuclaedu Computer Science epartment University of California Los Angeles, CA 94 Miloš Ercegovac milos@csuclaedu Abstract A class
More informationPACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS
PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS PAUL BALISTER Abstract It has been shown [Balister, 2001] that if n is odd and m 1,, m t are integers with m i 3 and t i=1 m i = E(K n) then K n can be decomposed
More informationThe Global Standard for Mobility (GSM) (see, e.g., [6], [4], [5]) yields a
Preprint 0 (2000)?{? 1 Approximation of a direction of N d in bounded coordinates Jean-Christophe Novelli a Gilles Schaeer b Florent Hivert a a Universite Paris 7 { LIAFA 2, place Jussieu - 75251 Paris
More informationGeneral properties of staircase and convex dual feasible functions
General properties of staircase and convex dual feasible functions JÜRGEN RIETZ, CLÁUDIO ALVES, J. M. VALÉRIO de CARVALHO Centro de Investigação Algoritmi da Universidade do Minho, Escola de Engenharia
More informationCS321 Introduction To Numerical Methods
CS3 Introduction To Numerical Methods Fuhua (Frank) Cheng Department of Computer Science University of Kentucky Lexington KY 456-46 - - Table of Contents Errors and Number Representations 3 Error Types
More informationUnit 7 Number System and Bases. 7.1 Number System. 7.2 Binary Numbers. 7.3 Adding and Subtracting Binary Numbers. 7.4 Multiplying Binary Numbers
Contents STRAND B: Number Theory Unit 7 Number System and Bases Student Text Contents Section 7. Number System 7.2 Binary Numbers 7.3 Adding and Subtracting Binary Numbers 7.4 Multiplying Binary Numbers
More information1 Elementary number theory
Math 215 - Introduction to Advanced Mathematics Spring 2019 1 Elementary number theory We assume the existence of the natural numbers and the integers N = {1, 2, 3,...} Z = {..., 3, 2, 1, 0, 1, 2, 3,...},
More informationin this web service Cambridge University Press
978-0-51-85748- - Switching and Finite Automata Theory, Third Edition Part 1 Preliminaries 978-0-51-85748- - Switching and Finite Automata Theory, Third Edition CHAPTER 1 Number systems and codes This
More informationPaths partition with prescribed beginnings in digraphs: a Chvátal-Erdős condition approach.
Paths partition with prescribed beginnings in digraphs: a Chvátal-Erdős condition approach. S. Bessy, Projet Mascotte, CNRS/INRIA/UNSA, INRIA Sophia-Antipolis, 2004 route des Lucioles BP 93, 06902 Sophia-Antipolis
More informationTo illustrate what is intended the following are three write ups by students. Diagonalization
General guidelines: You may work with other people, as long as you write up your solution in your own words and understand everything you turn in. Make sure to justify your answers they should be clear
More informationA Residue Approach of the Finite Field Arithmetics
A Residue Approach of the Finite Field Arithmetics 1/20 A Residue Approach of the Finite Field Arithmetics JC Bajard LIRMM, CNRS UM2 161 rue Ada, 34392 Montpellier cedex 5, France A Residue Approach of
More informationAN ALGORITHM FOR A MINIMUM COVER OF A GRAPH
AN ALGORITHM FOR A MINIMUM COVER OF A GRAPH ROBERT Z. NORMAN1 AND MICHAEL O. RABIN2 Introduction. This paper contains two similar theorems giving conditions for a minimum cover and a maximum matching of
More informationVHDL IMPLEMENTATION OF IEEE 754 FLOATING POINT UNIT
VHDL IMPLEMENTATION OF IEEE 754 FLOATING POINT UNIT Ms. Anjana Sasidharan Student, Vivekanandha College of Engineering for Women, Namakkal, Tamilnadu, India. Abstract IEEE-754 specifies interchange and
More informationLecture 1. 1 Notation
Lecture 1 (The material on mathematical logic is covered in the textbook starting with Chapter 5; however, for the first few lectures, I will be providing some required background topics and will not be
More informationOn Sequential Topogenic Graphs
Int. J. Contemp. Math. Sciences, Vol. 5, 2010, no. 36, 1799-1805 On Sequential Topogenic Graphs Bindhu K. Thomas, K. A. Germina and Jisha Elizabath Joy Research Center & PG Department of Mathematics Mary
More informationA Residue Approach to the Finite Field Arithmetics
A Residue Approach to the Finite Field Arithmetics 1/23 A Residue Approach to the Finite Field Arithmetics JC Bajard LIRMM, CNRS UM2 161 rue Ada, 34392 Montpellier cedex 5, France CIRM 2009 A Residue Approach
More informationA.1 Numbers, Sets and Arithmetic
522 APPENDIX A. MATHEMATICS FOUNDATIONS A.1 Numbers, Sets and Arithmetic Numbers started as a conceptual way to quantify count objects. Later, numbers were used to measure quantities that were extensive,
More informationChapter Summary. Mathematical Induction Recursive Definitions Structural Induction Recursive Algorithms
Chapter Summary Mathematical Induction Recursive Definitions Structural Induction Recursive Algorithms Section 5.1 Sec.on Summary Mathematical Induction Examples of Proof by Mathematical Induction Mistaken
More informationWilliam Linz 1 Department of Mathematics, Texas A&M University, College Station, Texas
#A59 INTEGERS 16 (016) r-completeness OF SEQUENCES OF POSITIVE INTEGERS William Linz 1 Department of Mathematics, Texas A&M University, College Station, Texas willdomath@tamu.edu Edna Jones Department
More informationTopology and Topological Spaces
Topology and Topological Spaces Mathematical spaces such as vector spaces, normed vector spaces (Banach spaces), and metric spaces are generalizations of ideas that are familiar in R or in R n. For example,
More informationI-CONTINUITY IN TOPOLOGICAL SPACES. Martin Sleziak
I-CONTINUITY IN TOPOLOGICAL SPACES Martin Sleziak Abstract. In this paper we generalize the notion of I-continuity, which was defined in [1] for real functions, to maps on topological spaces. We study
More informationModule 11. Directed Graphs. Contents
Module 11 Directed Graphs Contents 11.1 Basic concepts......................... 256 Underlying graph of a digraph................ 257 Out-degrees and in-degrees.................. 258 Isomorphism..........................
More informationSpeeding Up Evaluation of Powers and Monomials
Speeding Up Evaluation of Powers and Monomials (Extended Abstract) Hatem M. Bahig and Hazem M. Bahig Computer Science Division, Department of Mathematics, Faculty of Science, Ain Shams University, Cairo,
More informationWeighted Bit-Set Encodings for Redundant Digit Sets: Theory and Applications
Proc. 36th Asilomar Conf. Signals, Systems, and Computers, Pacific Grove, CA, 2001 Nov. 4-7 Weighted Bit-Set Encodings for Redundant Digit Sets: Theory and Applications Ghassem Jaberipur Sharif Univ. of
More informationCOUNTING THE NUMBER OF WINNING BINARY STRINGS IN THE 1-DIMENSIONAL SAME GAME. Department of Mathematics Oberlin College Oberlin OH 44074
COUNTING THE NUMBER OF WINNING BINARY STRINGS IN THE 1-DIMENSIONAL SAME GAME CHRIS BURNS AND BENJAMIN PURCELL Department of Mathematics Oberlin College Oberlin OH 44074 Abstract. Ralf Stephan recently
More informationWinning Positions in Simplicial Nim
Winning Positions in Simplicial Nim David Horrocks Department of Mathematics and Statistics University of Prince Edward Island Charlottetown, Prince Edward Island, Canada, C1A 4P3 dhorrocks@upei.ca Submitted:
More informationDiscrete Applied Mathematics. A revision and extension of results on 4-regular, 4-connected, claw-free graphs
Discrete Applied Mathematics 159 (2011) 1225 1230 Contents lists available at ScienceDirect Discrete Applied Mathematics journal homepage: www.elsevier.com/locate/dam A revision and extension of results
More information3 Fractional Ramsey Numbers
27 3 Fractional Ramsey Numbers Since the definition of Ramsey numbers makes use of the clique number of graphs, we may define fractional Ramsey numbers simply by substituting fractional clique number into
More informationSlides for Faculty Oxford University Press All rights reserved.
Oxford University Press 2013 Slides for Faculty Assistance Preliminaries Author: Vivek Kulkarni vivek_kulkarni@yahoo.com Outline Following topics are covered in the slides: Basic concepts, namely, symbols,
More informationA digital pretopology and one of its quotients
Volume 39, 2012 Pages 13 25 http://topology.auburn.edu/tp/ A digital pretopology and one of its quotients by Josef Šlapal Electronically published on March 18, 2011 Topology Proceedings Web: http://topology.auburn.edu/tp/
More informationPrimes in Classes of the Iterated Totient Function
1 2 3 47 6 23 11 Journal of Integer Sequences, Vol. 11 (2008), Article 08.1.2 Primes in Classes of the Iterated Totient Function Tony D. Noe 14025 NW Harvest Lane Portland, OR 97229 USA noe@sspectra.com
More informationDISCRETE MATHEMATICS
DISCRETE MATHEMATICS WITH APPLICATIONS THIRD EDITION SUSANNA S. EPP DePaul University THOIVISON * BROOKS/COLE Australia Canada Mexico Singapore Spain United Kingdom United States CONTENTS Chapter 1 The
More informationChapter 4. square sum graphs. 4.1 Introduction
Chapter 4 square sum graphs In this Chapter we introduce a new type of labeling of graphs which is closely related to the Diophantine Equation x 2 + y 2 = n and report results of our preliminary investigations
More informationThe strong chromatic number of a graph
The strong chromatic number of a graph Noga Alon Abstract It is shown that there is an absolute constant c with the following property: For any two graphs G 1 = (V, E 1 ) and G 2 = (V, E 2 ) on the same
More informationMath Introduction to Advanced Mathematics
Math 215 - Introduction to Advanced Mathematics Number Theory Fall 2017 The following introductory guide to number theory is borrowed from Drew Shulman and is used in a couple of other Math 215 classes.
More informationTHE LOGIC OF COMPOUND STATEMENTS
CHAPTER 2 THE LOGIC OF COMPOUND STATEMENTS Copyright Cengage Learning. All rights reserved. SECTION 2.5 Application: Number Systems and Circuits for Addition Copyright Cengage Learning. All rights reserved.
More informationGraph Theory Questions from Past Papers
Graph Theory Questions from Past Papers Bilkent University, Laurence Barker, 19 October 2017 Do not forget to justify your answers in terms which could be understood by people who know the background theory
More informationON WIENER INDEX OF GRAPH COMPLEMENTS. Communicated by Alireza Abdollahi. 1. Introduction
Transactions on Combinatorics ISSN (print): 51-8657, ISSN (on-line): 51-8665 Vol. 3 No. (014), pp. 11-15. c 014 University of Isfahan www.combinatorics.ir www.ui.ac.ir ON WIENER INDEX OF GRAPH COMPLEMENTS
More informationBoolean networks, local models, and finite polynomial dynamical systems
Boolean networks, local models, and finite polynomial dynamical systems Matthew Macauley Department of Mathematical Sciences Clemson University http://www.math.clemson.edu/~macaule/ Math 4500, Spring 2017
More informationKey words. graph algorithms, chromatic number, circular arc graphs, induced cycles
SIAM J. COMPUT. Vol. 0, No. 0, pp. 000 000 c XXXX Society for Industrial and Applied Mathematics REVISITING TUCKER S ALGORITHM TO COLOR CIRCULAR ARC GRAPHS MARIO VALENCIA-PABON Abstract. The circular arc
More informationPROOF OF THE COLLATZ CONJECTURE KURMET SULTAN. Almaty, Kazakhstan. ORCID ACKNOWLEDGMENTS
PROOF OF THE COLLATZ CONJECTURE KURMET SULTAN Almaty, Kazakhstan E-mail: kurmet.sultan@gmail.com ORCID 0000-0002-7852-8994 ACKNOWLEDGMENTS 2 ABSTRACT This article contains a proof of the Collatz conjecture.
More informationImaginary Number Bases
Imaginary Number Bases Philip Herd arxiv:1701.04506v1 [math.ho] 17 Jan 2017 January 18, 2017 Abstract An expansion upon Donald Kunth s quarter-imaginary base system is introduced to handle any imaginary
More informationOptimum Alphabetic Binary Trees T. C. Hu and J. D. Morgenthaler Department of Computer Science and Engineering, School of Engineering, University of C
Optimum Alphabetic Binary Trees T. C. Hu and J. D. Morgenthaler Department of Computer Science and Engineering, School of Engineering, University of California, San Diego CA 92093{0114, USA Abstract. We
More informationArithmetic and Logic Blocks
Arithmetic and Logic Blocks The Addition Block The block performs addition and subtractions on its inputs. This block can add or subtract scalar, vector, or matrix inputs. We can specify the operation
More informationDisjoint directed cycles
Disjoint directed cycles Noga Alon Abstract It is shown that there exists a positive ɛ so that for any integer k, every directed graph with minimum outdegree at least k contains at least ɛk vertex disjoint
More informationLecture 2: Number Systems
Lecture 2: Number Systems Syed M. Mahmud, Ph.D ECE Department Wayne State University Original Source: Prof. Russell Tessier of University of Massachusetts Aby George of Wayne State University Contents
More informationSPERNER S LEMMA MOOR XU
SPERNER S LEMMA MOOR XU Abstract. Is it possible to dissect a square into an odd number of triangles of equal area? This question was first answered by Paul Monsky in 970, and the solution requires elements
More informationEmbedding a graph-like continuum in some surface
Embedding a graph-like continuum in some surface R. Christian R. B. Richter G. Salazar April 19, 2013 Abstract We show that a graph-like continuum embeds in some surface if and only if it does not contain
More informationIntegers and Mathematical Induction
IT Program, NTUT, Fall 07 Integers and Mathematical Induction Chuan-Ming Liu Computer Science and Information Engineering National Taipei University of Technology TAIWAN 1 Learning Objectives Learn about
More informationLimited Automata and Unary Languages
Limited Automata and Unary Languages Giovanni Pighizzini and Luca Prigioniero Dipartimento di Informatica, Università degli Studi di Milano, Italy {pighizzini,prigioniero}@di.unimi.it Abstract. Limited
More informationMath 340 Fall 2014, Victor Matveev. Binary system, round-off errors, loss of significance, and double precision accuracy.
Math 340 Fall 2014, Victor Matveev Binary system, round-off errors, loss of significance, and double precision accuracy. 1. Bits and the binary number system A bit is one digit in a binary representation
More informationWords, Words, I Am So Sick of Words! Joseph Malkevitch Mathematics (York College)
Words, Words, I Am So Sick of Words! Joseph Malkevitch Mathematics (York College) What is mathematics about? The study of numbers. The study of shapes. But it should be viewed as: The study of patterns.
More informationDieter Gollmann, Yongfei Han, and Chris J. Mitchell. August 25, Abstract
Redundant integer representations and fast exponentiation Dieter Gollmann, Yongfei Han, and Chris J. Mitchell August 25, 1995 Abstract In this paper two modications to the standard square and multiply
More informationApplications of The Montgomery Exponent
Applications of The Montgomery Exponent Shay Gueron 1,3 1 Dept. of Mathematics, University of Haifa, Israel (shay@math.haifa.ac.il) Or Zuk 2,3 2 Dept. of Physics of Complex Systems, Weizmann Institute
More informationIntroduction to Automata Theory. BİL405 - Automata Theory and Formal Languages 1
Introduction to Automata Theory BİL405 - Automata Theory and Formal Languages 1 Automata, Computability and Complexity Automata, Computability and Complexity are linked by the question: What are the fundamental
More informationREGULAR GRAPHS OF GIVEN GIRTH. Contents
REGULAR GRAPHS OF GIVEN GIRTH BROOKE ULLERY Contents 1. Introduction This paper gives an introduction to the area of graph theory dealing with properties of regular graphs of given girth. A large portion
More informationON SWELL COLORED COMPLETE GRAPHS
Acta Math. Univ. Comenianae Vol. LXIII, (1994), pp. 303 308 303 ON SWELL COLORED COMPLETE GRAPHS C. WARD and S. SZABÓ Abstract. An edge-colored graph is said to be swell-colored if each triangle contains
More informationOn expansive chaotic maps in G-spaces
International Journal of Applied Mathematical Research, 3 (3) (2014) 225-232 Science Publishing Corporation wwwsciencepubcocom/indexphp/ijamr doi: 1014419/ijamrv3i32286 Research Paper On expansive chaotic
More informationStamp Foldings, Semi-meanders, and Open Meanders: Fast Generation Algorithms
Stamp Foldings, Semi-meanders, and Open Meanders: Fast Generation Algorithms J. Sawada R. Li Abstract By considering a permutation representation for stamp-foldings and semi-meanders we construct treelike
More informationELEMENTARY NUMBER THEORY AND METHODS OF PROOF
CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF Copyright Cengage Learning. All rights reserved. SECTION 4.3 Direct Proof and Counterexample III: Divisibility Copyright Cengage Learning. All rights
More informationThe packing problem: A divide and conquer algorithm on cellular automata
The packing problem: A divide and conquer algorithm on cellular automata Nicolas Bacquey Groupe de Recherche en Informatique, Image, Automatique et Instrumentation de Caen Université de Caen Basse-Normandie,
More informationA Multiple-Precision Division Algorithm
Digital Commons@ Loyola Marymount University and Loyola Law School Mathematics Faculty Works Mathematics 1-1-1996 A Multiple-Precision Division Algorithm David M. Smith Loyola Marymount University, dsmith@lmu.edu
More informationFinding a -regular Supergraph of Minimum Order
Finding a -regular Supergraph of Minimum Order Hans L. Bodlaender a, Richard B. Tan a,b and Jan van Leeuwen a a Department of Computer Science Utrecht University Padualaan 14, 3584 CH Utrecht The Netherlands
More informationA note on Prüfer-like coding and counting forests of uniform hypertrees
A note on Prüfer-like coding and counting forests of uniform hypertrees Christian Lavault Abstract The present note is designing encoding and decoding algorithms for a forest of rooted uniform hypertrees
More informationChapter 3: Theory of Modular Arithmetic 1. Chapter 3: Theory of Modular Arithmetic
Chapter 3: Theory of Modular Arithmetic 1 Chapter 3: Theory of Modular Arithmetic SECTION A Introduction to Congruences By the end of this section you will be able to deduce properties of large positive
More information1.2 Round-off Errors and Computer Arithmetic
1.2 Round-off Errors and Computer Arithmetic 1 In a computer model, a memory storage unit word is used to store a number. A word has only a finite number of bits. These facts imply: 1. Only a small set
More informationELEMENTARY NUMBER THEORY AND METHODS OF PROOF
CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF Copyright Cengage Learning. All rights reserved. SECTION 4.3 Direct Proof and Counterexample III: Divisibility Copyright Cengage Learning. All rights
More informationDisjoint Support Decompositions
Chapter 4 Disjoint Support Decompositions We introduce now a new property of logic functions which will be useful to further improve the quality of parameterizations in symbolic simulation. In informal
More informationCIT3130: Theory of Computation. Regular languages
ƒ CIT3130: Theory of Computation Regular languages ( M refers to the first edition of Martin and H to IALC by Hopcroft et al.) Definitions of regular expressions and regular languages: A regular expression
More information1. Draw the state graphs for the finite automata which accept sets of strings composed of zeros and ones which:
P R O B L E M S Finite Autom ata. Draw the state graphs for the finite automata which accept sets of strings composed of zeros and ones which: a) Are a multiple of three in length. b) End with the string
More informationChapter 3 Data Representation
Chapter 3 Data Representation The focus of this chapter is the representation of data in a digital computer. We begin with a review of several number systems (decimal, binary, octal, and hexadecimal) and
More informationarxiv: v2 [math.co] 11 May 2016
THREE-PILE SHARING NIM AND THE QUADRATIC TIME WINNING STRATEGY arxiv:1506.06961v2 [math.co] 11 May 2016 NHAN BAO HO Abstract. We study a variant of 3-pile Nim in which a move consists of taking tokens
More informationDO NOT RE-DISTRIBUTE THIS SOLUTION FILE
Professor Kindred Math 104, Graph Theory Homework 2 Solutions February 7, 2013 Introduction to Graph Theory, West Section 1.2: 26, 38, 42 Section 1.3: 14, 18 Section 2.1: 26, 29, 30 DO NOT RE-DISTRIBUTE
More informationVertex-Colouring Edge-Weightings
Vertex-Colouring Edge-Weightings L. Addario-Berry a, K. Dalal a, C. McDiarmid b, B. A. Reed a and A. Thomason c a School of Computer Science, McGill University, University St. Montreal, QC, H3A A7, Canada
More informationTreewidth and graph minors
Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under
More informationFloating Point Square Root under HUB Format
Floating Point Square Root under HUB Format Julio Villalba-Moreno Dept. of Computer Architecture University of Malaga Malaga, SPAIN jvillalba@uma.es Javier Hormigo Dept. of Computer Architecture University
More informationSolutions to Homework 10
CS/Math 240: Intro to Discrete Math 5/3/20 Instructor: Dieter van Melkebeek Solutions to Homework 0 Problem There were five different languages in Problem 4 of Homework 9. The Language D 0 Recall that
More information2 Computation with Floating-Point Numbers
2 Computation with Floating-Point Numbers 2.1 Floating-Point Representation The notion of real numbers in mathematics is convenient for hand computations and formula manipulations. However, real numbers
More informationTHE GROWTH DEGREE OF VERTEX REPLACEMENT RULES
THE GROWTH DEGREE OF VERTEX REPLACEMENT RULES JOSEPH P. PREVITE AND MICHELLE PREVITE 1. Introduction. 2. Vertex Replacement Rules. 3. Marked Graphs Definition 3.1. A marked graph (G, p) is a graph with
More informationChapter 1: Number and Operations
Chapter 1: Number and Operations 1.1 Order of operations When simplifying algebraic expressions we use the following order: 1. Perform operations within a parenthesis. 2. Evaluate exponents. 3. Multiply
More informationUsing Arithmetic of Real Numbers to Explore Limits and Continuity
Using Arithmetic of Real Numbers to Explore Limits and Continuity by Maria Terrell Cornell University Problem Let a =.898989... and b =.000000... (a) Find a + b. (b) Use your ideas about how to add a and
More information1 Elementary number theory
1 Elementary number theory We assume the existence of the natural numbers and the integers N = {1, 2, 3,...} Z = {..., 3, 2, 1, 0, 1, 2, 3,...}, along with their most basic arithmetical and ordering properties.
More informationAn exact algorithm for max-cut in sparse graphs
An exact algorithm for max-cut in sparse graphs F. Della Croce a M. J. Kaminski b, V. Th. Paschos c a D.A.I., Politecnico di Torino, Italy b RUTCOR, Rutgers University c LAMSADE, CNRS UMR 7024 and Université
More informationInadmissible Class of Boolean Functions under Stuck-at Faults
Inadmissible Class of Boolean Functions under Stuck-at Faults Debesh K. Das 1, Debabani Chowdhury 1, Bhargab B. Bhattacharya 2, Tsutomu Sasao 3 1 Computer Sc. & Engg. Dept., Jadavpur University, Kolkata
More informationGenerating edge covers of path graphs
Generating edge covers of path graphs J. Raymundo Marcial-Romero, J. A. Hernández, Vianney Muñoz-Jiménez and Héctor A. Montes-Venegas Facultad de Ingeniería, Universidad Autónoma del Estado de México,
More informationTable : IEEE Single Format ± a a 2 a 3 :::a 8 b b 2 b 3 :::b 23 If exponent bitstring a :::a 8 is Then numerical value represented is ( ) 2 = (
Floating Point Numbers in Java by Michael L. Overton Virtually all modern computers follow the IEEE 2 floating point standard in their representation of floating point numbers. The Java programming language
More informationNew Constructions of Non-Adaptive and Error-Tolerance Pooling Designs
New Constructions of Non-Adaptive and Error-Tolerance Pooling Designs Hung Q Ngo Ding-Zhu Du Abstract We propose two new classes of non-adaptive pooling designs The first one is guaranteed to be -error-detecting
More informationDr. Relja Vulanovic Professor of Mathematics Kent State University at Stark c 2008
MATH-LITERACY MANUAL Dr. Relja Vulanovic Professor of Mathematics Kent State University at Stark c 2008 1 Real Numbers 1.1 Sets 1 1.2 Constants and Variables; Real Numbers 7 1.3 Operations with Numbers
More informationStar Decompositions of the Complete Split Graph
University of Dayton ecommons Honors Theses University Honors Program 4-016 Star Decompositions of the Complete Split Graph Adam C. Volk Follow this and additional works at: https://ecommons.udayton.edu/uhp_theses
More informationProperly even harmonious labelings of disconnected graphs
Available online at www.sciencedirect.com ScienceDirect AKCE International Journal of Graphs and Combinatorics 12 (2015) 193 203 www.elsevier.com/locate/akcej Properly even harmonious labelings of disconnected
More informationLatest Innovation For FFT implementation using RCBNS
Latest Innovation For FFT implementation using SADAF SAEED, USMAN ALI, SHAHID A. KHAN Department of Electrical Engineering COMSATS Institute of Information Technology, Abbottabad (Pakistan) Abstract: -
More informationOn total domination and support vertices of a tree
On total domination and support vertices of a tree Ermelinda DeLaViña, Craig E. Larson, Ryan Pepper and Bill Waller University of Houston-Downtown, Houston, Texas 7700 delavinae@uhd.edu, pepperr@uhd.edu,
More informationSemiboolean SQS-skeins
Journal of Algebraic Combinatorics 2 (1993), 147-153 1993 Kluwer Academic Publishers, Boston. Manufactured in The Netherlands. Semiboolean SQS-skeins ANDREAS J. GUELZOW Department of Mathematics and Computer
More informationA Review of Various Adders for Fast ALU
58 JEST-M, Vol 3, Issue 2, July-214 A Review of Various Adders for Fast ALU 1Assistnat Profrssor Department of Electronics and Communication, Chandigarh University 2Assistnat Profrssor Department of Electronics
More informationENERGY-EFFICIENT VLSI REALIZATION OF BINARY64 DIVISION WITH REDUNDANT NUMBER SYSTEMS 1 AVANIGADDA. NAGA SANDHYA RANI
ENERGY-EFFICIENT VLSI REALIZATION OF BINARY64 DIVISION WITH REDUNDANT NUMBER SYSTEMS 1 AVANIGADDA. NAGA SANDHYA RANI 2 BALA KRISHNA.KONDA M.Tech, Assistant Professor 1,2 Eluru College Of Engineering And
More informationEdge Colorings of Complete Multipartite Graphs Forbidding Rainbow Cycles
Theory and Applications of Graphs Volume 4 Issue 2 Article 2 November 2017 Edge Colorings of Complete Multipartite Graphs Forbidding Rainbow Cycles Peter Johnson johnspd@auburn.edu Andrew Owens Auburn
More informationExact real arithmetic. Keith Briggs
Exact real arithmetic Keith Briggs Keith.Briggs@bt.com more.btexact.com/people/briggsk2/xr.html 2002 Nov 20 15:00 Typeset in L A T E X2e on a linux system Exact real arithmetic p.1/35 Complexity Outline
More informationLecture 1 Contracts. 1 A Mysterious Program : Principles of Imperative Computation (Spring 2018) Frank Pfenning
Lecture 1 Contracts 15-122: Principles of Imperative Computation (Spring 2018) Frank Pfenning In these notes we review contracts, which we use to collectively denote function contracts, loop invariants,
More information