Unit 2 Flashcards
the branch of mathematics concerned with the study of integers.
number theory,
In blank, the input and output values must always be integers.
integer division
Let x and y be two integers. Then x blank y (denoted x|y) if there is an integer k such that y = kx. “x does not divide y” is denoted by x y. If x divides y, then y is said to be a multiple of x, and x is a factor or divisor of y.
divides
In most situations, the number in front of the variable, or the blank, can be any real number
coefficient
A lank of two numbers is the sum of multiples of those numbers.
linear combination
A statement about blank uses variables to denote the integer coefficients. For example, sx + ty is a linear combination of x and y.
a generic linear combination
Let x, y, and z be integers. If x|y and x|z, then blank for any integers s and t.
x|(sy + tz)
Blank, states that the result of the division (the quotient) and the remainder are unique.
Division Algorithm
Let n be an integer and let d be a positive integer. Then, there are unique integers q and r, with 0 ≤ r ≤ d - 1, such that blank
n = qd + r.
In the lank , the number q is called the quotient and the number r is called the remainder. The operations div and mod produce the quotient and the remainder as a function of n and d.
q = n div d
r = n mod d
Division Algorithm
The blank is the result of the division of two integers. The quotient and the remainder are unique.
Division Algorithm
The Division Algorithm works with blank; if any of the inputs is negative, the quotient will be negative per the rules of division.
positive integers only
The operations div and mod produce the quotient (q) and the remainder (r). The blank is d.
divisor
The blank is computed by n div d; q = n div d
quotient
The blank is computed by n mod d; r = n mod d
remainder
To compute the remainder using blank, divide the quotient by n until the remainder is less than n. The remainder is the result. For example, to calculate 38 mod 5, calculate 38 ÷ 5. Five divides into 38 seven times with a remainder of 3. So the quotient is 7 and the remainder is 3. Therefore 38 mod 5 = 3.
modular division
The operation defined by adding two numbers and applying modulo n to the result is called blank.
addition modulo n
The operation defined by multiplying two numbers and applying modulo n to the result is called blank.
multiplication modulo n
To compute blank follow these steps: add the integers, then apply the modulo. For example, 3 mod 7 + 38 mod 7 = 41 mod 7 = 6.
modular addition
To compute blank follow these steps: multiply the integers, then apply the modulo. For example, (10 mod 3) (7 mod 3) = 70 mod 3 = 1.
modular multiplication
The blank is completed as the last step in the process.
modular operation
Let n be an integer greater than 1. Let x and y be any two integers. Then x is blank if x mod n = y mod n. The fact that x is congruent to y modulo n is denoted
x ≡ y (mod n).
congruent to y modulo n
Let n be an integer greater than 1. Let x and y be any two integers. Then x ≡ y (mod n) if and only if blank.
n|(x - y)
Two integers x and y are blank if and only if x mod n = y mod n.
equivalent
blank of two integers is denoted by x ≡ y (mod n) and is only true if n|(x − y). In otherwords, 17 and 92 are equivalent mod 5. 17 mod 5 = 2 and 92 mod 5 = 2. The difference between 92 and 17 is a multiple of 5, 75. In formal notation, 17 ≡ 92 (mod 5) is true if and only if 5|(92 − 17) or 5|75-which it does.
Congruence
blank can be useful in the computation of very large values. Therefore, the modular operation does not necessarily have to be performed after the multiplication or addition processes, but can be utilized throughout a computation without changing the final result.
Intermediate results
A number p is blank if it is an integer greater than 1 and its only factors are 1 and p.
prime
A positive integer is blank if it has a factor other than 1 or itself.
composite
every integer greater than 1 is either blank or blank
prime or composite
blank are the basic building blocks of all integers.
Prime numbers
Every positive integer greater than one can be expressed as a product of primes called its blank.
prime factorization
Moreover, the prime factorization is unique up to ordering of the blank
factors.
The fact that every integer greater than one has a unique prime factorization is central to number theory and is called blank.
The Fundamental Theorem of Arithmetic
Every positive integer other than blank can be expressed uniquely as a product of prime numbers where the prime factors are written in non-decreasing order.
1
A blank is a sequence in which each number is equal to or greater than the one that came before.
non-decreasing sequence
The blankl of a prime factor p in a prime factorization is the number of times p appears in the product of primes.
multiplicity
In order to express the prime factorization more compactly, we use blank in which each distinct prime factor occurs only once and is raised to an exponent that is equal to its multiplicity.
exponential notation
The blank states that every positive integer greater than 1 can be expressed as a unique product of prime numbers.
fundamental theorem of arithmetic
A blank (e.g., 1, 1, 2, 3, 17) can have repeated values as long as the values to the right are larger or equal to the values on the left.
non-decreasing sequence
blank is just a term referring to the number of times a value repeats itself in multiplication. For example, the prime factorization of 40 is 2 x 2 x 2 x 5. The factor 2 has a multiplicity of 3.
Multiplicity
The blank of non-zero integers x and y is the largest positive integer that is a factor of both x and y.
greatest common divisor (GCD)
The blank of non-zero integers x and y is the smallest positive integer that is an integer multiple of both x and y.
least common multiple (LCM)
Two numbers are said to be blank if their greatest common divisor is 1.
relatively prime
GCD uses the blank between the prime factorization of two number
min