Sierpinski s Triangle and the Lucas Correspondence Theorem
|
|
- Bethany Montgomery
- 6 years ago
- Views:
Transcription
1 Sierpinski s Triangle and the Lucas Correspondence Theorem Julian Trujillo, and George Kreppein Western Washington University November 30, 2012
2 History of Sierpinski s Triangle Sierpinski s triangle also known as Sierpinski s gasket was first described in 1915 by Waclaw Sierpinski. However it had been seen as early as 13 th century at the cathedral of Anagni. Sierpinski triangle has also appeared in our current culture. The Tri-force from legend of Zelda is the second iteration of Sierpinski s Triangle.
3 Sierpinski s Triangle and the Lucas Correspondence Theorem
4 Sierpinski s Triangle and the Lucas Correspondence Theorem
5 Sierpinski s Triangle and the Lucas Correspondence Theorem
6 Sierpinski s Triangle and the Lucas Correspondence Theorem
7 Fun facts Sierpinski s triangle is a self similar set. The area of Sierpinski s triangle is zero in Lebesgue measure. There is a three dimensional analogue of Sierpinski s triangle called a Tetrix. Someone in our class made a shale using a Sierpinski s triangle pattern. There are several ways to construct Sierpinski s triangle.
8 Construction There are several ways to construct Sierpinski s triangle Deletion method Pascals triangle mod 2 Chaos game Bit wise operations(made possible by Lucas Correspondence Theorem
9 Sierpinski s Triangle and the Lucas Correspondence Theorem
10 Lucas Correspondence Theorem Theorem Lucas Correspondence Theorem If p is prime and M and N are integers such that M = M 0 + M 1 p + M 2 p M k p k and N = N 0 + N 1 p + N 2 p N k p k with 0 M r < p and 0 N r p, then ( M N ( M0 N 0 ( M1 N 1 ( M2 N 2 ( Mk N k (mod p.
11 Proof of Lucas Correspondence Theorem Proof. Consider the generating function with ( M N as the coefficient of the N th term. ( Then we have: M N 0 N x N x N = M N=0 ( M N = (1 + x M = (1 + x M 0+M 1 p+m 2 p 2 + +M k p k = k r=0 [(1 + xpr ] Mr k r=0 (1 + x pr Mr (mod p = k r=0 ( M r ( Mr s r =0 s r x s r p r = ( ( M 0 0 x 0 p 0 + ( M 0 1 x 1 p 0 + ( M 0 2 x 2 p ( M 0 M 0 x M 0 p 0 ( ( M 1 0 x 0 p 1 + ( M 1 1 x 1 p 1 + ( M 1 2 x 2 p ( M 1 M 1 x M 1 p 1 ( ( M r 0. x 0 p Mr + ( M r 1 x 1 p Mr + ( M r ( 2 Mr s r x N = M N=0 ( k r=0 x 2 p Mr + + ( M r M r x M r p Mr
12 Proof. Where the inner sum is taken over all sets (s 0, s 1,..., s k such that k r=0 s r p r = N. But 0 s r M r < p, so there is at most one such set and given by s r = N r (0 r k if every N r M r ; otherwise, the sum is zero. We see that the theorem follows by equating coefficients.
13 Bitwise operations Bit: a true false value or in our case one or zero Not: takes one bit and change to opposite value T goes to F, F goes to T And: compares two bits and returns true (1 iff both bits are true (1, otherwise returns false (0
14 The Connection to bitwise operations So we can calculate ( M N really quickly by comparing the M and N in base p. If any N r is larger than the corresponding M r then ( M N will be zero. If we let our p = 2 we see how bit wise operations come into play. We will use the composition of the not and and operations. Which will be and(not(m,n. We will color the square if our operation yields zero else we leave our square blank. More generally, we color squares that have Zero outputs one color and color squares that have non-zero outputs a different color
15 Why bitwise Why not. Faster to run Easier to program (I m guessing it would be
16 Questions Questions, now is the time to ask.
17 Sources Coeffcients Modulo a Prime, Amer. Math. Monthly 54 (1947, "MAA Found Math for the Week of August 22, 2011." MAA Found Math for the Week of August 22, N.p., n.d. Web. 28 Nov "Wikipedia." Wikipedia. N.p., n.d. Web. 28 Nov Weisstein, Eric W. "Sierpiński Sieve." From MathWorld A Wolfram Web Resource.
The Sierpiński Sieve of Nim-varieties and Binomial Coefficients
1 The Sierpiński Sieve of Nim-varieties and Binomial Coefficients Aviezri Fraenkel fraenkel@wisdom.weizmann.ac.il Alex Kontorovich alexk@math.columbia.edu July 27, 2006 Dedicated to Ron Graham on his 70th
More informationAviezri Fraenkel Department of Computer Science and Applied Mathematics, Weizmann Institute of Science, Rehovot, Israel 76100
INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 7(2) (2007), #A14 THE SIERPIŃSKI SIEVE OF NIM-VARIETIES AND BINOMIAL COEFFICIENTSS Aviezri Fraenkel Department of Computer Science and Applied
More informationOn the Composite Terms in Sequence Generated from Mersenne-type Recurrence Relations
On the Composite Terms in Sequence Generated from Mersenne-type Recurrence Relations Pingyuan Zhou E-mail:zhoupingyuan49@hotmail.com Abstract We conjecture that there is at least one composite term in
More informationDigit Reversal Without Apology
Digit Reversal Without Apology Lara Pudwell Rutgers University Piscataway, NJ 08854 lpudwell@math.rutgers.edu In A Mathematician s Apology [1] G. H. Hardy states, 8712 and 9801 are the only four-figure
More informationOn the Structure of Primes Simon Mark Horvat
On the Structure of Primes Simon Mark Horvat This paper explains the structure of Prime numbers and shows that they are not random. Discussion On pages 322 through 324 of Prime Obssesion, [Derbyshire,
More informationLucas Lehmer primality test - Wikipedia, the free encyclopedia
Lucas Lehmer primality test From Wikipedia, the free encyclopedia In mathematics, the Lucas Lehmer test (LLT) is a primality test for Mersenne numbers. The test was originally developed by Edouard Lucas
More informationAn extension of the Pascal triangle and the Sierpiński gasket to finite words. Joint work with Julien Leroy and Michel Rigo (ULiège)
An extension of the Pascal triangle and the Sierpiński gasket to finite words Joint work with Julien Leroy and Michel Rigo (ULiège) Manon Stipulanti (ULiège) FRIA grantee LaBRI, Bordeaux (France) December
More informationcse 311: foundations of computing Fall 2015 Lecture 11: Modular arithmetic and applications
cse 311: foundations of computing Fall 2015 Lecture 11: Modular arithmetic and applications arithmetic mod 7 a + 7 b = (a + b) mod 7 a 7 b = (a b) mod 7 5 6 0 1 2 4 3 + 0 1 2 3 4 5 6 0 0 1 2 3 4 5 6 1
More informationMATH CSE20 Homework 5 Due Monday November 4
MATH CSE20 Homework 5 Due Monday November 4 Assigned reading: NT Section 1 (1) Prove the statement if true, otherwise find a counterexample. (a) For all natural numbers x and y, x + y is odd if one of
More informationCPSC 467b: Cryptography and Computer Security
CPSC 467b: Cryptography and Computer Security Michael J. Fischer Lecture 10 February 19, 2013 CPSC 467b, Lecture 10 1/45 Primality Tests Strong primality tests Weak tests of compositeness Reformulation
More informationDIVISIBILITY OF BINOMIAL COEFFICIENTS AT p = 2
DIVISIBILITY OF BINOMIAL COEFFICIENTS AT p = 2 BAILEY SWINFORD Abstract. This paper will look at the binomial coefficients divisible by the prime number 2. The paper will seek to understand and explain
More informationThe knapsack Problem
There is a set of n items. The knapsack Problem Item i has value v i Z + and weight w i Z +. We are given K Z + and W Z +. knapsack asks if there exists a subset S {1, 2,..., n} such that i S w i W and
More informationItem 8. Constructing the Square Area of Two Proving No Irrationals. 6 Total Pages
Item 8 Constructing the Square Area of Two Proving No Irrationals 6 Total Pages 1 2 We want to start with Pi. How Geometry Proves No Irrations They call Pi the ratio of the circumference of a circle to
More informationDiscrete Mathematics and Probability Theory Fall 2013 Vazirani Note 1
CS 70 Discrete Mathematics and Probability Theory Fall 013 Vazirani Note 1 Induction Induction is a basic, powerful and widely used proof technique. It is one of the most common techniques for analyzing
More informationTHE DYNAMICS OF SUCCESSIVE DIFFERENCES OVER Z AND R
THE DYNAMICS OF SUCCESSIVE DIFFERENCES OVER Z AND R YIDA GAO, MATT REDMOND, ZACH STEWARD Abstract. The n-value game is a dynamical system defined by a method of iterated differences. In this paper, we
More informationJunior Villafana. Math 301. Dr. Meredith. Odd Perfect Numbers
Junior Villafana Math 301 Dr. Meredith Odd Perfect Numbers Arguably the oldest unsolved problem in mathematics is still giving mathematicians a headache, even with the aid of technology; the search for
More informationX(^+(2^i) = i + X02^r + i.
Peter R. Christopher Department of Mathematics Sciences Worcester Polytechnic Institute, Worcester, MA 69 John W. Kennedy Mathematics Department, Pace University, New York, NY 38 (Submitted May 995). INTRODUCTION
More informationAlgorithms CMSC Homework set #1 due January 14, 2015
Algorithms CMSC-27200 http://alg15.cs.uchicago.edu Homework set #1 due January 14, 2015 Read the homework instructions on the website. The instructions that follow here are only an incomplete summary.
More informationPascal s Triangle. Jean-Romain Roy. February, 2013
Pascal s Triangle Jean-Romain Roy February, 2013 Abstract In this paper, I investigate the hidden beauty of the Pascals triangle. This arithmetical object as proved over the year to encompass seemingly
More informationp = This is small enough that its primality is easily verified by trial division. A candidate prime above 1000 p of the form p U + 1 is
LARGE PRIME NUMBERS 1. Fermat Pseudoprimes Fermat s Little Theorem states that for any positive integer n, if n is prime then b n % n = b for b = 1,..., n 1. In the other direction, all we can say is that
More informationCSE 311: Foundations of Computing. Lecture 10: Set Operations & Representation, Modular Arithmetic
CSE 311: Foundations of Computing Lecture 10: Set Operations & Representation, Modular Arithmetic Definitions A and B are equal if they have the same elements A = B x (x A x B) A is a subset of B if every
More informationFermat s Little Theorem. Fermat s little theorem is a statement about primes that nearly characterizes them.
Fermat s Little Theorem Fermat s little theorem is a statement about primes that nearly characterizes them. Theorem: Let p be prime and a be an integer that is not a multiple of p. Then a p 1 1 (mod p).
More informationHomework problem: Find all digits to the repeating decimal 1/19 = using a calculator.
MAE 501 March 3, 2009 Homework problem: Find all digits to the repeating decimal 1/19 = 0.052631578947368421 using a calculator. Katie s way On calculator, we find the multiples of 1/19: 1/19 0.0526315789
More informationCosc 412: Cryptography and complexity Lecture 7 (22/8/2018) Knapsacks and attacks
1 Cosc 412: Cryptography and complexity Lecture 7 (22/8/2018) Knapsacks and attacks Michael Albert michael.albert@cs.otago.ac.nz 2 This week Arithmetic Knapsack cryptosystems Attacks on knapsacks Some
More informationSierpinski's Triangle and the Prouhet-Thue-Morse Word DAVID CALLAN. Department of Statistics University Ave. November 18, 2006.
Sierpinski's Triangle and the Prouhet-Thue-Morse Word DAVID CALLAN Department of Statistics University of Wisconsin-Madison 300 University Ave Madison, WI 53706-532 callan@stat.wisc.edu November 8, 2006
More informationA Taste of Pi: Clocks, Set, and the Secret Math of Spies
A Taste of Pi: Clocks, Set, and the Secret Math of Spies Katherine E. Stange SFU / PIMS-UBC October 16, 2010 The Math of Clocks Here is a picture of a clock. The Math of Clocks Here is a picture of a clock.
More informationChapter 6 Randomization Algorithm Theory WS 2012/13 Fabian Kuhn
Chapter 6 Randomization Algorithm Theory WS 2012/13 Fabian Kuhn Randomization Randomized Algorithm: An algorithm that uses (or can use) random coin flips in order to make decisions We will see: randomization
More informationFERMAT S TEST KEITH CONRAD
FERMAT S TEST KEITH CONRAD 1. Introduction Fermat s little theorem says for prime p that a p 1 1 mod p for all a 0 mod p. A naive extension of this to a composite modulus n 2 would be: for all a 0 mod
More informationIntegral approximations to π with nonnegative integrands
Integral approximations to π with nonnegative integrands S.K. Lucas Department of Mathematics and Statistics James Madison University Harrisonburg VA 2287 Email: lucassk@jmu.edu May 27 One of the more
More informationNotes on Systems of Linear Congruences
MATH 324 Summer 2012 Elementary Number Theory Notes on Systems of Linear Congruences In this note we will discuss systems of linear congruences where the moduli are all different. Definition. Given the
More informationQ: How can quantum computers break ecryption?
Q: How can quantum computers break ecryption? Posted on February 21, 2011 by The Physicist Physicist: What follows is the famous Shor algorithm, which can break any RSA encryption key. The problem: RSA,
More informationMathematical Foundations of Computer Science
Mathematical Foundations of Computer Science CS 499, Shanghai Jiaotong University, Dominik Scheder Monday, 208-03-9, homework handed out Sunday, 208-03-25, 2:00: submit questions and first submissions.
More informationCSC 125 :: Final Exam December 14, 2011
1-5. Complete the truth tables below: CSC 125 :: Final Exam December 14, 2011 p q p q p q p q p q p q T T F F T F T F (6 9) Let p be: Log rolling is fun. q be: The sawmill is closed. Express these as English
More informationπ in terms of φ via the Machin s Route
in terms of φ via the Machin s Route Hei-Chi Chan Mathematical Science Program, University of Illinois at Springfield Springfield, IL 62703-507 email: chan.hei-chi@uis.edu Abstract In this paper, we prove
More informationTopological properties of Z p and Q p and Euclidean models
Topological properties of Z p and Q p and Euclidean models Samuel Trautwein, Esther Röder, Giorgio Barozzi November 3, 20 Topology of Q p vs Topology of R Both R and Q p are normed fields and complete
More informationRegular Languages and Finite Automata
Regular Languages and Finite Automata Theorem: Every regular language is accepted by some finite automaton. Proof: We proceed by induction on the (length of/structure of) the description of the regular
More information5. Sequences & Recursion
5. Sequences & Recursion Terence Sim 1 / 42 A mathematician, like a painter or poet, is a maker of patterns. Reading Sections 5.1 5.4, 5.6 5.8 of Epp. Section 2.10 of Campbell. Godfrey Harold Hardy, 1877
More informationGrade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, Lest We Forget
Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 11/12 Math Circles Rational Points on an Elliptic Curves Dr. Carmen Bruni November 11, 2015 - Lest
More informationMath From Scratch Lesson 20: The Chinese Remainder Theorem
Math From Scratch Lesson 20: The Chinese Remainder Theorem W. Blaine Dowler January 2, 2012 Contents 1 Relatively Prime Numbers 1 2 Congruence Classes 1 3 Algebraic Units 2 4 Chinese Remainder Theorem
More informationModular Arithmetic Instructor: Marizza Bailey Name:
Modular Arithmetic Instructor: Marizza Bailey Name: 1. Introduction to Modular Arithmetic If someone asks you what day it is 145 days from now, what would you answer? Would you count 145 days, or find
More information, (132 1)/2, ( , (112 1)/2, ( , (172 1)/2, ( )/2 also 82 ± 72. etc.
PYTHAGOREAN TRIPLES Apr. 28, 2012 at the CMC 3 Recreational Mathematics Conference in S. Tahoe. by Mark Harbison. harbism@scc.losrios.edu c: 916-475-9461 This web page changed my life. http://en.wikipedia.org/wiki/pythagorean_triple
More informationMore Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006.
More Completeness, conp, FNP,etc. CS254 Chris Pollett Oct 30, 2006. Outline A last complete problem for NP conp, conp NP Function problems MAX-CUT A cut in a graph G=(V,E) is a set of nodes S used to partition
More informationGEOMETRY OF BINOMIAL COEFFICIENTS. STEPHEN WOLFRAM The Institute jor Advanced Study, Princeton NJ 08540
Reprinted from the AMERICAN MATHEMATICAL MONTHLY Vol. 91, No.9, November 1984 GEOMETRY OF BINOMIAL COEFFICIENTS STEPHEN WOLFRAM The Institute jor Advanced Study, Princeton NJ 08540 This note describes
More informationCSE 311: Foundations of Computing. Lecture 10: Set Operations & Representation, Modular Arithmetic
CSE 311: Foundations of Computing Lecture 10: Set Operations & Representation, Modular Arithmetic Definitions A and B are equalif they have the same elements A = B x(x A x B) A is a subsetof B if every
More informationP a g e 1. Prime Gaps. The Structure and Properties of the Differences between Successive Prime Numbers. Jerrad Neff
P a g e 1 Prime Gaps The Structure and Properties of the Differences between Successive Prime Numbers Jerrad Neff P a g e 2 Table of Contents 1. Defining the Prime Gap Function 2. Discoveries and Data
More informationDiscrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 3
EECS 70 Discrete Mathematics and Probability Theory Spring 014 Anant Sahai Note 3 Induction Induction is an extremely powerful tool in mathematics. It is a way of proving propositions that hold for all
More informationFactoring. there exists some 1 i < j l such that x i x j (mod p). (1) p gcd(x i x j, n).
18.310 lecture notes April 22, 2015 Factoring Lecturer: Michel Goemans We ve seen that it s possible to efficiently check whether an integer n is prime or not. What about factoring a number? If this could
More information1 Probability Review. CS 124 Section #8 Hashing, Skip Lists 3/20/17. Expectation (weighted average): the expectation of a random quantity X is:
CS 24 Section #8 Hashing, Skip Lists 3/20/7 Probability Review Expectation (weighted average): the expectation of a random quantity X is: x= x P (X = x) For each value x that X can take on, we look at
More informationF. T. HOWARD AND CURTIS COOPER
SOME IDENTITIES FOR r-fibonacci NUMBERS F. T. HOWARD AND CURTIS COOPER Abstract. Let r 1 be an integer. The r-generalized Fibonacci sequence {G n} is defined as 0, if 0 n < r 1; G n = 1, if n = r 1; G
More informationDecrypting Fibonacci and Lucas Sequences. Contents
Contents Abstract Introduction 3 Chapter 1 U(n) Formula in 3 unknowns 7 Chapter Polynomial Expression of L(kn) in Terms of L(n) 19 Introduction of the Tables (Fibonacci Table, Lucas-Fibonacci Table and
More informationTHE N-VALUE GAME OVER Z AND R
THE N-VALUE GAME OVER Z AND R YIDA GAO, MATT REDMOND, ZACH STEWARD Abstract. The n-value game is an easily described mathematical diversion with deep underpinnings in dynamical systems analysis. We examine
More informationThe student solutions shown below highlight the most commonly used approaches and also some that feature nice use of algebraic polynomial formulas.
Print Assign Submit Solution and Commentary Online Resources Scoring Rubric [pdf] Teacher Packet [pdf] Strategy 11: Get Unstuck Strategy Examples [pdf] Polynomial Power [Problem #5272] Comments and Sample
More informationWave Equation--1-Dimensional
Page 1 of 7 INDEX Algebra Applied Mathematics Calculus and Analysis Discrete Mathematics Foundations of Mathematics Geometry History and Terminology Number Theory Probability and Statistics Recreational
More informationSimon s algorithm (1994)
Simon s algorithm (1994) Given a classical circuit C f (of polynomial size, in n) for an f : {0, 1} n {0, 1} n, such that for a certain s {0, 1} n \{0 n }: x, y {0, 1} n (x y) : f (x) = f (y) x y = s with
More information1 Buffon s Needle Problem 2
Buffon s Needle Problem Manuel Eberl August 16, 2018 Abstract In the 18th century, Georges-Louis Leclerc, Comte de Buffon posed and later solved the following problem [1, 2], which is often called the
More informationReceived: 2/12/08, Revised: 10/8/08, Accepted: 12/3/08, Published: 12/23/08. Abstract
INTEGERS: ELECTRONIC JOURNAL OF COMBINATORIAL NUMBER THEORY 8 (2008), #A61 RESOLUTION OF THE MIXED SIERPIŃSKI PROBLEM Louis Helm lhelm@seventeenorbust.com Phil Moore moorep@lanecc.edu Payam Samidoost payam.samidoost@gmail.com
More informationMath/Music: Structure and Form Fall 2011 Worksheet on Continued Fractions
Math/Music: Structure and Form Fall 20 Worksheet on Continued Fractions Playing around with π The famous mathematical constant π is irrational, with a non-repeating, non-terminating decimal expansion.
More informationMath 1600B Lecture 4, Section 2, 13 Jan 2014
1 of 8 Math 1600B Lecture 4, Section 2, 13 Jan 2014 Announcements: Read Section 13 for next class Work through recommended homework questions Tutorials start this week, and include a quiz covering Sections
More informationClock Arithmetic. 1. If it is 9 o clock and you get out of school in 4 hours, when do you get out of school?
Clock Arithmetic We are going to learn all about clock addition and the relationship to remainders when you divide numbers. 1 Standard Clock Addition 1. If it is 9 o clock and you get out of school in
More information#A6 INTEGERS 17 (2017) AN IMPLICIT ZECKENDORF REPRESENTATION
#A6 INTEGERS 17 (017) AN IMPLICIT ZECKENDORF REPRESENTATION Martin Gri ths Dept. of Mathematical Sciences, University of Essex, Colchester, United Kingdom griffm@essex.ac.uk Received: /19/16, Accepted:
More informationFactoring Algorithms Pollard s p 1 Method. This method discovers a prime factor p of an integer n whenever p 1 has only small prime factors.
Factoring Algorithms Pollard s p 1 Method This method discovers a prime factor p of an integer n whenever p 1 has only small prime factors. Input: n (to factor) and a limit B Output: a proper factor of
More informationCPSC 467b: Cryptography and Computer Security
CPSC 467b: Cryptography and Computer Security Michael J. Fischer Lecture 9 February 6, 2012 CPSC 467b, Lecture 9 1/53 Euler s Theorem Generating RSA Modulus Finding primes by guess and check Density of
More informationWestside Algebra 2 PreAP
Westside Algebra 2 PreAP Name Period IMPORTANT INSTRUCTIONS FOR STUDENTS!!! We understand that students come to Algebra II with different strengths and needs. For this reason, students have options for
More informationWeek 2: Defining Computation
Computational Complexity Theory Summer HSSP 2018 Week 2: Defining Computation Dylan Hendrickson MIT Educational Studies Program 2.1 Turing Machines Turing machines provide a simple, clearly defined way
More informationSummer Packet Geometry PAP
Summer Packet Geometry PAP IMPORTANT INSTRUCTIONS FOR STUDENTS!!! We understand that students come to Geometry with different strengths and needs. For this reason, students have options for completing
More informationLecture Notes, Week 6
YALE UNIVERSITY DEPARTMENT OF COMPUTER SCIENCE CPSC 467b: Cryptography and Computer Security Week 6 (rev. 3) Professor M. J. Fischer February 15 & 17, 2005 1 RSA Security Lecture Notes, Week 6 Several
More informationLecture 7: The Satisfiability Problem
Lecture 7: The Satisfiability Problem 1 Satisfiability 1.1 Classification of Formulas Remember the 2 classifications of problems we have discussed in the past: Satisfiable and Valid. The Classification
More informationCOM S 330 Lecture Notes Week of Feb 9 13
Monday, February 9. Rosen.4 Sequences Reading: Rosen.4. LLM 4.. Ducks 8., 8., Def: A sequence is a function from a (usually infinite) subset of the integers (usually N = {0,,, 3,... } or Z + = {,, 3, 4,...
More informationChapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula
Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Prof. Tesler Math 184A Fall 2019 Prof. Tesler Ch. 7. Inclusion-Exclusion Math 184A / Fall 2019 1 / 25 Venn diagram and set sizes A = {1, 2, 3, 4,
More informationMITOCW ocw-18_02-f07-lec02_220k
MITOCW ocw-18_02-f07-lec02_220k The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources for free.
More informationSQUARE PATTERNS AND INFINITUDE OF PRIMES
SQUARE PATTERNS AND INFINITUDE OF PRIMES KEITH CONRAD 1. Introduction Numerical data suggest the following patterns for prime numbers p: 1 mod p p = 2 or p 1 mod 4, 2 mod p p = 2 or p 1, 7 mod 8, 2 mod
More informationExample 1: Identifying the Parts of a Conditional Statement
"If p, then q" can also be written... If p, q q, if p p implies q p only if q Example 1: Identifying the Parts of a Conditional Statement Identify the hypothesis and conclusion of each conditional. A.
More informationGeorgia Tech High School Math Competition
Georgia Tech High School Math Competition Multiple Choice Test February 28, 2015 Each correct answer is worth one point; there is no deduction for incorrect answers. Make sure to enter your ID number on
More informationHow hard is it to find a good solution?
How hard is it to find a good solution? Simons Institute Open Lecture November 4, 2013 Research Area: Complexity Theory Given a computational problem, find an efficient algorithm that solves it. Goal of
More informationCongruence of Integers
Congruence of Integers November 14, 2013 Week 11-12 1 Congruence of Integers Definition 1. Let m be a positive integer. For integers a and b, if m divides b a, we say that a is congruent to b modulo m,
More informationMathematics of Public Key Cryptography
Mathematics of Public Key Cryptography Eric Baxter April 12, 2014 Overview Brief review of public-key cryptography Mathematics behind public-key cryptography algorithms What is Public-Key Cryptography?
More information4 Linear Recurrence Relations & the Fibonacci Sequence
4 Linear Recurrence Relations & the Fibonacci Sequence Recall the classic example of the Fibonacci sequence (F n ) n=1 the relations: F n+ = F n+1 + F n F 1 = F = 1 = (1, 1,, 3, 5, 8, 13, 1,...), defined
More informationThe Euclidean Algorithm in Quadratic Number Fields
The Euclidean Algorithm in Quadratic Number Fields Sarah Mackie Supervised by: Prof. Christopher Smyth September 6, 06 Abstract The purpose of this report is to investigate the Euclidean Algorithm in quadratic
More informationEXTRA CREDIT FOR MATH 39
EXTRA CREDIT FOR MATH 39 This is the second, theoretical, part of an extra credit homework. This homework in not compulsory. If you do it, you can get up to 6 points (3 points for each part) of extra credit
More informationCarmen s Core Concepts (Math 135)
Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 2 1 Divisibility Theorems 2 DIC Example 3 Converses 4 If and only if 5 Sets 6 Other Set Examples 7 Set Operations 8 More Set Terminology
More informationAnd for polynomials with coefficients in F 2 = Z/2 Euclidean algorithm for gcd s Concept of equality mod M(x) Extended Euclid for inverses mod M(x)
Outline Recall: For integers Euclidean algorithm for finding gcd s Extended Euclid for finding multiplicative inverses Extended Euclid for computing Sun-Ze Test for primitive roots And for polynomials
More informationHomework #2 solutions Due: June 15, 2012
All of the following exercises are based on the material in the handout on integers found on the class website. 1. Find d = gcd(475, 385) and express it as a linear combination of 475 and 385. That is
More information1 2 3 style total. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.
1 2 3 style total Math 415 Examination 3 Please print your name: Answer Key 1 True/false Circle the correct answer; no explanation is required. Each problem in this section counts 5 points. 1. The rings
More informationMA/CSSE 473 Day 05. Factors and Primes Recursive division algorithm
MA/CSSE 473 Day 05 actors and Primes Recursive division algorithm MA/CSSE 473 Day 05 HW 2 due tonight, 3 is due Monday Student Questions Asymptotic Analysis example: summation Review topics I don t plan
More informationMath 110 HW 3 solutions
Math 0 HW 3 solutions May 8, 203. For any positive real number r, prove that x r = O(e x ) as functions of x. Suppose r
More informationFinding 2d ham sandwich cuts in linear time
Finding 2d ham sandwich cuts in linear time Benjamin Armbruster March 2, Abstract A ham sandwich cut in d dimensions is a (d 1)-dimensional hyperplane that divides each of d objects in half. While the
More informationMATH UN Midterm 2 November 10, 2016 (75 minutes)
Name: UNI: Instructor: Shrenik Shah MATH UN3025 - Midterm 2 November 10, 2016 (75 minutes) This examination booklet contains 6 problems. There are 10 sheets of paper including the front cover. This is
More informationQ 2.0.2: If it s 5:30pm now, what time will it be in 4753 hours? Q 2.0.3: Today is Wednesday. What day of the week will it be in one year from today?
2 Mod math Modular arithmetic is the math you do when you talk about time on a clock. For example, if it s 9 o clock right now, then it ll be 1 o clock in 4 hours. Clearly, 9 + 4 1 in general. But on a
More informationMore about partitions
Partitions 2.4, 3.4, 4.4 02 More about partitions 3 + +, + 3 +, and + + 3 are all the same partition, so we will write the numbers in non-increasing order. We use greek letters to denote partitions, often
More information452 FINAL- VERSION E Do not open this exam until you are told. Read these instructions:
1 452 FINAL- VERSION E Do not open this exam until you are told. Read these instructions: 1. This is a closed book exam, though one sheet of notes is allowed. No calculators, or other aids are allowed.
More informationCSE 311: Foundations of Computing. Lecture 12: Two s Complement, Primes, GCD
CSE 311: Foundations of Computing Lecture 12: Two s Complement, Primes, GCD n-bit Unsigned Integer Representation Represent integer as sum of powers of 2: If 2 where each {0,1} then representation is b
More informationA New Sieve for the Twin Primes
A ew Sieve for the Twin Primes and how the number of twin primes is related to the number of primes by H.L. Mitchell Department of mathematics CUY-The City College 160 Convent avenue ew York, Y 10031 USA
More informationSOLUTION: SOLUTION: SOLUTION:
Convert R and S into nondeterministic finite automata N1 and N2. Given a string s, if we know the states N1 and N2 may reach when s[1...i] has been read, we are able to derive the states N1 and N2 may
More informationRooks and Pascal s Triangle. shading in the first k squares of the diagonal running downwards to the right. We
Roos and Pascal s Triangle An (n,) board consists of n 2 squares arranged in n rows and n columns with shading in the first squares of the diagonal running downwards to the right. We consider (n,) boards
More information1 Reductions and Expressiveness
15-451/651: Design & Analysis of Algorithms November 3, 2015 Lecture #17 last changed: October 30, 2015 In the past few lectures we have looked at increasingly more expressive problems solvable using efficient
More informationLecture 3: String Matching
COMP36111: Advanced Algorithms I Lecture 3: String Matching Ian Pratt-Hartmann Room KB2.38: email: ipratt@cs.man.ac.uk 2017 18 Outline The string matching problem The Rabin-Karp algorithm The Knuth-Morris-Pratt
More informationNotes for Lecture 21
U.C. Berkeley CS170: Intro to CS Theory Handout N21 Professor Luca Trevisan November 20, 2001 Notes for Lecture 21 1 Tractable and Intractable Problems So far, almost all of the problems that we have studied
More informationMATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.
MATH 501 Discrete Mathematics Lecture 6: Number theory Prof. Dr. Slim Abdennadher, slim.abdennadher@guc.edu.eg German University Cairo, Department of Media Engineering and Technology 1 Number theory Number
More informationFinite Fields. SOLUTIONS Network Coding - Prof. Frank H.P. Fitzek
Finite Fields In practice most finite field applications e.g. cryptography and error correcting codes utilizes a specific type of finite fields, namely the binary extension fields. The following exercises
More information