Development of a New Transform:MRT

Total Page:16

File Type:pdf, Size:1020Kb

Development of a New Transform:MRT DEVELOPMENT OF A NEW TRANSFORM: MRT A THESIS Submitted by RAJESH CHERIAN ROY for the award of the degree of DOCTOR OF PHILOSOPHY Under the guidance of R. GOPlKAKUMARI DIVISION OF ELECTRONICS ENGINEERING SCHOOL OF ENGINEERING COCHIN UNIVERSITY OF SCIENCE & TECHNOLOGY KOCHI - 682 022, INDIA FEBRUARY 2009 CERTIFICATE This is to certify that the thesis entitled "DEVELOPMENT OF A NEW TRANSFORM: MRT" is a bomifide record of the research work carried out by Rajesh Cherian Roy under my supervision and guidance in the Division of Electronics Engineering, School of Engineering, Cochin University of Science and Technology and that no part thereof has been presented for the award of any other degree. Dr. R. Gopikakumari (Supervising Guide) Head Division of Electronics Engineering Kochi School of Engineering 19 January 2009 Cochin University of Science and Technology DECLARATION I hereby declare that the work presented in the thesis entitled "DEVELOPMENT OF A NEW TRANSFORM: MRT" is based on original research work carried out by me under the supervision and guidance of Dr. R. Gopikakumari in the Division of Electronics Engineering, School of Engineering, Cochin University of Science and Technology and that no part thereof has been presented for the award of any other degree. Kochi ~ 19 Janurary 2009 Rajesh Cherian Ray ABSTRACT Fourier transform methods are employed heavily in digital signal processing. Discrete Fourier Transform (DFT) is among the most commonly used digital signal transforms, The exponential kernel of the DFT has the properties of symmetry and periodicity. Fast Fourier Transform (FFT) methods for fast DFT computation exploit these kernel properties in different ways. In this thesis, an approach of grouping data on the basis of the corresponding phase ofthe exponential kernel of the DFT is exploited to introduce a new digital signal transform, named the M-dimensional Real Transform (MRT), for l-D and 2-D signals. The new transform is developed using number­ theoretic principles as regards its specific features. A few properties of the transform are explored, and an inverse transform presented. A fundamental assumption is that the size of the input signal be even. The transform computation involves only real additions. The MRT is an integer-to-integer transform. There are two kinds ofredundancy, complete redundancy & derived redundancy, in MRT. Redundancy is analyzed and removed to arrive at a more compact version called the Unique MRT (UMRT). l-D UMRT is a non-expansive transform for all signal sizes, while the 2-D UMRT is non-expansive for signal sizes that are powers of 2. The 2-D UMRT is applied in image processing applications like image compression and orientation analysis. The MRT & UMRT, being general transforms, will find potential applications in various fields of signal and image processing. ACKNOWLEDGEMENTS First and foremost I would like to express my profound gratitude to my research guide, Dr. R. Gopikakumari, Professor and Head, Division of Electronics, School of Engineering, Cochin University of Science and Technology, under whose patient supervision and guidance I have been able to complete my research. I wish to thank the Vice Chancellor and Registrar, CUSAT for the opportunity to complete the research work and submit the thesis. I also thank the Principal, School of Engineering, members of the Research Committee and Doctoral Comnittee for guidance and help at various stages of the period of research. I wish to express gratitude to the office staff of various sections of CUSAT for help and assistance. Thanks are also due to the faculty, Division of Electronics, School of Engineering, and office staff at School of Engineering for all help and assistance provided in relation with the research work. I would like to thank ISRO for the opportunity to work in their funded project "Fractal Image Compression using Neural Networks". Sincere thanks are due to Dr. D. Rajaveerappa, Dr. C. Karthikeyan and Dr. S. Ramkumar for the valuable discussions, encouragement and words of advice during various stages of the research work. I am indebted to my friends Mr. Vinu Thomas and Mr. Lakshmana Kumar Krishna Moorthy for their immense support and help throughout the period of research. I thank Mr. Suresh, Librarian, Department of Electronics, Cochin University of Science and Technology, for assistance. I acknowledge the valuable discussions with and support given by Mr. Bhadran V. and Mr. M. S. Anish Kumar, research scholars at Division of Electronics, School of Engineering. I wish to acknowledge my grand parents and parents whose blessings have guided me throughout this period. I also wish to thank my wife, brother, sister, uncles, aunts, cousins and all in-laws for the faith and patience during the period of research. Finally, I wish to remember the late Mr. P. P. Pathrose for his support and encouragement. 11 SYMBOLS AND DEFINITIONS Z Set of integers N Integer, N E Z, mostly used to indicate size of input signal n Signal time index I-D signal sample at n k Frequency index P Phase index y:(p) k I-D MRT coefficient at k, p. Signal spatial index in the vertical direction Signal spatial index in the horizontal direction 2-D signal sample at nI, n2 Frequency index in the vertical direction Frequency index in the horizontal direction 2-D MRT coefficient at k[, k2, p. g(a,b) - Greatest Common Divisor (GCD) of integers a and b alb a divides b ((a))6 Remainder of alb (Modulo operation) q Integer q E Z - q is an element of set Z [a, b] {q E Z : a ~ q ~ b} LaJ Smallest integer lesser than or equal to a ~(N) Totient function of N (A,B) - Inner product between vectors A and B For all values of q Such that III LIST OF TABLES Table 3.1: Time comparison between direct MRT computation and closed-form MRT computation. 33 Table 3.2: Isometric transformations in MRT domain. 39 Table 4.1: Complete redundancy and derived redundancy relations for (a) N= 6, (b) N= 12, (c) N= 18, (d) N= 24, (e) N= 30 ..... 76-77 Table 4.2: Example showing reconstruction of 8-point I-D sequence using inverse I-D 1JMRT............... 85 Table 4.3: Number ofUMRT coefficients involved in inverse I-D UMRT for a few values of N. .. 86 Table 4.4: Proposed mapping between I-D 1JMRT indices and array indices, for N = 8. 87 Table 4.5: Proposed mapping between I-D UMRT indices and array indices, for N= 12.87 Table 5.1: Values of U k evaluated for divisor frequencies k), k2 for N= 8. .. 98 kI' .2 Table 5.2: Number of unique frequencies for various values of N. 112 Table 5.3: Number of unique 2-D MRT coefficients for various values of N. 124 Table 5.4: Totatives for a few integers that are powers of2. 126 Table 5.5: Unique frequencies for N = 8 . 129 Table 6.1: Compression results obtained using UMRT on 5 test images. 142 Table 6.2: Pattern orientations for a few UMRT frequencies, N = 16. 143 IV LIST OF FIGURES Figure 1.1: Transfonn kernel values for 8-point 1-0 WHT. 9 Figure 1.2: Transfonn kernel values for 8-point 1-0 Haar Transfonn. 9 Figure 1.3: Transfonn kernel values for 8-point 1-0 integer OCT. 10 Figure 3.1: An 8 x 8 signal and its MRT matrices. 23 Figure 3.2: Flowchart showing computation method for MRT particular solutions. 30 Figure 3.3: Plot showing 2-D MRT computation time using direct and closed fonn methods. 32 Figure 3.4: (a): A 6 x 6 signal; (b): (a) reversed; (c), (e) & (g): MRT matrices of (a); (d), (t) & (h): MRT matrices of (b) . .. 35 Figure 3.5: (a): A 6 x 6 signal; (b): (a) circularly shifted by 1 row and 1 column; (c), (e) & (g): MRT matrices of (a); (d), (t) & (h): MRT matrices of (b). 37 Figure 4.1: Kernel representation Ak,p,n of 1-D MRT for N = 4. 46 Figure 4.2: Kernel representation Ak,p,n of a few 1-0 MRT coefficients, N = 6. 47 Figure 4.3: Kernel representation Ak,p,n of a few 1-0 MRT coefficients, N = 8. 48 Figure 4.4: (a):Placement ofUMRT coefficients for N= 12; (b): Proposed placement ofMRT & UMRT coefficients for N = 12. , 90 Figure 5.1: Basis images corresponding to UMRT coefficients for N = 8. 130-132 Figure 5.2: Positional details of 8 x 8 2-D UMRT matrix fanned by placement algorithm, specified by values of (kt, k2' p). .. 134 Figure 5.3: Positional details of 8 x 82-0 UMRT matrix fonned from (5.114) - (5.116), specified by values of(kt. k2,p). .. 135 Figure 6.1: Image blocks generated using MRT manipulation from a single image block. 140 Figure 6.2: Original and reconstructed images, 'Lenna'. 141 Figure 6.3: Analysis ofUMRT pattern orientation. 142 (a): Basis images corresponding to MRT coefficients ~\O) ~\I), ~\2) and ~?), (b): Figure 6.4: , , . , . d' MRT ffi' y(O) y(l) y;(2) d yP) B aSIs Images correspon mg to coe lClents 1.0 ' 1,0' 1,0 an 1.0'" 144 Figure 6.5: Global patterns formed by union of: (a) MRT coefficients with frequency index (1,1), (b) MRT coefficients with frequency index (1,0). .. 144 Figure 6.6: Global patterns fonned byUMRT coefficients for N= 16, (a): k2 =1; (b) k2 = 2,4; (c) k2 = 0,8. .. 145 Figure 6.7: Results of fingerprint orientation estimation using MRT coefficients. .. 148 Figure 6.8: Plot showing 2-D MRT computation time using direct method, closed form method, and computation from 2-D UMRT coefficients.
Recommended publications
  • Number Theory, Dover Publications, Inc., New York, 1994
    Theory of Numbers Divisibility Theory in the Integers, The Theory of Congruences, Number-Theoretic Functions, Primitive Roots, Quadratic Residues Yotsanan Meemark Informal style based on the course 2301331 Theory of Numbers, offered at Department of Mathematics and Computer Science, Faculty of Science, Chulalongkorn University Second version August 2016 Any comment or suggestion, please write to [email protected] Contents 1 Divisibility Theory in the Integers 1 1.1 The Division Algorithm and GCD . 1 1.2 The Fundamental Theorem of Arithmetic . 5 1.3 The Euclidean Algorithm and Linear Diophantine Equations . 8 2 The Theory of Congruences 13 2.1 Basic Properties of Congruence . 13 2.2 Linear Congruences . 16 2.3 Reduced Residue Systems . 18 2.4 Polynomial Congruences . 21 3 Number-Theoretic Functions 25 3.1 Multiplicative Functions . 25 3.2 The Mobius¨ Inversion Formula . 28 3.3 The Greatest Integer Function . 30 4 Primitive Roots 33 4.1 The Order of an Integer Modulo n ............................ 33 4.2 Integers Having Primitive Roots . 35 4.3 nth power residues . 39 4.4 Hensel’s Lemma . 41 5 Quadratic Residues 45 5.1 The Legendre Symbol . 45 5.2 Quadratic Reciprocity . 48 Bibliography 53 Index 54 Chapter 1 Divisibility Theory in the Integers Let N denote the set of positive integers and let Z be the set of integers. 1.1 The Division Algorithm and GCD Theorem 1.1.1. [Well-Ordering Principle] Every nonempty set S of nonnegative integers contains a least element; that is, there is some integer a in S such that a ≤ b for all b 2 S.
    [Show full text]
  • The Complete Splittings of Finite Abelian Groups
    The complete splittings of finite abelian groups Kevin Zhaoa aDepartment of Mathematics, South China normal university, Guangzhou 510631, China Abstract Let G be a finite group. We will say that M and S form a complete split- ting (splitting) of G if every element (nonzero element) g of G has a unique representation of the form g = ms with m ∈ M and s ∈ S, and 0 has a such representation (while 0 has no such representation). In this paper, we determine the structures of complete splittings of finite abelian groups. In particular, for complete splittings of cyclic groups our de- scription is more specific. Furthermore, we show some results for existence and nonexistence of complete splittings of cyclic groups and find a relationship between complete splittings and splittings for finite groups. Keywords: complete splittings, splittings, cyclic groups, finite abelian groups, relationship. 1. Introduction The splittings of finite abelian groups are closely related to lattice tilings and are easy to be generated to lattice packings. Let K0 be a polytope composed of unit cubes and v + K0 be a translate of K0 for some vector v. A family of translations {v + K0 : v ∈ H} is called an integer lattice packing if H is an n-dimensional subgroup of Zn and, for any two vectors v and w in H, the interiors of v + K0 and w + K0 are disjoint; furthermore, if the n-dimensional Euclidean space Zn is contained in the family of these translations, then we call it an integer lattice tiling. The splitting problem can be traceable to a geometric problem posed by H.
    [Show full text]
  • Primes in Arithmetical Progression
    Colby College Digital Commons @ Colby Honors Theses Student Research 2019 Primes in Arithmetical Progression Edward C. Wessel Colby College Follow this and additional works at: https://digitalcommons.colby.edu/honorstheses Part of the Analysis Commons, and the Number Theory Commons Colby College theses are protected by copyright. They may be viewed or downloaded from this site for the purposes of research and scholarship. Reproduction or distribution for commercial purposes is prohibited without written permission of the author. Recommended Citation Wessel, Edward C., "Primes in Arithmetical Progression" (2019). Honors Theses. Paper 935. https://digitalcommons.colby.edu/honorstheses/935 This Honors Thesis (Open Access) is brought to you for free and open access by the Student Research at Digital Commons @ Colby. It has been accepted for inclusion in Honors Theses by an authorized administrator of Digital Commons @ Colby. Primes in Arithmetical Progression Edward (Teddy) Wessel April 2019 Contents 1 Message to the Reader 3 2 Introduction 3 2.1 Primes . 3 2.2 Euclid . 3 2.3 Euler and Dirichlet . 4 2.4 Shapiro . 4 2.5 Formal Statement . 5 3 Arithmetical Functions 6 3.1 Euler’s Totient Function . 6 3.2 The Mobius Function . 6 3.3 A Relationship Between j and m ................ 7 3.4 The Mangoldt Function . 8 4 Dirichlet Convolution 9 4.1 Definition . 10 4.2 Some Basic Properties of Dirichlet Multiplication . 10 4.3 Identity and Inverses within Dirichlet Multiplication . 11 4.4 Multiplicative Functions and their Relationship with Dirich- let Convolution . 13 4.5 Generalized Convolutions . 15 4.6 Partial Sums of Dirichlet Convolution .
    [Show full text]
  • Modular Arithmetic Some Basic Number Theory: CS70 Summer 2016 - Lecture 7A Midterm 2 Scores Out
    Announcements Agenda Modular Arithmetic Some basic number theory: CS70 Summer 2016 - Lecture 7A Midterm 2 scores out. • Modular arithmetic Homework 7 is out. Longer, but due next Wednesday before class, • GCD, Euclidean algorithm, and not next Monday. multiplicative inverses David Dinh • Exponentiation in modular There will be no homework 8. 01 August 2016 arithmetic UC Berkeley Mathematics is the queen of the sciences and number theory is the queen of mathematics. -Gauss 1 2 Modular Arithmetic Motivation: Clock Math Congruences Modular Arithmetic If it is 1:00 now. What time is it in 2 hours? 3:00! Theorem: If a c (mod m) and b d (mod m), then a + b c + d x is congruent to y modulo m, denoted “x y (mod m)”... ≡ ≡ ≡ What time is it in 5 hours? 6:00! ≡ (mod m) and a b = c d (mod m). · · What time is it in 15 hours? 16:00! • if and only if (x y) is divisible by m (denoted m (x y)). Proof: Addition: (a + b) (c + d) = (a c) + (b d). Since a c − | − − − − ≡ Actually 4:00. • if and only if x and y have the same remainder w.r.t. m. (mod m) the first term is divisible by m, likewise for the second 16 is the “same as 4” with respect to a 12 hour clock system. • x = y + km for some integer k. term. Therefore the entire expression is divisible by m, so Clock time equivalent up to to addition/subtraction of 12. a + b c + d (mod m). What time is it in 100 hours? 101:00! or 5:00.
    [Show full text]
  • Group Properties of the Residue Classes of Certain Kroneckermodular Systems and Some Related Generalizationsin Number Theory*
    GROUP PROPERTIES OF THE RESIDUE CLASSES OF CERTAIN KRONECKERMODULAR SYSTEMS AND SOME RELATED GENERALIZATIONSIN NUMBER THEORY* BT EDWARD KIRCHER The object of this paper is to study the groups formed by the residue classes of a certain type of Kronecker modular system and some closely related gen- eralizations of well-known theorems in number theory. The type of modular system to be studied is of the form 9JÎ = (mn, m„_i, • • •, mi, m). Here m, defined by ( mi, m2, ■• • , m* ), is an ideal in the algebraic domain Q of degree k. Each term m,, i = 1, 2, • • • , n, belongs to the domain of in- tegrity of Í2¿ = (ß, xi, x2, • • • , Xi), and is defined by the fundamental system ( ^'i0 ) typ, • - - > typ ) • The various typ, j = 1, 2, • • • , j,-, are rational integral functions of Xj with coefficients that are in turn rational integral func- tions of a:i, x2, • • •, Xi-i, with coefficients that are algebraic integers in ß. In every case the coefficient of the highest power of a-¿in each of the typ shall be equal to 1. We shall see later that the developments of this paper also apply to modular systems where the last restriction here cited is omitted, being re- placed by another admitting more systems, these new systems in every case being equivalent to a system in the standard form as here defined. Any expression that fulfills all of the conditions placed upon each typ with the possible ex- ception of the last one, we shall call a polynomial, and no other expression shall be so designated.
    [Show full text]
  • Handbook of Number Theory Ii
    HANDBOOK OF NUMBER THEORY II by J. Sandor´ Babes¸-Bolyai University of Cluj Department of Mathematics and Computer Science Cluj-Napoca, Romania and B. Crstici formerly the Technical University of Timis¸oara Timis¸oara Romania KLUWER ACADEMIC PUBLISHERS DORDRECHT / BOSTON / LONDON A C.I.P. Catalogue record for this book is available from the Library of Congress. ISBN 1-4020-2546-7 (HB) ISBN 1-4020-2547-5 (e-book) Published by Kluwer Academic Publishers, P.O. Box 17, 3300 AA Dordrecht, The Netherlands. Sold and distributed in North, Central and South America by Kluwer Academic Publishers, 101 Philip Drive, Norwell, MA 02061, U.S.A. In all other countries, sold and distributed by Kluwer Academic Publishers, P.O. Box 322, 3300 AH Dordrecht, The Netherlands. Printed on acid-free paper All Rights Reserved C 2004 Kluwer Academic Publishers No part of this work may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, microfilming, recording or otherwise, without written permission from the Publisher, with the exception of any material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Printed in the Netherlands. Contents PREFACE 7 BASIC SYMBOLS 9 BASIC NOTATIONS 10 1 PERFECT NUMBERS: OLD AND NEW ISSUES; PERSPECTIVES 15 1.1 Introduction .............................. 15 1.2 Some historical facts ......................... 16 1.3 Even perfect numbers ......................... 20 1.4 Odd perfect numbers ......................... 23 1.5 Perfect, multiperfect and multiply perfect numbers ......... 32 1.6 Quasiperfect, almost perfect, and pseudoperfect numbers ...............................
    [Show full text]
  • Lectures on Number Theory
    Lectures on Number Theory Lars-Ake˚ Lindahl 2002 Contents 1 Divisibility 1 2 Prime Numbers 7 3 The Linear Diophantine Equation ax+by=c 12 4 Congruences 15 5 Linear Congruences 19 6 The Chinese Remainder Theorem 21 7 Public-Key Cryptography 27 8 Pseudoprimes 29 9 Polynomial Congruences with Prime Moduli 31 10 Polynomial Congruences with Prime Power Moduli 35 11 The Congruence x2 ≡ a (mod m) 38 12 General Quadratic Congruences 43 13 The Legendre Symbol and Gauss' Lemma 44 14 Quadratic Reciprocity 47 15 Primitive Roots 48 16 Arithmetic Functions 55 17 Sums of Squares 58 18 Pythagorean Triples 61 19 Fermat's Last Theorem 63 20 Continued Fractions 64 21 Simple Continued Fractions 70 22 Rational Approximations to Irrational Numbers 73 23 Periodic Continued Fractions 79 p 24 Continued Fraction Expansion of d 86 25 Pell's Equation 88 Preface The present lecture notes contain material for a 5 credit points course in Elemen- tary Number Theory. The formal prerequisites for the material are minimal; in particular no previous course in abstract algebra is required. High school mathematics, familiarity with proofs by mathematical induction and with the basic properties of limits of sequences of real numbers (in particular the fact that a bounded monotone sequence of real numbers is convergent) are all that is needed. (The discussion of the prime number counting function π(x) in sec- tion 2 requires more calculus skills, but this part could be skipped without any loss of continuity.) A preliminary version of these notes has been carefully reviewed by Joakim Elgh, and I would like to thank him for some very useful suggestions and improvements.
    [Show full text]
  • Number Theory Lecture Notes
    Number Theory Lecture Notes Vahagn Aslanyan1 1www.math.cmu.edu/~vahagn/ Contents 1 Divisibility 3 1.1 Greatest common divisors . .3 1.2 Linear Diophantine equations . .4 1.3 Primes and irreducibles . .4 1.4 The fundamental theorem of arithmetic . .5 1.5 Exercises . .6 2 Multiplicative functions 7 2.1 Basics . .7 2.2 The Möbius inversion formula . .8 2.3 Exercises . .9 3 Modular arithmetic 11 3.1 Congruences . 11 3.2 Wilson’s theorem . 12 3.3 Fermat’s little theorem . 12 3.4 The Chinese Remainder Theorem . 12 3.5 Euler’s totient function . 13 3.6 Euler’s theorem . 14 3.7 Exercises . 15 4 Primitive roots 17 4.1 The order of an element . 17 4.2 Primitive roots modulo a prime . 18 4.3 Primitive roots modulo prime powers . 19 4.4 The structure of (Z/2kZ)× .................... 20 4.5 Exercises . 22 5 Quadratic residues 23 5.1 The Legendre symbol and Euler’s criterion . 23 5.2 Gauss’s lemma . 24 iii iv CONTENTS 5.3 The quadratic reciprocity law . 25 5.4 Composite moduli . 26 5.5 Exercises . 27 6 Representation of integers by some quadratic forms 29 6.1 Sums of two squares . 29 6.2 Sums of four squares . 30 6.3 Exercises . 31 7 Diophantine equations 33 7.1 The Pythagorean equation . 33 7.2 A special case of Fermat’s last theorem . 34 7.3 Rational points on quadratic curves . 35 7.4 Exercises . 37 8 Continued fractions 39 8.1 Finite continued fractions . 39 8.2 Representation of rational numbers by continued fractions .
    [Show full text]
  • MA3H1 Topics in Number Theory Samir Siksek
    MA3H1 Topics in Number Theory Samir Siksek Samir Siksek, Mathematics Institute, University of War- wick, Coventry, CV4 7AL, United Kingdom E-mail address: [email protected] Contents Chapter 0. Prologue 5 1. What's This? 5 2. The Queen of Mathematics 5 Chapter 1. Review 7 1. Divisibility 7 2. Ideals 8 3. Greatest Common Divisors 9 4. Euler's Lemma 10 5. The Euclidean Algorithm 10 6. Primes and Irreducibles 11 7. Coprimality 13 8. ordp 13 9. Congruences 15 10. The Chinese Remainder Theorem 19 Chapter 2. Multiplicative Structure Modulo m 21 1. Euler's ' Revisited 21 2. Orders Modulo m 22 3. Primitive Roots 23 Chapter 3. Quadratic Reciprocity 27 1. Quadratic Residues and Non-Residues 27 2. Quadratic Residues and Primitive Roots 27 3. First Properties of the Legendre Symbol 28 4. The Law of Quadratic Reciprocity 29 5. The Sheer Pleasure of Quadratic Reciprocity 34 Chapter 4. p-adic Numbers 37 1. Congruences Modulo pm 37 2. p-Adic Absolute Value 39 3. Convergence 41 4. Operations on Qp 44 5. Convergence of Series 47 6. p-adic Integers 47 3 4 CONTENTS 7. Hensel's Lemma Revisited 49 8. The Hasse Principle 51 Chapter 5. Geometry of Numbers 55 1. The Two Squares Theorem 55 2. Areas of Ellipses and Volumes of Ellipsoids 56 3. The Four Squares Theorem 58 4. Proof of Minkowski's Theorem 60 Chapter 6. Irrationality and Transcendence 63 1. Irrationality: First Steps 63 2. The irrationality of e 64 3. What about Transcendental Numbers? 65 Appendix X. Last Year's Exam 69 CHAPTER 0 Prologue 1.
    [Show full text]
  • Math 537 — Elementary Number Theory
    MATH 537 Class Notes Ed Belk Fall, 2014 1 Week One 1.1 Lecture One Instructor: Greg Martin, Office Math 212 Text: Niven, Zuckerman & Montgomery Conventions: N will denote the set of positive integers, and N0 the set of nonnegative integers. Unless otherwise stated, all variables are assumed to be elements of N. x1.2 { Divisibility Definition: Let a; b 2 Z with a 6= 0. Then a is said to divide b, denoted ajb, if there exists some c 2 Z such that ac = b. If in addition a 2 N, then a is called a divisor of b. Properties of Divisibility: For all a; b; c 2 Z with a 6= 0, one has: • If ajb then ±aj ± b • 1jb; bjb; aj0 • If ajb and bja then a = ±b • If ajb and ajc, then aj(bx + cy) for any x; y 2 Z If we assume that a and b are positive, we also have • If ajb then a ≤ b The Division Algorithm: Let a; b 2 N. Then there exist unique natural numbers q and r such that: 1. b = aq + r, and 2. 0 ≤ r < a Proof: We prove existence first; consider the set R = fb − an : n 2 N0g \ N0: By the well-ordering axiom, R has a least element r, and we define q to be the nonnegative integer q such that b − aq = r. Then b = aq + r and r ≥ 0; moreover, if r ≥ a then one has 0 ≤ r − a = (b − aq) − a = b − a(q + 1) < b − aq + r; contradicting the minimality of r 2 R, and we are done.
    [Show full text]
  • Euler's Totient Function • Suppose A≥1 and M≥2 Are Integers
    Euler’s Totient Function Debdeep Mukhopadhyay Associate Professor Department of Computer Science and Engineering Indian Institute of Technology Kharagpur INDIA -721302 Objectives • Euler’s Totient Function IIT Kharagpur 1 Invertibility modulo m • Defn: An element a ε Zm, is said to be invertible modulo m (or a unit in Zm) if there exists an integer u (in Zm), such that ua≡1 (mod m) • Theorem: An element a ε Zm is invertible iff gcd(a,m)=1. Reduced Residue System • A set of integers a1, a2, …, al is called a reduced residue system mod m if every integer a coprime to m is congruent to one and only one of the elements ai, 1≤ i ≤ l. • Elements of a reduced residue system are all coprime to m, and are not congruent to each other, mod m. IIT Kharagpur 2 Euler's Totient function • Suppose a≥1 and m≥2 are integers. If gcd(a,m)=1, then we say that a and m are relatively prime. • The number of integers in Zm (m>1), that are relatively prime to m is denoted by Φ(m), called Euler’s Totient function or phi function. • Φ(1)=1 Example • m=26 => Φ(26)=12 • If p is prime, Φ(p)=p-1 • If n=1,2,…,24 the values of Φ(n) are: – 1,1,2,2,4,2,6,4,6,4,10,4,12,6,8,8,16,6,18,8, 12,10,22,8 – Thus we see that the function is very irregular. IIT Kharagpur 3 Properties of Φ • If m and n are relatively prime numbers, – Φ(mn)= Φ(m) Φ(n) • Φ(77)= Φ(7 x 11)=6 x 10 = 60 • Φ(1896)= Φ(3 x 8 x 79)=2 x 4 x 78 =624 • This result can be extended to more than two arguments comprising of pairwise coprime integers.
    [Show full text]
  • Appendix a Elementary Number Theory A.1 Introduction Let Denote the Set of Natural Numbers, the Set of Integers, and the Set of Real Numbers
    Appendix A Elementary Number Theory A.1 Introduction Let denote the set of natural numbers, the set of integers, and the set of real numbers. An integer d divides an integer n, if for some We shall denote this by If such an integer k does not exist, d does not divide n. This will be denoted by To check if the integer d divides the integer n, the Mathematica function IntegerO can be used in the following way. The Mathematica function Divisor gives a list of all divisors of a number n. For instance: An integer is said to be prime, if 1 and p are its only positive divisors. With we introduce a natural numbering of the set of prime numbers. Valuable Mathematica functions in this context are Prime and PrimeO: generating the 35-th prime number. telling if the input (here 1234567) is prime. 344 APPENDICES Proof: Suppose the contrary. Let be the set of all primes. Next, we observe that the integer is not divisible by any of the primes Let n be the smallest integer n that is not divisible by any of the primes It can not be a prime number, because it is not in the list It follows that n has a non-trivial factor d. But then this factor d is divisible by at least of the primes and so does n. A contradiction. Between two consecutive primes there can be an arbitrary large gap of non-prime numbers. For example, the elements in the sequence are divisible by respectively Therefore none of them is prime.
    [Show full text]