Podcast
Questions and Answers
When we say that 3 divides 12, which of the following statements is true?
When we say that 3 divides 12, which of the following statements is true?
- 3 is greater than 12.
- There is an integer that multiplied by 3 equals 12. (correct)
- 12 is a factor of 3.
- 3 does not divide 12.
5 divides 12 is true.
5 divides 12 is true.
False (B)
What is the notation for saying that 3 does not divide 12?
What is the notation for saying that 3 does not divide 12?
5 ∤ 12
If a does not divide b, we write it as a ______ b.
If a does not divide b, we write it as a ______ b.
Match the following terms with their definitions:
Match the following terms with their definitions:
Which of the following pairs correctly demonstrates the relationship between factors and multiples?
Which of the following pairs correctly demonstrates the relationship between factors and multiples?
If a divides b, then a is a multiple of b.
If a divides b, then a is a multiple of b.
Give an example of two integers where the first is a factor of the second.
Give an example of two integers where the first is a factor of the second.
What is the hexadecimal representation of the decimal number 23670?
What is the hexadecimal representation of the decimal number 23670?
The binary expansion (11011)2 equals 27 in decimal.
The binary expansion (11011)2 equals 27 in decimal.
What is the decimal expansion of the octal number (111)8?
What is the decimal expansion of the octal number (111)8?
(101011111)2 in decimal is equal to ______.
(101011111)2 in decimal is equal to ______.
Match the following numeral systems with their respective base:
Match the following numeral systems with their respective base:
Which of the following digits is NOT used in hexadecimal?
Which of the following digits is NOT used in hexadecimal?
The base of the binary numeral system is 10.
The base of the binary numeral system is 10.
How many digits are used in the octal numeral system?
How many digits are used in the octal numeral system?
What is the result of 228 mod 119?
What is the result of 228 mod 119?
The statement 21 ≡ −8 (mod 6) is true.
The statement 21 ≡ −8 (mod 6) is true.
What is the octal representation of the binary number (011 111 010 111 100)2?
What is the octal representation of the binary number (011 111 010 111 100)2?
Calculate the value of -10101 mod 333.
Calculate the value of -10101 mod 333.
The hexadecimal representation of the binary number (0011 1110 1011 1100)2 is (3EBC)16.
The hexadecimal representation of the binary number (0011 1110 1011 1100)2 is (3EBC)16.
To convert the number 25 into binary, the last digit is obtained by computing 25 mod ______.
To convert the number 25 into binary, the last digit is obtained by computing 25 mod ______.
Convert the decimal number 231 to its binary expansion.
Convert the decimal number 231 to its binary expansion.
To convert to octal, group the binary digits into blocks of ____.
To convert to octal, group the binary digits into blocks of ____.
Match the bases with their corresponding number of digits:
Match the bases with their corresponding number of digits:
Match the numbers with their corresponding binary expansions:
Match the numbers with their corresponding binary expansions:
Which of the following is NOT a valid representation of base 16?
Which of the following is NOT a valid representation of base 16?
What is the result of $110 \times 101$ in binary?
What is the result of $110 \times 101$ in binary?
The number 53 ≡ 108 (mod 7) is true.
The number 53 ≡ 108 (mod 7) is true.
In modular arithmetic, the operation 'mod' can yield a result that is greater than the divisor.
In modular arithmetic, the operation 'mod' can yield a result that is greater than the divisor.
What is the binary expansion of the octal number (1604)8?
What is the binary expansion of the octal number (1604)8?
What are the digits used in base 8?
What are the digits used in base 8?
What is the purpose of modular exponentiation?
What is the purpose of modular exponentiation?
The product of binary numbers (110)2 and (101)2 is (11110)2.
The product of binary numbers (110)2 and (101)2 is (11110)2.
What is the binary result of the addition of (1110)2 and (1011)2?
What is the binary result of the addition of (1110)2 and (1011)2?
Given integers a and d, d > 0, the quotient is defined as a div d and the remainder is defined as a mod _____.
Given integers a and d, d > 0, the quotient is defined as a div d and the remainder is defined as a mod _____.
Match the binary numbers with their decimal equivalents:
Match the binary numbers with their decimal equivalents:
When performing modular operations, what is a common technique for the exponent?
When performing modular operations, what is a common technique for the exponent?
What is the initial value of x set to in the modular exponentiation algorithm?
What is the initial value of x set to in the modular exponentiation algorithm?
The algorithm for division and modulus requires that the divisor must be equal to or less than the dividend.
The algorithm for division and modulus requires that the divisor must be equal to or less than the dividend.
If 5 | 25 and 5 | 30, what can be concluded?
If 5 | 25 and 5 | 30, what can be concluded?
If a | b and b | c, then it is false that a | c.
If a | b and b | c, then it is false that a | c.
What are the quotient and remainder when 101 is divided by 11?
What are the quotient and remainder when 101 is divided by 11?
In the equation $101 = 11 \times 9 + 2$, the number 11 is called the ______.
In the equation $101 = 11 \times 9 + 2$, the number 11 is called the ______.
When 25 is divided by 5, what is the remainder?
When 25 is divided by 5, what is the remainder?
Given a = -7 and d = 3, what are the values of q and r?
Given a = -7 and d = 3, what are the values of q and r?
If a | b and a | c, then a | ______ + nc whenever n is any integer.
If a | b and a | c, then a | ______ + nc whenever n is any integer.
Flashcards
Divides Operator (|)
Divides Operator (|)
The symbol '|' is used to indicate when one integer divides another integer evenly. This means there exists an integer 'c' such that 'a * c = b' where 'a' divides 'b'.
Not-Divides Operator (∤)
Not-Divides Operator (∤)
The symbol '∤' indicates that one integer does not divide another integer evenly. There is no integer 'c' such that 'a * c = b' where 'a' does not divide 'b'.
Factor
Factor
A factor of an integer 'b' is any integer 'a' that evenly divides 'b'.
Multiple
Multiple
Signup and view all the flashcards
a | b
a | b
Signup and view all the flashcards
5 ∤ 12
5 ∤ 12
Signup and view all the flashcards
3 | -12 is True
3 | -12 is True
Signup and view all the flashcards
3 | 7 is False
3 | 7 is False
Signup and view all the flashcards
Divides Relation (a | b)
Divides Relation (a | b)
Signup and view all the flashcards
Divides Relation Properties
Divides Relation Properties
Signup and view all the flashcards
Quotient (q)
Quotient (q)
Signup and view all the flashcards
Remainder (r)
Remainder (r)
Signup and view all the flashcards
Modulo Operator (mod)
Modulo Operator (mod)
Signup and view all the flashcards
What is 101 mod 11?
What is 101 mod 11?
Signup and view all the flashcards
Finding the Remainder (Positive Dividend)
Finding the Remainder (Positive Dividend)
Signup and view all the flashcards
Finding the Remainder (Negative Dividend)
Finding the Remainder (Negative Dividend)
Signup and view all the flashcards
Modular Arithmetic
Modular Arithmetic
Signup and view all the flashcards
Congruence Modulo m
Congruence Modulo m
Signup and view all the flashcards
Find 'a mod m'
Find 'a mod m'
Signup and view all the flashcards
Base b Number System
Base b Number System
Signup and view all the flashcards
Converting to Base b
Converting to Base b
Signup and view all the flashcards
Convert Decimal to Binary
Convert Decimal to Binary
Signup and view all the flashcards
Binary Expansion
Binary Expansion
Signup and view all the flashcards
Decimal Expansion of Binary
Decimal Expansion of Binary
Signup and view all the flashcards
Convert Decimal to Octal
Convert Decimal to Octal
Signup and view all the flashcards
Octal Expansion
Octal Expansion
Signup and view all the flashcards
Decimal Equivalent of Octal
Decimal Equivalent of Octal
Signup and view all the flashcards
Hexadecimal Expansion
Hexadecimal Expansion
Signup and view all the flashcards
Convert Decimal to Hexadecimal
Convert Decimal to Hexadecimal
Signup and view all the flashcards
Binary to Octal Conversion
Binary to Octal Conversion
Signup and view all the flashcards
Binary to Hexadecimal Conversion
Binary to Hexadecimal Conversion
Signup and view all the flashcards
Decimal to Binary Conversion
Decimal to Binary Conversion
Signup and view all the flashcards
Binary to Decimal Conversion
Binary to Decimal Conversion
Signup and view all the flashcards
Binary Addition
Binary Addition
Signup and view all the flashcards
Binary Multiplication
Binary Multiplication
Signup and view all the flashcards
Integer Division (div)
Integer Division (div)
Signup and view all the flashcards
Modular Exponentiation
Modular Exponentiation
Signup and view all the flashcards
Binary Representation
Binary Representation
Signup and view all the flashcards
Finding 3644 (mod 645)
Finding 3644 (mod 645)
Signup and view all the flashcards
Sum and Product in Binary
Sum and Product in Binary
Signup and view all the flashcards
7644 (mod 645)
7644 (mod 645)
Signup and view all the flashcards
Binary Addition/Multiplication
Binary Addition/Multiplication
Signup and view all the flashcards
Study Notes
EMath 105 - Discrete Mathematics I for SE
- Course title: EMath 105 - Discrete Mathematics I for SE
- Prepared by: Engr. Alimo-ot and Engr. Sacramento, ECE Department
Number Theory
- Number theory is the study of integers, their properties, and their relationship to algorithms.
- Number theory is important in many modern algorithms. This includes hash functions, cryptography, digital signatures, and online security.
The Integers and Division
- Students are already familiar with integers and division.
- Specific notations, terminology, and theorems, not previously known to the students, form the basics of number theory.
The Divides Operator
- Notation:
3 | 12
means 3 evenly divides 12 - Notation:
5 \ 12
means 5 does not evenly divide 12 - Read '3 | 12' as '3 divides 12'
- Read '5 \ 12' as '5 does not divide 12'
Divides, Factor, Multiple Relationship
- Definition:
a | b
(a divides b) means there is an integerc
such thatb = a * c
. - If
a | b
, thena
is a factor or divisor ofb
andb
is a multiple ofa
. - Example:
3 | -12
is True, but3 | 7
is False.
Results on the Divides Operator
- If
a | b
anda | c
, thena | (b + c)
. - If
a | b
, thena | bc
for all integersc
. - If
a | b
andb | c
, thena | c
. - Example: If
5 | 25
and5 | 30
, then5 | (25 + 30)
.
Divides Relation
- Theorem: For any integers
a
,b
, andc
:a | 0
- If
a | b
anda | c
, thena | (b + c)
a | b
impliesa | bc
for any integerc
- If
a | b
andb | c
, thena | c
- Corollary: If
a | b
anda | c
, thena | (mb + nc)
for any integersm
andn
.
Quotient and Remainder
- When dividing
a
byd
,q
is the quotient, andr
is the remainder. a = d * q + r
, where0 ≤ r < d
.q
= quotientr
= remainderd
= divisora
= dividend- Examples provided: Calculations of 101 / 11 and more examples with different values.
Modular Arithmetic
- "a is congruent to b modulo m" if
m | (a - b)
. - Notation: a ≡ b (mod m).
- Example: 17 ≡ 5 (mod 6) because
6 | (17 - 5)
.
Exercises (True/False)
- Identify whether statements like 7 ≡ 19 (mod 3) are True or False.
Number Systems
- Discusses the decimal, binary, octal, and hexadecimal number systems.
- Decimal uses digits 0-9.
- Binary uses digits 0 and 1.
- Octal uses digits 0-7.
- Hexadecimal uses digits 0-9 and letters A-F (representing 10-15).
Bases of Particular Interest
- Decimal (base 10): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 as digits.
- Binary (base 2): 0, 1 as digits.
- Octal (base 8): 0, 1, 2, 3, 4, 5, 6, 7 as digits.
- Hexadecimal (base 16): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F as digits.
Table: Representation of Integers 0-15
- Table showing the hexadecimal, octal, and binary representations of integers 0 through 15.
Converting to Base b
- Algorithm to convert an integer to a different base
b
. - Find the rightmost digit by calculating the remainder when dividing by
b
. - Recursively apply the process to the quotient, until the quotient becomes 0.
Converting 25 to Binary
- Detailed example of converting 25 to binary representation using the successive division method.
Converting 23670 to Hexadecimal
- Illustrated example of converting 23,670 to hexadecimal.
Binary Expansions
- Most computers use binary expansions.
- Examples of converting binary to decimal and vice versa.
Octal Expansions
- Conversion examples and an example problem.
Hexadecimal Expansions
- Conversion examples.
Base Conversion
- Algorithm to convert an integer to any other base b.
Conversion from/to Binary, Octal and Hexadecimal
- Example problem converting one base to another.
Algorithm for Integer Operations
- Binary addition algorithm.
- Binary multiplication algorithm.
- Algorithm for finding the quotient and the remainder of a division.
- Algorithm for modular exponentiation.
Exercises
- Problems to practice conversion between different bases.
- Problems involving binary addition, multiplication, and modular exponentiation.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz covers key concepts in number theory from EMath 105 - Discrete Mathematics I for SE. Students will learn about integers, division, and the divides operator, along with their relationships in algorithms. Prepare to explore the foundational theorems and notations essential for understanding modern cryptography and security algorithms.