NUMBER THEORY LEARNING MODULE Understanding Numbers, Proofs, and Problem-Solving Techniques Researchers PREPARED BY: ALQUIZAR, IAN JOSEPH AVANCEÑA, MARIE ANTOINETTE L GIVERTAS, JOHN ERICK ICO, IAN LLOYD MORALES, JOHN SIEGFRED S.Y. 2026-2027 1

TABLE OF CONTENTS PAGE TITLE PAGE 1 TABLE OF CONTENTS 2 INTRODUCTION 5 What Is Number Theory? 5 Basic Concepts of Number Theory 5 Purpose of the Module 6 LEARNING OBJECTIVES AND HOW TO USE THIS MODULE 7 LESSON 1: MATHEMATICAL INDUCTION 9 Introduction 9 Learning Objectives 9 Lesson Discussion 10 Working Examples 11 Activities 12 Assessment 13 Answer Key 15 References 24 LESSON 2: PRIME NUMBERS 25 Introduction 25 Learning Objectives 25 Lesson Discussion 26 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 2

Working Examples 28 Activities 31 Assessment 32 Answer Key 34 References 36 LESSON 3: GREATEST COMMON DIVISOR (GCD) 37 Introduction 37 Learning Objectives 37 Lesson Discussion 37 Working Examples 40 Activities 41 Assessment 43 Answer Key 45 References 53 LESSON 4: THE EUCLIDEAN ALGORITHM 54 Introduction 54 Learning Objectives 54 Lesson Discussion 56 Working Examples 56 Activities 57 Assessment 58 Answer Key 61 References 62 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 3

LESSON 5: LINEAR DIOPHANTINE EQUATIONS Introduction 63 Learning Objectives 63 Lesson Discussion 63 Working Examples 65 Activities 67 Assessment 69 Answer Key 71 References 77 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 4

INTRODUCTION What Is Number Theory? Number Theory is a branch of mathematics that studies integers and their properties. It focuses on ideas such as factors, multiples, divisibility, prime numbers, greatest common divisors, remainders, and integer solutions of equations. These ideas help us recognize patterns, justify mathematical statements, and solve problems involving whole numbers. Number theory has a long history. Ancient mathematicians studied whole-number relationships, and Euclid’s Elements (around 300 BCE) presented important results about divisibility and prime numbers. Euclid also described a repeated-division method for finding the greatest common divisor. Eratosthenes developed a systematic way to identify prime numbers, now called the Sieve of Eratosthenes. Later mathematicians, including Pierre de Fermat, Leonhard Euler, and Carl Friedrich Gauss, expanded the subject. Number theory also has modern uses. Prime numbers and modular arithmetic, for example, are part of the mathematical foundations of some computer-security and cryptographic systems. Basic Concepts Integers: Integers are whole numbers, their negatives, and zero. They do not include fractions or non-integer decimals. Example: −4, 0, and 12 are integers. Symbol: ℤ = {…, −2, −1, 0, 1, 2, …}. Divisibility: An integer a divides an integer b if b = ak for some integer k. We write a | b. Example: 5 | 35 because 35 = 5(7). Prime number: A prime number is an integer greater than 1 with exactly two positive divisors: 1 and itself. Examples: 2, 3, 5, 7, and 11. The number 1 is neither prime nor composite. Composite number: A composite number is an integer greater than 1 with more than two positive divisors. Examples: 4, 6, 8, and 9. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 5

GCD: The greatest common divisor of two integers, not both zero, is the greatest positive integer that divides both numbers. Linear Diophantine equation: An equation of the form ax + by = c, where a, b, and c are integers and integer values of x and y are required. Purpose of the Module Purpose of the Module This learning module aims to develop students' understanding of the fundamental concepts and methods in Number Theory. It covers five topics: Mathematical Induction, Prime Numbers, Greatest Common Divisor (GCD), the Euclidean Algorithm, and Linear Diophantine Equations. Through these topics, students will learn how to recognize number patterns, understand divisibility, determine prime factors, find the greatest common divisor, and solve equations involving integers. This module also aims to improve students' mathematical reasoning and problem-solving skills through clear discussions, step-by-step worked examples, classroom activities, and assessment exercises. Each lesson provides opportunities for students to apply the concepts they have learned, practice solving mathematical problems, and explain their solutions accurately. Furthermore, this module encourages independent learning, active participation, and collaboration among students. By completing the lessons and activities, students are expected to strengthen their understanding of Number Theory and develop confidence in applying its concepts to mathematical problems and practical situations. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 6

LEARNING OBJECTIVES AND HOW TO USE THIS MODULE At the end of this module, students should be able to: ● Explain important terms and properties used in elementary number theory. ● Prove statements about positive integers using mathematical induction. ● Identify prime and composite numbers and determine prime factorizations. ● Find the GCD using factor listing, prime factorization, and the Euclidean Algorithm. ● Apply the Extended Euclidean Algorithm and express a GCD as an integer combination. ● Determine whether a linear Diophantine equation has integer solutions and find its general solution when one exists. ● Present complete, accurate, and organized mathematical reasoning. HOW TO USE THIS MODULE To get the most out of this learning module, students are encouraged to follow the steps below: 1. Read the Lesson Introduction and Objectives. Begin each lesson by reading the introduction and learning objectives to understand the topic and identify what you are expected to learn. 2. Study the Lesson Discussion. Read the explanations of the important concepts, definitions, rules, and mathematical properties. Pay attention to the examples provided to understand how each concept works. 3. Follow the Working Examples. Study each solution carefully and follow the steps in the correct order. Take note of the formulas, mathematical processes, and explanations used in solving the problems. 4. Answer the Learning Activities. Complete the activities provided in each lesson. Try to solve the exercises independently or work with your classmates when group participation is required. Show your complete solutions. 5. Take the Assessment. After completing the lesson and activities, answer the assessment to check your understanding of the topic. Avoid looking at the answer key while answering. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 7

6. Check Your Answers. Use the answer key to review your responses. Compare your solutions with the provided explanations and identify any mistakes that need improvement. 7. Review and Practice. Go back to the concepts or examples that you find difficult. Practice solving similar problems to strengthen your understanding and improve your mathematical skills. Important Reminders ● Read and understand each instruction before answering. ● Show complete and organized mathematical solutions. ● Use the appropriate formulas, rules, and methods discussed in each lesson. ● Write a clear conclusion or final answer for every problem. ● Participate actively in individual and group activities. ● Review your mistakes and learn from the provided answer key. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 8

LESSON 1: MATHEMATICAL INDUCTION Mathematical induction is an important method of mathematical proof used to establish that a statement is true for every positive integer starting from a specified value. It is especially useful for proving formulas involving sums, patterns, inequalities, and divisibility. The method is often compared to a row of falling dominoes. First, the initial domino must fall. Then, each domino must cause the next one to fall. In mathematical induction, the base case verifies the first statement, while the inductive step proves that whenever a statement is true for one integer k, it is also true for the next integer k + 1. Mathematical induction is not simply checking several examples. Testing values such as 1, 2, and 3 may suggest a pattern, but induction provides a logical proof for all integers in the stated range. LEARNING OBJECTIVES At the end of the lesson, students should be able to: 1. Explain the meaning and purpose of mathematical induction as a method of proof. 2. Identify the base case, inductive hypothesis, and inductive step in a mathematical proof. 3. Apply mathematical induction to prove summation formulas involving positive integers. 4. Use mathematical induction to prove statements involving divisibility and inequalities. 5. Construct complete and logically organized mathematical proofs using the Principle of Mathematical Induction. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 9

LESSON DISCUSSION A. Meaning of Mathematical Induction Mathematical induction is a proof technique used to show that a statement P(n) is true for all integers n greater than or equal to a starting integer, usually n = 1. A complete proof has two main parts: the base case and the inductive step. The inductive step includes the inductive hypothesis. B. The Three Main Parts of Mathematical Induction 1. Base Case: Substitute the first value, usually n = 1, into the statement and verify that it is true. 2. Inductive Hypothesis: Assume that the statement P(k) is true for an arbitrary integer k in the required range. This assumption is used only to prove the next case. 3. Inductive Step: Using the inductive hypothesis, prove that P(k + 1) is true. This shows that truth of one case leads to truth of the next case. After these parts are established, conclude that the statement is true for every integer n in the required range by the Principle of Mathematical Induction. C. General Form of an Induction Proof 1. Show that P(1) is true. 2. Assume P(k) is true for an arbitrary positive integer k. 3. Use the assumption to show that P(k + 1) is true. 4. Conclude that P(n) is true for all positive integers n. D. Important Reminders The base case must match the starting value stated in the problem. The inductive hypothesis must be written clearly. Do not assume the statement for k + 1. In the inductive step, use the assumption for P(k) to prove P(k + 1). A proof must show the algebraic steps, not only state that the result is true. Mathematical induction proves an entire set of cases from a starting case and a valid step. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 10

WORKING EXAMPLES Example 1: Prove that 1 + 2 + 3 + ... + n = n(n + 1)/2. Solution: Step 1. Base Case (n = 1): LHS = 1. RHS = 1(1 + 1)/2 = 1. Since both sides are equal, the statement is true for n = 1. Step 2. Inductive Hypothesis: Assume that 1 + 2 + 3 + ... + k = k(k + 1)/2. Step 3. Inductive Step: Prove the formula for n = k + 1. 1 + 2 + ... + k + (k + 1) = k(k + 1)/2 + (k + 1) = (k + 1)(k/2 + 1) = (k + 1)(k + 2)/2 This is the required formula with n replaced by k + 1. Therefore, the statement is true for all positive integers n by mathematical induction. Example 2: Prove that 1 + 3 + 5 + ... + (2n − 1) = n². Solution: Base Case (n = 1): LHS = 1 and RHS = 1² = 1. The statement is true. Inductive Hypothesis: Assume 1 + 3 + 5 + ... + (2k − 1) = k². Inductive Step: The next odd number is 2(k + 1) − 1 = 2k + 1. Add it to the assumed sum: k² + (2k + 1) = k² + 2k + 1 = (k + 1)² This is the formula for n = k + 1. Therefore, the identity is true for all positive integers n. Example 3: Prove that 3 divides n³ − n for every positive integer n. Solution: Base Case (n = 1): 1³ − 1 = 0 = 3(0), so it is divisible by 3. Inductive Hypothesis: Assume 3 divides k³ − k. Then k³ − k = 3m for some integer m. Inductive Step: Consider the next case: (k + 1)³ − (k + 1) = k³ + 3k² + 3k + 1 − k − 1 = (k³ − k) + 3k² + 3k Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 11

= 3m + 3k² + 3k = 3(m + k² + k) Since m + k² + k is an integer, the expression is divisible by 3. Therefore, 3 divides n³ − n for every positive integer n. Example 4: Prove that 2ⁿ ≥ n + 1 for every positive integer n. Solution: Base Case (n = 1): 2¹ = 2 and 1 + 1 = 2. Hence, the statement is true. Inductive Hypothesis: Assume 2ᵏ ≥ k + 1 for some positive integer k. Inductive Step: 2ᵏ⁺¹ = 2 · 2ᵏ ≥ 2(k + 1) = 2k + 2 ≥ k + 2 The first inequality uses the inductive hypothesis, and the last inequality is true because k ≥ 0. Thus, 2ᵏ⁺¹ ≥ (k + 1) + 1. The statement holds for all positive integers n. ACTIVITIES Activity 1:Bayanihan Bridge Builders Each group builds a paper bridge by completing proof cards. Each correct solution earns one bridge piece. The goal is to complete the bridge by proving each statement. Directions: Work together and show complete solutions. For each challenge, identify the base case, state the inductive hypothesis, and complete the inductive step. 1. Prove that 5ⁿ − 1 is divisible by 4 for every positive integer n. 2. Prove that 1 + 2 + ... + n = n(n + 1)/2 for every positive integer n. 3. Explain why checking only n = 1, 2, and 3 is not enough to prove a statement for all positive integers. Scoring: 2 points for a correct base case, 2 points for a correct inductive hypothesis, and 3 points for a complete inductive step. The group with the most points completes the bridge first. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 12

ASSESSMENT Part A. Multiple Choice Directions: Choose the letter of the correct answer. 1. What is the main purpose of mathematical induction? A. Find the average of a set of numbers B. Prove a statement for all integers in a specified range C. Solve every equation by factoring D. Estimate a value using a pattern 2. Which step verifies the statement for the first value of n? A. Inductive hypothesis B. Inductive step C. Base case D. Conclusion only 3. In the inductive hypothesis, what do we assume? A. P(k + 1) is false B. P(k) is true for an arbitrary k C. P(n) is true without proof D. The base case is unnecessary 4. What must be proved in the inductive step? A. P(k − 1) B. P(1) only C. P(k + 1) D. Every value separately 5. Which is the inductive hypothesis for the sum formula? A. 1 + 2 + ... + k = k(k + 1)/2 B. 1 = 1 C. 1 + ... + (k + 1) = k(k + 1)/2 D. k + 1 = k(k + 1)/2 6. What is the next odd number after 2k − 1? A. 2k − 2 B. 2k C. 2k + 1 D. 2k + 2 7. Which expression is equal to k² + 2k + 1? A. (k − 1)² B. (k + 1)² C. k(k + 1) D. k² + 1 8. If k³ − k = 3m for an integer m, what does this tell us? A. k³ − k is divisible by 3 B. k is always divisible by 3 C. k³ is prime D. m must be zero Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 13

9. Why are several checked values not enough to prove a statement for all positive integers? A. Substitution is never allowed B. Examples alone do not prove infinitely many cases C. Only even values can be checked D. A formula cannot be tested 10. After proving the base case and inductive step, what can we conclude? A. True only for n = 1 B. Probably true C. True for all integers in the specified range D. True only for even integers Part B. Problem Solving Directions: Answer each question. Show complete solutions and clearly label the base case, inductive hypothesis, and inductive step. 1. Prove by induction that 1 + 2 + 3 + ... + n = n(n + 1)/2. 2. Prove by induction that 1 + 3 + 5 + ... + (2n − 1) = n². 3. Prove by induction that 3 divides n³ − n for every positive integer n. 4. Prove by induction that 5ⁿ − 1 is divisible by 4 for every positive integer n. 5. Prove by induction that 2ⁿ ≥ n + 1 for every positive integer n. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 14

ANSWER KEY Activity 1:Bayanihan Bridge Builders Step 1. Base Case The base case checks whether the statement is true when .𝑛 = 1 Substitute into the given expression:𝑛 = 1 51 − 1 = 5 − 1 = 4 Since 4 is divisible by 4: 4 ÷ 4 = 1 Therefore, the statement is true for .𝑛 = 1 Step 2. Inductive Hypothesis Assume that the statement is true for , where is a positive integer.𝑛 = 𝑘 𝑘 Thus, assume: 5𝑘 − 1 = 4𝑘 where is an integer.𝑘 This means that is divisible by 4.5𝑘 − 1 Step 3. Inductive Step We need to prove that the statement is also true for .𝑛 = 𝑘 + 1 Substitute into the original expression:𝑘 + 1 5𝑘+1 − 1 Rewrite the exponent: 5(𝑘 + 1) − 1 = 5(5𝑘) − 1 Add and subtract 5 to use the inductive hypothesis: = 5(5𝑘 − 1) + 4 Using the inductive hypothesis: = 5(4𝑘) + 4 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 15

Distribute 5: = 20𝑘 + 4 Factor out 4: = 4(5𝑘 + 1) Since is an integer, is also an integer.𝑘 5𝑘 + 1 Therefore, is divisible by 4.5𝑘+1 − 1 Conclusion: Since the statement is true for the base case , and its truth for implies its𝑛 = 1 𝑛 = 𝑘 truth for 𝑛 = 𝑘 + 1 Problem 2. Prove that for every positive integer .1 + 2 +···+ 𝑛 = 𝑛(𝑛+1) 2 𝑛 Given statement: 𝑃(𝑛): 1 + 2 +···+ 𝑛 = 𝑛(𝑛+1) 2 We will prove this using Mathematical Induction. Step 1. Base Case Check whether the formula is true when .𝑛 = 1 Substitute into the left-hand side:𝑛 = 1 𝐿𝐻𝑆 = 1 Substitute into the right-hand side:𝑛 = 1 𝑅𝐻𝑆 = 1(1+1) 2 = 1(2) 2 = 2 2 = 1 Since: 𝐿𝐻𝑆 = 𝑅𝐻𝑆 1 = 1 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 16

Therefore: [ P(1) is true.] Step 2. Inductive Hypothesis Assume that the formula is true for , where is a positive integer.𝑛 = 𝑘 𝑘 Thus, assume: 1 + 2 +···+ 𝑘 = 𝑘(𝑘+1) 2 This is our inductive hypothesis. Step 3. Inductive Step We need to prove that the formula is true for .𝑛 = 𝑘 + 1 The statement for is:𝑛 = 𝑘 + 1 1 + 2 +···+ 𝑘 + (𝑘 + 1) = (𝑘+1)(𝑘+2) 2 Start with the left-hand side: 𝐿𝐻𝑆 = 1 + 2 +···+ 𝑘 + (𝑘 + 1) Using the inductive hypothesis: = 𝑘(𝑘+1) 2 + (𝑘 + 1) Get the common denominator: = 𝑘(𝑘+1) 2 + 2(𝑘+1) 2 Combine the fractions: = 𝑘(𝑘+1)+2(𝑘+1) 2 Factor out the common factor :(𝑘 + 1) = (𝑘+1)(𝑘+2) 2 This is exactly the right-hand side of the statement for .𝑛 = 𝑘 + 1 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 17

Therefore: [ P(k+1) is true.] Conclusion: Since the formula is true for , and its truth for implies its truth for𝑛 = 1 𝑛 = 𝑘 for every positive integer .𝑛 = 𝑘 + 1 𝑛 Problem 3. Explain why checking only and is not enough to𝑛 = 1, 2, 3 prove a statement for all positive integers. Answer: Checking only and is not enough because these values represent only three𝑛 = 1, 2, 3 specific cases. Even if a statement is true for these first three positive integers, it does not guarantee that it will remain true for all the succeeding positive integers. There might be a number greater than 3 for which the statement becomes false. For example, consider the statement: 𝑃(𝑛): 𝑛2 + 𝑛 + 17 𝑖𝑠 𝑝𝑟𝑖𝑚𝑒 Check the first three values: When :𝑛 = 1 12 + 1 + 17 = 19 19 is prime. When :𝑛 = 2 22 + 2 + 17 = 23 23 is prime. When :𝑛 = 3 32 + 3 + 17 = 29 29 is prime. However, when :𝑛 = 16 162 + 16 + 17 = 289 289 = 17 × 17 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 18

Therefore, 289 is composite, not prime. This example shows that a statement can be true for the first three values but false for a later positive integer. Part A. Multiple Choice Number Answer 1 B 2 C 3 B 4 C 5 A 6 C 7 B 8 A 9 B 10 C Part B. Problem Solving Step 1. Base Case Let n = 1. LHS = 1 RHS = 1(1 + 1)/2 = 2/2 = 1 Since LHS = RHS, the statement is true for n = 1. Step 2. Inductive Hypothesis Assume that the statement is true for n = k. 1 + 2 + 3 + ... + k = [(k(k+1))(2)] Step 3. Inductive Step We need to prove that the statement is true for n = k + 1. 1 + 2 + 3 + ... + k + (k + 1) Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 19

Using the inductive hypothesis: [=(k(k+1))(2)+(k+1)] Get the common denominator: [=k(k+1)+2(k+1))(2)] Factor out the common factor: [=(k+1)(k+2))(2)] Therefore, the formula is true for n = k + 1. Conclusion: By mathematical induction, the statement holds for all positive integers n. 2. Prove by mathematical induction that 1 + 3 + 5 + ... + (2n - 1) = n². Step 1. Base Case Let n = 1. LHS = 1 RHS = 1² = 1 Since LHS = RHS, the statement is true for n = 1. Step 2. Inductive Hypothesis Assume that the statement is true for n = k. 1 + 3 + 5 + ... + (2k - 1) = k² Step 3. Inductive Step The next odd number is: 2(k + 1) - 1 = 2k + 1 Add the next odd number: 1 + 3 + ... + (2k - 1) + (2k + 1) Using the inductive hypothesis: = k² + (2k + 1) Simplify: = k² + 2k + 1 Factor: = (k + 1)² Therefore, the formula is true for n = k + 1. Conclusion: By mathematical induction, the statement holds for all positive integers n. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 20

3. Prove by mathematical induction that 3 divides n³ - n for every positive integer n. Step 1. Base Case Let n = 1. 1³ - 1 = 1 - 1 = 0 Since 0 = 3(0), the expression is divisible by 3. Therefore, the statement is true for n = 1. Step 2. Inductive Hypothesis Assume that the statement is true for n = k. k³ - k = 3m where m is an integer. Step 3. Inductive Step We need to prove that 3 divides (k + 1)³ - (k + 1). (k + 1)³ - (k + 1) Expand: = k³ + 3k² + 3k + 1 - k - 1 Group the terms: = (k³ - k) + 3k² + 3k Using the inductive hypothesis: = 3m + 3k² + 3k Factor out 3: = 3(m + k² + k) Since m + k² + k is an integer, the expression is divisible by 3. Therefore, the statement is true for n = k + 1. Conclusion: By mathematical induction, 3 divides n³ - n for every positive integer n. 4. Prove by mathematical induction that 5ⁿ - 1 is divisible by 4 for every positive integer n. Step 1. Base Case Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 21

Let n = 1. 5¹ - 1 = 5 - 1 = 4 Since 4 = 4(1), the expression is divisible by 4. Therefore, the statement is true for n = 1. Step 2. Inductive Hypothesis Assume that the statement is true for n = k. 5ᵏ - 1 = 4m where m is an integer. Step 3. Inductive Step We need to prove that 5ᵏ⁺¹ - 1 is divisible by 4. 5ᵏ⁺¹ - 1 Rewrite: = 5(5ᵏ) - 1 Add and subtract 5: = 5(5ᵏ - 1) + 4 Using the inductive hypothesis: = 5(4m) + 4 Simplify: = 20m + 4 Factor out 4: = 4(5m + 1) Since 5m + 1 is an integer, the expression is divisible by 4. Therefore, the statement is true for n = k + 1. Conclusion: By mathematical induction, 5ⁿ - 1 is divisible by 4 for every positive integer n. 5. Prove by mathematical induction that 2ⁿ ≥ n + 1 for every positive integer n. Step 1. Base Case Let n = 1. LHS = 2¹ = 2 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 22

RHS = 1 + 1 = 2 Since 2 ≥ 2, the statement is true for n = 1. Step 2. Inductive Hypothesis Assume that the statement is true for n = k. 2ᵏ ≥ k + 1 Step 3. Inductive Step We need to prove that the statement is true for n = k + 1. 2ᵏ⁺¹ ≥ (k + 1) + 1 Start with the left-hand side: 2ᵏ⁺¹ = 2(2ᵏ) Using the inductive hypothesis: ≥ 2(k + 1) Simplify: = 2k + 2 Since k is a positive integer: 2k + 2 ≥ k + 2 Thus:2ᵏ⁺¹ ≥ k + 2 Therefore, the statement is true for n = k + 1. Conclusion: By mathematical induction, 2ⁿ ≥ n + 1 holds for all positive integers n. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 23

REFERENCES Burton, D. M. (2011). Elementary number theory (7th ed.). McGraw-Hill. Grimaldi, R. P. (2004). Discrete and combinatorial mathematics: An applied introduction (5th ed.). Pearson. Niven, I., Zuckerman, H. S., & Montgomery, H. L. (1991). An introduction to the theory of numbers (5th ed.). John Wiley & Sons. Rosen, K. H. (2019). Discrete mathematics and its applications (8th ed.). McGraw-Hill Education. Rosen, K. H. (2011). Elementary number theory and its applications (6th ed.). Pearson. Velleman, D. J. (2006). How to prove it: A structured approach (2nd ed.). Cambridge University Press. Chartrand, G., Polimeni, A. D., & Zhang, P. (2013). Mathematical proofs: A transition to advanced mathematics (3rd ed.). Pearson. Epp, S. S. (2020). Discrete mathematics with applications (5th ed.). Cengage Learning. Crisman, K.-D. (2024). Number theory: In context and interactive. Gordon College. https://math.gordon.edu/ntic/ Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 24

LESSON 2: PRIME NUMBERS INTRODUCTION Prime numbers are among the most important concepts in Number Theory, a branch of mathematics that studies integers and their properties. A prime number is a natural number greater than 1 that has exactly two distinct positive factors: 1 and itself. Examples include 2, 3,5, 7, 11, and 13. The study of prime numbers helps us understand how integers are structured and how they can be expressed through multiplication. Every integer greater than 1 is either a prime number or can be expressed as a product of prime numbers. This makes prime numbers essential in topics such as divisibility, factorization, and the Fundamental Theorem of Arithmetic. LEARNING OBJECTIVES At the end of the lesson, students should be able to: 1. Define prime numbers and composite numbers based on their positive divisors. 2. Distinguish prime numbers from composite numbers. 3. Identify the factors and divisors of given integers. 4. Determine whether a given integer is prime or composite using divisibility tests. 5. Express composite numbers as products of prime factors. 6. Explain and apply the Fundamental Theorem of Arithmetic in expressing integers as products of primes. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 25

LESSON DISCUSSION A. Definition of Prime Numbers A prime number is an integer greater than 1 that has exactly two distinct positive divisors: 1 and the number itself. Examples: ● 2 is prime because its only positive divisors are 1 and 2 ● 5 is prime because its only positive divisors are 1 and 5 ● 11 is prime because its only positive divisors are 1 and 11 B. Composite Numbers A Composite number is an integer greater than 1 that has more than two positive divisors. Unlike prime numbers, composite numbers can be expressed as a product of small positive integers. Examples: ● 4 has divisors (1,2, and 4) ● 12 has divisors (1,2,3,4,6, and 12) ● 15 has divisors (1,3,5, and 15) Therefore, 4, 12, and 15 are composite numbers C.Difference Between Prime and Composite Numbers Prime Numbers Composite Numbers Have exactly two positive divisors. Have more than two positive divisors. Cannot be factored into smaller positive integers other than 1 and itself. Can be expressed as a product of smaller positive integers. Examples: 2, 3, 5, 7, 11. Examples: 4, 6, 8, 9, 10. Important: The number 1 is neither prime nor composite because it has only one positive divisor. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 26

D.Factors and Divisors A factor or divisor of an integer is a number that divides it exactly, leaving no remainder. For example, the positive divisors of 18 are: (1, 2, 3, 6, 9, and 18.) Since 18 has more than two positive divisors, it is a composite number. In Number Theory, divisibility is important because it helps determine whether a number is prime or composite. E.Important Properties of Prime Numbers 1.The number 2 is the smallest prime number and the only even prime number. Every other even integer greater than 2 is divisible by both 2 and itself, making it composite. 2.Every prime number greater than 2 is odd. However, not every odd number is prime. For example, 9 and 15 are composite. 3.The number 1 is neither prime nor composite. It has only one positive divisor. 4.There are infinitely many prime numbers. This means that no matter how large a prime number we find, there will always be another prime number greater than it. F.Testing Whether a Number Is Prime One way to determine whether an integer is prime is to test whether it is divisible by prime numbers less than or equal to its square root. If no prime number up to the square root divides the given integer exactly, then the integer is prime. Example: Determine whether 29 is prime. 1.Find the square root of 29: ≈ 5. 39 2.Identify the prime numbers less than or equal to 5.39: 2, 3, and 5. 3.Test divisibility: ●29 is not divisible by 2. ●29 is not divisible by 3. ●29 is not divisible by 5. Therefore, 29 is a prime number. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 27

G.Prime Factorization Prime factorization is the process of expressing a composite integer as a product of prime numbers. Example: (60 = 2 × 2 × 3 × 5) In exponential form: 60 = 22 × 3 × 5 × 3 × 5)Prime factorization is useful in finding the greatest common divisor (GCD), least common multiple (LCM), and other properties of integers. H.Fundamental Theorem of Arithmetic The Fundamental Theorem of Arithmetic states that every integer greater than 1 can be expressed as a product of prime numbers in exactly one way, apart from the order of the factors. Example: (72 = 2 × 2 × 2 × 3 × 3) In exponential form: .72 = 23 × 32 Even if the prime factors are arranged differently, the prime factorization remains the same. This theorem establishes the importance of prime numbers as the basic building blocks of positive integers greater than 1. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 28

WORKING EXAMPLES Example 1: Determine whether 17 is prime or composite. Solution: The factors of 17 are: 1, 17 Since 17 has exactly two factors, it is a prime number. Example 2: Determine whether 91 is prime or composite. Solution: We can express 91 as: 91 = 7 × 13 The factors of 91 are: 1, 7, 13, 91 Since 91 has more than two factors, it is a composite number. Example 3: Find the prime factorization of 84. Solution: Start by dividing 84 by the smallest prime number, which is 2. 84 = 2 × 42 42 = 2 × 21 21 = 3 × 7 Therefore: 84 = 2 × 2 × 3 × 7 In exponential form:2 84 = 22 × 3 × 7 Example 4: Determine whether 101 is prime or composite. Solution: First, find the square root of 101 = ≈ 10. 05 The prime numbers less than or equal to 10.05 are: (2, 3, 5, 7) Check if 101 is divisible by each number: ●101 ÷ 2 – Not divisible evenly. ●101 ÷ 3 – Not divisible evenly. ●101 ÷ 5 – Not divisible evenly. ●101 ÷ 7 – Not divisible evenly. Since none of these prime numbers divides 101 evenly, 101 is a prime number. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 29

Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 30

ACTIVITIES Activity 1: Prime or Composite? Directions: Determine whether each number is prime or composite. Write your answer in the space provided. Number Answer 13 18 23 27 31 35 41 49 53 57 Activity 2: Prime Number Search Directions: Examine the numbers from 1 to 25. Circle all prime numbers, cross out all composite numbers, and leave the number 1 uncircled and uncrossed. 1 20 15 6 21 13 18 2 11 5 7 24 12 10 23 25 9 3 19 4 14 8 16 22 17 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 31

Activity 3: True or False Directions: Write TRUE if the statement is correct and FALSE if it is incorrect. For every false statement, provide the correct information. 1. The number 1 is a prime number. 2. The number 2 is the only even prime number. 3. The number 15 is a prime number. 4. The number 17 has exactly two positive divisors. 5. All odd numbers are prime numbers. ASSESSMENT Part A. Multiple Choice Directions: Choose the letter of the correct answer. 1. Which of the following best defines a prime number? A. A number with only one factor B. A number with exactly two positive factors C. A number with more than two positive factors D. A number divisible by every integer 2. Which of the following is a prime number? A. 21 B. 25 C. 29 D. 33 3. Why is 1 neither prime nor composite? A. It has no factors. B. It is an even number. C. It has only one positive divisor. D. It is a negative number. 4. Which is the only even prime number? A. 0 B. 1 C. 2 D. 4 5. Which of the following is composite? A. 7 B. 11 C. 13 D. 21 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 32

6. What are the positive divisors of 12? A. 1, 2, 3, 4, 6, 12 B. 1, 2, 4, 12 C. 2, 3, 6, 12 D. 1, 3, 5, 12 7. Which statement about prime numbers is correct? A. All odd numbers are prime. B. Every prime number is even C. Every prime number greater than 2 is odd. D. Every composite number is odd. 8. What is the prime factorization of 36? A. (2 × 3 × 6) B. ( 2 2) C. ( 2) D. ( 3 ) 9. Which mathematical theorem states that every integer greater than 1 has a unique prime factorization, apart from the order of factors? A. Pythagorean Theorem B. Fundamental Theorem of Arithmetic C. Binomial Theorem D. Remainder Theorem 10. Which method is used to identify prime numbers within a given range by eliminating multiples? A. Long Division B. Sieve of Eratosthenes C. Substitution Method D. Cross Multiplication Part B. Problem Solving Directions: Answer each question. Show your solution when necessary. 1. Determine whether 29 is prime or composite. Explain your answer. 2. Determine whether 51 is prime or composite. Show its factors. 3. List all prime numbers between 40 and 60. 4. Find the prime factorization of 84. Express your answer in exponential form. 5. Determine whether 97 is prime or composite. Use the square-root test to justify your answer Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 33

ANSWER KEY Activity 1: Prime or Composite? 1. Prime 2. Composite 3. Prime 4. Composite 5. Prime 6. Composite 7. Prime 8. Composite 9. Prime 10. Composite Activity 2: Prime Number Search Directions: Examine the numbers from 1 to 25. Circle all prime numbers, cross out all composite numbers, if the number is neither of them, leave it plain. Circled (Prime numbers): (2, 3, 5, 7, 11, 13, 17, 19, and 23) Crossed out (Composite numbers): (4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, and 25) Left plain (Neither): (1) Activity 3: True or False Directions: Write TRUE if the statement is correct and FALSE if it is incorrect. For every false statement, provide the correct information. 1. FALSE – The number 1 has only one positive divisor, so it is neither prime nor composite. 2. TRUE – 2 is the only even prime number. 3. FALSE – 15 is composite because (15 = 3 × 5). 4. TRUE – The positive divisors of 17 are 1 and 17. 5. FALSE – Some odd numbers are composite, such as 9 and 15. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 34

Part A - Multiple Choice 1. B 2. C 3. C 4. C 5. D 6. A 7. C 8. B 9. B 10. B Part B. Problem Solving 11. Determine whether 29 is prime or composite. Solution: The factors of 29 are 1 and 29. Since 29 has exactly two positive factors, 29 is a prime number. 12. Determine whether 51 is prime or composite. Solution: 51 = 3 × 17 The factors of 51 are 1, 3, 17, and 51. Since 51 has more than two positive factors, 51 is a composite number. 13. List all prime numbers between 40 and 60. Answer: 41, 43, 47, 53, and 59. 14. Find the prime factorization of 84. Solution: 84 = 2 × 42 84 = 2 × 2 × 21 84 = 2 × 2 × 3 × 7 Therefore: 2 84 = 2 × 3 × 7 15. Determine whether 97 is prime or composite. Solution: First, find the square root of 97: ≈ 9. 85 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 35

The prime numbers less than or equal to 9.85 are 2, 3, 5, and 7. Check if 97 is divisible by these numbers: ● 97 ÷ 2 = 48. 5 ● 97 ÷ 3 = 32 remainder1 ● 97 ÷ 5 = 19 remainder2 ● 97 ÷ 7 = 13 remainder6 Since none of these prime numbers divides 97 evenly, 97 is a prime number. REFERENCES Department of Education. (n.d.). Mathematics 7 Teacher's Note: Quarter 3. https://www.deped.gov.ph/wp-content/uploads/FIN_Q3_LASTN_Math7_Consolidated _1-40.pdf OpenStax. (n.d.). 3.1 Prime and Composite Numbers. Contemporary Mathematics. https://openstax.org/books/contemporary-mathematics/pages/3-1-prime-and-comp osite-numbers University of Southampton. (n.d.). Chapter 3: Prime Numbers. MATH1001 Introduction to Number Theory. https://personal.soton.ac.uk/jhr/math1001/chapter-primes.html Moser, L. (2011). An introduction to the theory of numbers. The Trillia Group. Dudley, U. (2008). Elementary number theory (2nd ed.). Dover Publications. Apostol, T. M. (1976). Introduction to analytic number theory. Springer Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 36

LESSON 3: GREATEST COMMON DIVISOR (GCD) INTRODUCTION The Greatest Common Divisor (GCD), also known as the Greatest Common Factor (GCF), is an important concept in Number Theory. It refers to the greatest positive integer that can divide two or more integers without leaving a remainder. For example, the GCD of 12 and 18 is 6 because 6 is the largest number that can divide both numbers exactly. Finding the GCD helps us understand the relationship between numbers and their factors. It is useful in simplifying fractions, grouping objects equally, and solving mathematical problems involving divisibility. There are different methods of finding the GCD, including the Listing Method, Prime Factorization Method, and Euclidean Algorithm. Each method provides a systematic way of identifying the greatest common divisor. LEARNING OBJECTIVES At the end of the lesson, students should be able to: 1. Define the Greatest Common Divisor (GCD) and explain its importance in number theory. 2. Identify the common factors of two or more given integers. 3. Determine the GCD of integers using the Listing Method. 4. Find the GCD of integers using Prime Factorization. 5. Apply the Euclidean Algorithm to determine the GCD of given integers. 6. Solve practical problems involving the GCD and explain the meaning of the results. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 37

LESSON DISCUSSION A. Definition of Greatest Common Divisor The Greatest Common Divisor (GCD) of two or more integers, not all zero, is the largest positive integer that divides each of them exactly. It is also called the Greatest Common Factor (GCF). Example: Find the GCD of 12 and 18. Factors of 12: 1, 2, 3, 4, 6, 12 Factors of 18: 1, 2, 3, 6, 9, 18 Common factors: 1, 2, 3, 6 Therefore: gcd(12,18) = 6 B. Factors and Common Factors A factor is a number that divides another number without leaving a remainder. A common factor is a number that is a factor of two or more integers. The greatest among their positive common factors is called the GCD. Example: Find the common factors of 20 and 30. Factors of 20: 1, 2, 4, 5, 10, 20 Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30 Common factors: 1, 2, 5, 10 Therefore, the GCD is 10. Methods of Finding the GCD 1. Listing Method This method involves listing all positive factors of each given integer, identifying their common factors, and selecting the greatest one. Steps: 1. List the factors of each number. 2. Identify the common factors. 3. Select the greatest common factor. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 38

2. Prime Factorization Method This method expresses each number as a product of prime numbers. Steps: 1. Find the prime factorization of each integer. 2. Identify the prime factors common to all integers. 3. Choose the smallest exponent of each common prime factor. 4. Multiply the selected factors. Example: 24 = 23 × 3 36 = 22 × 32 Common prime factors with the smallest exponents: 𝐺𝐶𝐷 = 22 × 3 = 12 3. Euclidean Algorithm The Euclidean Algorithm is a method of finding the GCD through repeated division. Steps: 1. Divide the larger number by the smaller number. 2. Record the remainder. 3. Divide the previous divisor by the remainder. 4. Continue until the remainder becomes zero. 5. The last nonzero remainder is the GCD. D. Properties of the GCD 1. The GCD is always a positive integer when the given integers are not all zero. 2. The order of the numbers does not affect the GCD. gcd(𝑎, 𝑏) = gcd(𝑏, 𝑎) 3. The GCD of a positive integer and zero is the positive integer. gcd(𝑎, 0) = 𝑎 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 39

4. If the GCD of two integers is 1, they are called relatively prime or coprime. 5. The GCD cannot be greater than the smallest positive integer among the given numbers. E. Relatively Prime Integers Two integers are relatively prime if their GCD is equal to 1. They do not necessarily need to be prime numbers themselves. Example: 8 = 23 15 = 3 × 5 They have no common prime factors. Therefore: gcd(8, 15) = 1 Thus, 8 and 15 are relatively prime. F. Applications of the GCD The GCD can be used in different real-life situations, such as: ● Dividing objects into the greatest possible number of equal groups. ● Simplifying fractions into their lowest terms. ● Arranging items into equal-sized sets without leftovers. ● Solving problems involving common factors and divisibility. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 40

WORKING EXAMPLES Example 1: Find the GCD of 18 and 24 using the Listing Method. Solution: Step 1. List all the positive factors of each number. Factors of 18: 1, 2, 3, 6, 9, 18 Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24 Step 2. Identify the common factors. 1, 2, 3, 6 Step 3. Select the greatest common factor. GCD(18,24) = 6 Example 2: Find the GCD of 60 and 84 using Prime Factorization. Solution: Step 1. Express each number as a product of prime factors. 60 = 22 × 3 × 5 84 = 22 × 3 × 7 Step 2. Identify the common prime factors. The common prime factors are 2 and 3. Step 3. Select the smallest exponents. 22 × 31 Step 4. Multiply the common prime factors. 𝐺𝐶𝐷 = 4 × 3 GCD(60,84) = 12 Example 3: Find the GCD of 252 and 105 using the Euclidean Algorithm. Solution: Step 1. Divide the larger number by the smaller number. 252 = 2(105) + 42 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 41

Step 2. Use the previous divisor and divide it by the remainder. 105 = 2(42) + 21 Step 3. Continue the division process. 42 = 2(21) + 0 Step 4. Identify the last nonzero remainder. The last nonzero remainder is 21. Therefore: GCD(252,105) = 21 ACTIVITIES Activity 1: Find the Common Factor Objective: Identify common factors and determine the GCD using the Listing Method. Directions: Find the common factors of each pair of integers. Then, identify the GCD. 1. 12 and 20 2. 18 and 30 3. 24 and 36 4. 28 and 42 5. 16 and 25 Activity 2: Prime Factorization Challenge Objective: Apply prime factorization to determine the GCD. Directions: Find the GCD of each pair of integers using prime factorization. Show the prime factorization of each number and identify their common prime factors. 1. 36 and 48 2. 54 and 72 3. 80 and 100 4. 90 and 120 5. 96 and 144 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 42

Activity 3: Euclidean Algorithm Practice Objective: Apply the Euclidean Algorithm in finding the GCD. Directions: Find the GCD of each pair of integers using repeated division. Show every division equation and identify the last nonzero remainder. 1. 84 and 30 2. 144 and 60 3. 221 and 91 4. 391 and 299 5. 252 and 198 ASSESSMENT Part A. Multiple Choice Directions: Read each question carefully. Choose the letter of the correct answer. 1. What does the Greatest Common Divisor represent? A. The smallest number that divides two integers. B. The greatest positive integer that divides two or more integers exactly. C. The product of two integers. D. The sum of all factors. 2. What is the GCD of 12 and 18? A. 2 B. 3 C. 6 D. 12 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 43

3. Which method repeatedly uses division and remainders to find the GCD? A. Listing Method B. Prime Factorization C. Euclidean Algorithm D. Cross Multiplication 4. What is the GCD of two relatively prime integers? A. 0 B. 1 C. 2 D. Their product 5. What is the prime factorization of 36? A. 22 × 32 B. 2 × 3 × 6 C. 23 × 3 D. 32 × 4 6. What is the GCD of 20 and 30? A. 5 B. 10 C. 15 D. 20 7. In the Euclidean Algorithm, what happens when the remainder becomes zero? A. Continue dividing by zero. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 44

B. The last nonzero remainder is the GCD. C. The GCD is always zero. D. Add the quotients. 8. Which pair of integers is relatively prime? A. 8 and 12 B. 9 and 15 C. 8 and 15 D. 14 and 21 9. What is the GCD of 48 and 72? A. 8 B. 12 C. 18 D. 24 10. Which statement about the GCD is correct? A. It must be greater than both numbers. B. It divides each given integer exactly. C. It is always a prime number. D. It is always equal to 1. Part B. Problem Solving Directions: Solve each problem. Show your complete solution and indicate the method used. 1. Find the GCD of 36 and 54 using the Listing Method. 2. Find the GCD of 72 and 90 using Prime Factorization. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 45

3. Find the GCD of 252 and 198 using the Euclidean Algorithm. 4. Determine whether 25 and 36 are relatively prime. Show your solution and explain your answer. 5. A school has 72 red flags and 96 blue flags. The flags will be divided into the greatest possible number of identical groups with no flags left over. Find the number of groups and the number of red and blue flags in each group. ANSWER KEY Activity 1: Find the Common Factor 1. Find the GCD of 12 and 20. Factors of 12: 1, 2, 3, 4, 6, 12 Factors of 20: 1, 2, 4, 5, 10, 20 Common factors: 1, 2, 4 Greatest common factor: GCD(12,20)=4 2. Find the GCD of 18 and 30. Factors of 18: 1, 2, 3, 6, 9, 18 Factors of 30: 1, 2, 3, 5, 6, 10, 15, 30 Common factors: 1, 2, 3, 6 GCD(18,30)=6 3. Find the GCD of 24 and 36. Factors of 24: 1, 2, 3, 4, 6, 8, 12, 24 Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36 Common factors: 1, 2, 3, 4, 6, 12 GCD(24,36)=12 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 46

4. Find the GCD of 28 and 42. Factors of 28: 1, 2, 4, 7, 14, 28 Factors of 42: 1, 2, 3, 6, 7, 14, 21, 42 Common factors:1, 2, 7, 14 GCD(28,42)=14 5. Find the GCD of 16 and 25. Factors of 16: 1, 2, 4, 8, 16 Factors of 25: 1, 5, 25 Common factor: 1 GCD(16,25)=1 Activity 2: Prime Factorization Challenge 1. Find the GCD of 36 and 48. Step 1. Find the prime factorization. 36 = 22 × 32 48 = 24 × 3 Step 2. Identify the common prime factors with the smallest exponents. 𝐺𝐶𝐷 = 22 × 3 Step 3. Multiply. 𝐺𝐶𝐷 = 4 × 3 GCD=12 2. Find the GCD of 54 and 72. Step 1. Find the prime factorization. 54 = 2 × 33 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 47

72 = 23 × 32 Step 2. Select the common prime factors with the smallest exponents. 𝐺𝐶𝐷 = 2 × 32 Step 3. Multiply. GCD=18 3. Find the GCD of 80 and 100. Step 1. Find the prime factorization. 80 = 24 × 5 100 = 22 × 52 Step 2. Select the common prime factors with the smallest exponents. 𝐺𝐶𝐷 = 22 × 5 Step 3. Multiply. 𝐺𝐶𝐷 = 4 × 5 GCD=20 4. Find the GCD of 90 and 120. Step 1. Find the prime factorization. 90 = 2 × 32 × 5 120 = 23 × 3 × 5 Step 2. Select the common prime factors with the smallest exponents. 𝐺𝐶𝐷 = 2 × 3 × 5 Step 3. Multiply. 𝐺𝐶𝐷 = 2 × 3 × 5 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 48

GCD=30 5. Find the GCD of 96 and 144. Step 1. Find the prime factorization. 96 = 25 × 3 144 = 24 × 32 Step 2. Select the common prime factors with the smallest exponents. 𝐺𝐶𝐷 = 24 × 3 Step 3. Multiply. 𝐺𝐶𝐷 = 16 × 3 GCD=48 Activity 3: Euclidean Algorithm Practice 1. Find the GCD of 84 and 30. Step 1. Divide 84 by 30. 84 = 2(30) + 24 Step 2. Divide 30 by 24. 30 = 1(24) + 6 Step 3. Divide 24 by 6. 24 = 4(6) + 0 Step 4. Identify the last nonzero remainder. GCD(84,30)=6 2. Find the GCD of 144 and 60. 144 = 2(60) + 24 60 = 2(24) + 12 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 49

24 = 2(12) + 0 The last nonzero remainder is 12. GCD(144,60)=12 3. Find the GCD of 221 and 91. 221 = 2(91) + 39 91 = 2(39) + 13 39 = 3(13) + 0 The last nonzero remainder is 13. GCD(221,91)=13 4. Find the GCD of 391 and 299. 391 = 1(299) + 92 299 = 3(92) + 23 92 = 4(23) + 0 The last nonzero remainder is 23. GCD(391,299)=23 5. Find the GCD of 252 and 198. 252 = 1(198) + 54 198 = 3(54) + 36 54 = 1(36) + 18 36 = 2(18) + 0 The last nonzero remainder is 18. GCD(252,198)=18 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 50

Part A. Multiple-Choice Answer Key Item Answer 1 B 2 C 3 C 4 B 5 A 6 B 7 B 8 C 9 D 10 B Part B. Problem-Solving Answer Key 1. Find the GCD of 36 and 54 using the Listing Method. Step 1. List the factors. Factors of 36: 1, 2, 3, 4, 6, 9, 12, 18, 36 Factors of 54: 1, 2, 3, 6, 9, 18, 27, 54 Step 2. Identify the common factors. 1, 2, 3, 6, 9, 18 Step 3. Select the greatest common factor. GCD(36,54)=18 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 51

2. Find the GCD of 72 and 90 using Prime Factorization. Step 1. Find the prime factorization. 72 = 23 × 32 90 = 2 × 32 × 5 Step 2. Identify the common prime factors with the smallest exponents. 𝐺𝐶𝐷 = 2 × 32 Step 3. Multiply. 𝐺𝐶𝐷 = 2 × 9 GCD(72,90)=18 3. Find the GCD of 252 and 198 using the Euclidean Algorithm. Step 1. Divide 252 by 198. 252 = 1(198) + 54 Step 2. Divide 198 by 54. 198 = 3(54) + 36 Step 3. Divide 54 by 36. 54 = 1(36) + 18 Step 4. Divide 36 by 18. 36 = 2(18) + 0 Step 5. Identify the last nonzero remainder. GCD(252,198)=18 4. Determine whether 25 and 36 are relatively prime. Step 1. Find the prime factorization of each number. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 52

25 = 52 36 = 22 × 32 Step 2. Identify their common prime factors. There are no common prime factors. Step 3. Determine the GCD. 𝐺𝐶𝐷(25, 36) = 1 Final Answer: Yes, 25 and 36 are relatively prime because their GCD is 1. 5. A school has 72 red flags and 96 blue flags. Find the greatest possible number of identical groups and the number of flags in each group. Step 1. Identify the given quantities. Red flags = 72 Blue flags = 96 Step 2. Find the prime factorization. 72 = 23 × 32 96 = 25 × 3 Step 3. Identify the common prime factors using the smallest exponents. 𝐺𝐶𝐷 = 23 × 3 Step 4. Multiply. 𝐺𝐶𝐷 = 8 × 3 𝐺𝐶𝐷 = 24 Therefore, the greatest possible number of groups is 24. Step 5. Find the number of red flags in each group. 72 ÷ 24 = 3 Step 6. Find the number of blue flags in each group. 96 ÷ 24 = 4 Final Answer: The school can make 24 identical groups, with 3 red flags and 4 blue flags in each group. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 53

REFERENCES Rosen, K. H. (2019). Discrete mathematics and its applications (8th ed.). McGraw-Hill Education. Grimaldi, R. P. (2004). Discrete and combinatorial mathematics: An applied introduction (5th ed.). Pearson. Burton, D. M. (2011). Elementary number theory (7th ed.). McGraw-Hill. OpenStax. (n.d.). Precalculus and mathematical foundations. OpenStax. https://openstax.org/ Jones, G. A., & Jones, J. M. (2005). Elementary number theory. Springer. Niven, I., Zuckerman, H. S., & Montgomery, H. L. (1991). An introduction to the theory of numbers (5th ed.). John Wiley & Sons. Rosen, K. H. (2011). Elementary number theory and its applications (6th ed.). Pearson. Clark, W. E. (2002). Elementary number theory. University of South Florida. https://services.artofproblemsolving.com/download.php?id=YXR0YWNobWVudHMv ZS80LzVjNmU1ZDJjMGRhMGIwZjQ0ZGZjMGIxNmI0ZGQ4N2ExNjI2Y2Rj&rn=R WxlbWVudGFyeSBOdW1iZXIgVGhlb3J5IC0gVy4gRWR3aW4gQ2xhcmsucGRm Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 54

LESSON 4: THE EUCLIDEAN ALGORITHM INTRODUCTION The Euclidean algorithm is one of the oldest and most useful methods in mathematics for finding the greatest common divisor (GCD) of two integers. It was described by Euclid in Elements around 300 BCE The GCD of two numbers is the largest positive integer that divides both of them. For example, gcd(12,18)=6, since 6 is the largest number that divides both 12 and 18. LEARNING OBJECTIVES At the end of this lesson, students should be able to: Define the Euclidean Algorithm and explain its purpose in finding the GCD. 1. Explain the relationship between the Division Algorithm and the Euclidean Algorithm. 2. Identify the quotient and remainder in a division equation. 3. Apply repeated division using the Euclidean Algorithm to find the GCD of two positive integers. 4. Identify the last nonzero remainder as the GCD of the given integers. 5. Present complete and organized solutions when solving GCD problems using the Euclidean Algorithm. GENERAL PROCEDURE The Euclidean Algorithm follows this sequence: 𝑎 = 𝑏𝑞1 + 𝑟1 𝑏 = 𝑟1𝑞2 + 𝑟2 𝑟1 = 𝑟2𝑞3 + 𝑟3 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 55

Continue until: 𝑟𝑛−1 = 𝑟𝑛𝑞𝑛+1 + 0 Symbol Meaning 𝑎 First divident 𝑏 First divisor 𝑞 Quotient 𝑟 Remainder 𝑟1 First Remainder 𝑟2 Second Remainder 𝑟3 Third Remainder 𝑛 Index WORKING EXAMPLES Example 1. Find the GCD of 252 and 105 using the Euclidean Algorithm. Step 1. Divide the larger number by the smaller number. 252 = 105(2) + 42 Step 2. Use the previous divisor and remainder. 105 = 42(2) + 21 Step 3. Repeat the process. 42 = 21(2) + 0 Step 4. Stop when the remainder becomes zero. Final Answer : gcd (252,105) = 21 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 56

Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 57

Example 3. Find the GCD of 541 and 313. 541 = 313(1) + 228 313 = 228(1) + 85 228 = 85(2) + 58 85 = 58(1) + 27 58 = 27(2) + 4 27 = 4(6) + 3 4 = 3(1) + 1 3 = 1(3) + 0 ACTIVITIES General Instructions 1. Divide the class into five groups, with seven students in each group. Each group will have one representative chosen by the teacher. 2. Each group must solve five mathematical cases using the Euclidean Algorithm. 3. For every correctly solved case, the teacher will provide a corresponding secret code. 4. Convert each GCD into its corresponding letter using the alphabet-number system (A = 1, B = 2, C = 3, and so on). 5. Arrange the letters according to the case numbers to reveal the mystery word. 6. Once a group has completed a case, its representative must raise their hand and shout "Case Solved!" 7. The teacher will check the group's solution. If correct, the group receives its secret code. If incorrect, the group must review its computation. 8. The first group to solve all five cases, reveal the mystery word, and present its complete solutions wins! CASE 1 A mysterious number is hidden between two integers. Find their GCD using the Euclidean Algorithm. gcd(95, 57) CASE 2 Two numbers share a hidden common factor. Can you identify their greatest common divisor? Find: gcd(75, 45) CASE 3 A detective discovered two numbers but needs your help finding their greatest common divisor. Find: gcd(84, 60) Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 58

CASE 4 The mystery is getting closer to being solved. Determine the greatest common divisor of these two integers. Find: gcd(110, 66) CASE 5 This is your final mathematical challenge. Find the GCD to unlock the last letter. Find: gcd(65, 45) The secret code mechanism After solving each case, students will use the GCD as a number corresponding to a letter in the alphabet. For example: ● If the GCD is 1, the letter is A. ● If the GCD is 2, the letter is B. ● If the GCD is 3, the letter is C. Final mystery: Arrange the five letters to discover the hidden word! ASSESSMENT Directions: Read each question carefully. Show the necessary computations for problems requiring solutions. Part A. Multiple Choice Choose the letter of the correct answer. 1. What is the primary purpose of the Euclidean Algorithm? A. To find the least common multiple of three integers. B. To determine the greatest common divisor of two integers. C. To determine whether a number is prime. D. To find the square root of an integer. 2. Which mathematical principle serves as the foundation of the Euclidean Algorithm? A. Distributive Property B. Associative Property C. Division Algorithm D. Commutative Property 3. In the equation (a=bq+r), what does (r) represent? A. Quotient Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 59

B. Divisor C. Dividend D. Remainder 4. When does the Euclidean Algorithm stop? A. When the quotient becomes zero. B. When the remainder becomes zero. C. When the divisor becomes one. D. When both numbers become equal. 5. What is the GCD of two relatively prime integers? A. 0 B. 2 C. 1 D. Their product 6. What is the last nonzero remainder in the Euclidean Algorithm? A. The quotient B. The GCD C. The LCM D. The divisor 7. Which of the following pairs is relatively prime? A. 12 and 18 B. 15 and 25 C. 14 and 21 D. 8 and 15 8. What is the relationship between GCD and LCM? A. Their sum is always equal to the product. B. Their difference is always one. C. Their product is equal to the product of the original integers. D. Their quotient is always equal to one. 9. What additional information does the Extended Euclidean Algorithm determine? A. Prime factorization B. Integers that express the GCD as a linear combination. C. Decimal approximations D. Square roots 10. Which technique is used to express the GCD as a linear combination? A. Factoring B. Graphing C. Back-substitution Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 60

D. Squaring Part B. Problem Solving Solve each problem using the appropriate method. Show all necessary steps. 11. Find the GCD of 168 and 72 using the Euclidean Algorithm. 12. Find the GCD of 414 and 276 using the Euclidean Algorithm. 13. Determine whether 221 and 144 are relatively prime. Justify your answer using the Euclidean Algorithm. 14. Find the GCD and LCM of 96 and 140. 15. Find the GCD of 65 and 40 ANSWER KEY ACTIVITIES CASE EUCLIDEAN ALGORITHM GCD LETTER 1 95 = 57(1) + 38 57 = 38(1) + 19 38 = 19(2) + 0 19 S 2 75 = 45(1) + 30 45 = 30(1) + 15 30 = 15(2) + 0 15 O 3 84 = 60(1) + 24 60 = 24(2) + 12 24 = 12(2) + 0 12 L 4 110 = 66(1) + 44 66 = 44(1) + 22 22 V Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 61

44 = 22(2) + 0 5 65 = 45(1) + 20 45 = 20(2) + 5 20 = 5(4) + 0 5 E ASSESSMENT PART A MULTIPLE CHOICE 1. B 2. C 3. D 4. B 5. C 6. B 7. D 8. C 9. B 10. C Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 62

PART B PROBLEM SOLVING 11. Find the GCD of 168 and 72. Using the Euclidean Algorithm: 168 = 72(2) + 24 72 = 24(3) + 0 12. Find the GCD of 414 and 276 414 = 276(1) + 138 276 = 138(2) + 0 13. Determine whether 221 and 144 are relatively prime. 221 = 144(1) + 77 144 = 77(1) + 67 77 = 67(1) + 10 67 = 10(6) + 7 10 = 7(1) + 3 7 = 3(2) + 1 3 = 1(3) + 0 Yes, 221 and 144 are relatively prime because their GCD is 1. This means they have no common positive factor other than 1. 14. Find the GCD and LCM of 96 and 140. 140 = 96(1) + 44 96 = 44(2) + 8 44 = 8(5) + 4 8 = 4(2) + 0 15. Find the GCD of 65 AND 40 65 = 40(1) + 25 40 = 25(1) + 15 25 = 15(1) + 10 15 = 10(1) + 5 10 = 5(2) + 0 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 63

REFERENCES Barrus, M., & Clark, W. E. (n.d.). 1.8: The Euclidean algorithm. In Elementary number theory. Mathematics LibreTexts. https://math.libretexts.org/Bookshelves/Combinatorics_and_Discrete_Mathematics/Ele mentary_Number_Theory_%28Barrus_and_Clark%29/01%3A_Chapters/1.08%3A_Th e_Euclidean_Algorithm Wright, D. (n.d.). 3.2 The Euclidean algorithm. In MATH1001: Introduction to number theory. University of Southampton. https://www.southampton.ac.uk/~wright/1001/the-euclidean-algorithm.html Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 64

LESSON 5: LINEAR DIOPHANTINE EQUATION LEARNING OBJECTIVES At the end of this lesson, students should be able to: 1. Define and describe a linear Diophantine equation. 2. Identify the coefficients and variables (a, b, and c) in a linear Diophantine equation. 3. Determine whether a linear Diophantine equation has an integer solution using Greatest Common Divisor (GCD) . 4. Solve linear Diophantine equations using the Extended Euclidean Algorithm. 5. Apply linear Diophantine equations to real-life problem-solving situations. LESSON DISCUSSION Understanding Linear Diophantine Equations In mathematics, equations are commonly solved by finding values of variables that make both sides equal. However, some equations require solutions that belong specifically to the set of integers. A linear Diophantine equation is an equation of the form ax + by = c where: a, b, and c are integers. x and y are the unknown variables. The solutions x and y must also be integers. Unlike ordinary linear equations, which may have fractional or decimal solutions, linear Diophantine equations focus on finding whole-number or integer solutions. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 65

What is Diophantine equation? It is named to honor the mathematician Diophantus of Alexandria. A linear Diophantine equation is a linear equation in two variables whose solutions are restricted to integers (whole numbers, positive, negative, or zero). The general form is: ax+by = c Example: 3x+5y=16 where: a = 3 , b = 5 , and c = 16 x and y are the unknown variables The greatest common divisor (GCD) is the largest positive integer that divides two or more integers without leaving a remainder. For a linear Diophantine equation ax+by = c let d = gcd(a,b) The equation has an integer solution if and only if: gcd of (a,b) divides c This means that the GCD of the coefficients must divide the constant term exactly. Example 1: Determine whether the equation has an integer solution. 6x + 9y = 15 Step 1: Find the GCD. gcd(6,9) = 3 6 : 1, 2, 3, 6 9 : 1, 3, 9 Step 2: Check whether 3 divides 15. 15 ÷ 3 = 5 Since 3 divides 15, the equation has integer solutions. Example 2: Determine whether the equation has an integer solution. 4x + 6y = 13 Step 1: Find the GCD. gcd(4,6) = 2 4 : 1, 2, 4 6 : 1, 2, 3, 6 Step 2: Check divisibility. 13 ÷ 2 = 6.5 Since 2 does not divide 13, the equation has no integer solution. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 66

Key concept to remember: If the GCD divides the constant term, integer solutions exist. If the GCD does not divide the constant term, no integer solutions exist. WORKING EXAMPLES Solving Linear Diophantine Equations One way to solve a linear Diophantine equation is through the Extended Euclidean Algorithm. The following examples demonstrate the step-by-step process of solving linear Diophantine equations. Example 1: Finding a Particular Integer Solution Solve: 7x + 5y = 1 Step 1. Identify the given. a = 7 , b = 5, and c = 1 Step 2. Find the GCD. d = gcd(7,5) = 1 7: 1, 7 5: 1, 5 Since 1 divides 1, an integer solution exists. Step 3. Use the Extended Euclidean Algorithm. GCD (7, 5) 7 = 5(1) + 2 5 = 2(2) + 1 2 = 1(2) + 0 Step 4. Work backward. 1 = 5 - 2(2) Since (2 = 7 - 5) 1 = 5 – [(7-5)(2)] 1 = 5 – [7(2) – 5(2)] 1 = 5 – 7(2) + 5(2) 1 = 5(3) – 7(2) 1 = 5(3) + 7(-2) Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 67

Therefore: x = -2 and y = 3 Step 5. Verify the answer. 7(-2) + 5(3) = 1 -14 + 15 = 1 1 = 1 The solution is correct. Example 2: Finding a Particular Integer Solution Solve: 6x + 9y = 15 Step 1. Identify the given. a = 6 , b = 9, and c = 15 Step 2. Find the GCD. d = gcd(6,9) = 3 6 : 1, 2, 3, 6 9 : 1, 3, 9 Since 3 divides 9, an integer solution exists. Step 3. Use the Extended Euclidean Algorithm. GCD (6, 9) 9 = 6(1) + 3 6 = 3(2) + 0 Step 4. Work backward. 3 = 9 – 6 5 [ 3 = 9 – 6 ] 5 15 = 9(5) – 6(5) 15 = 9(5) + 6(-5) Therefore: x = -5 and y = 5 Step 5. Verify the answer. 6(-5) + 9(5) = 15 -30 + 45 = 15 15 = 15 The solution is correct. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 68

Example 3: Identifying Whether a Solution Exists Determine whether the equation below has an integer solution: 12x+18y=25 Solution: Step 1. Identify the given. a = 12, b = 18, and c = 25 Step 2. Find the GCD. d = gcd(12, 18) = 6 12 : 1, 2, 3, 4, 6, 12. 18 : 1, 2, 3, 6, 9, 18. Since 6 does not divide 25, no integer solution exists. ACTIVITIES Activity: "The Diophantine Treasure Hunt" Objective: Students will solve a problem about linear Diophantine equations and identify integer solutions. They will become treasure hunters who must solve mathematical challenges to unlock clues leading to a hidden treasure. Each challenge presents a real-life situation involving two quantities. Students must: Instructions 1. Form a group consisting of 3–5 members. 2. Work together to solve the four mathematical challenges. 3. Read each situation carefully and identify the two unknown quantities. 4. For each challenge, follow these steps: o Write the linear Diophantine equation. o Find the GCD of the coefficients using the prime factorization or Euclidean Algorithm. o Determine whether integer solutions exist. o Find a particular integer solution using the Extended Euclidean Algorithm. 5. Use your answers to unlock the next clue and move closer to finding the hidden treasure. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 69

Challenge 1: The Golden Coins A pirate has gold coins worth 30 pesos each and silver coins worth 20 pesos each. He wants to collect exactly 180 pesos. Let: x = number of gold coins y = number of silver coins Task: Write a linear Diophantine equation and find a particular integer solutions. Challenge 2: The Magic Tickets A school purchased tickets for a field trip. Adult tickets cost ₱80 each, while student tickets cost ₱50 each. The total amount paid was ₱550. Question: what is the particular solution for x and y? Let: x = adult tickets y = student tickets Challenge 3: The Secret Code A secret vault opens when the numbers x and y satisfy: 7x+5y=41 Task: Find x and y and determine whether integer solution exist and gcd. Challenge 4: The Final Treasure A treasure chest contains 100 gold pieces. The treasure hunter can exchange: 12 small gems for one gold piece. ·7 large gems for one gold piece. The hunter needs to exchange exactly 100 gold pieces' worth of gems. Question: If x represents small gems and y represents large gems, solve: 12x+7y=100 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 70

Processing Questions 1. What is a Linear Diophantine Equation? 2. How can we determine whether an equation has an integer solution? 3. Why must the solutions be integers rather than fractions? 4. How does the greatest common divisor (GCD) help us determine whether solutions exist? 5. How can we verify that our solutions are correct? ASSESSMENT Part I. Multiple Choice Direction: Choose the letter of the correct answer. 1. What is a linear Diophantine equation? A. An equation with only decimal solutions. B. A linear equation whose solutions are integers. C. An equation with no variables. D. A quadratic equation with two variables. 2. Which of the following represents the general form of a linear Diophantine equation in two variables? A. ax^2 + by = c B. ax + by = c C. ax + by^2 = c D. a + b = c xy 3. What does GCD stand for? A. General Common Division B. Greatest Common Divisor C. Greatest Coefficient Difference D. General Coefficient Division 4. What condition must be satisfied for ax + by = c to have an integer solution? A. a = b B. a + b = c C. gcd(a,b) divides c D. c must be an even number. 5. What is the GCD of 7 and 5? A. 1 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 71

B. 2 C. 5 D. 7 6. Does the equation 4x + 6y = 13 have an integer solution? A. Yes B. No C. Only one solution D. Cannot be determined 7. Which algorithm is used to find the GCD of two integers? A. Quadratic Formula B. Euclidean Algorithm C. Substitution Method D. Factoring Method 8. What is the GCD of 12 and 18? A. 2 B. 3 C. 6 D. 9 9. Which pair is a particular integer solution of 7x + 5y = 1? A. (2,3) B. (-2,3) C. (3,-2) D. (-3,2) 10. What is the purpose of verifying a solution? A. To change the given equation. B. To find the GCD C. To confirm that the values satisfy the original equation. D. To eliminate the variables. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 72

PART II: Direction: Write TRUE if the statement is correct and FALSE if it is incorrect. 1. A linear Diophantine equation requires integer solutions. 2. Every linear equation in two variables has an integer solution. 3. The GCD of 6 and 9 is 3. 4. If the GCD of the coefficients does not divide the constant term, the equation has no integer solution. 5. The Extended Euclidean Algorithm can be used to find a particular integer solution. 6. The equation 12x + 18y = 25 has an integer solution. 7. The equation 6x + 9y = 15 has an integer solution. 8. The values of x and y can be fractions in a linear Diophantine equation. 9. The Euclidean Algorithm uses repeated division to determine the GCD. 10. A solution must be checked by substituting the values into the original equation. ANSWER KEY ACTIVITIES: CHALLENGE 1: 30x + 20y = 180 d = gcd (30, 20) = 10 30: 1, 2, 3, 5, 6, 10, 15, 30 20: 1, 2, 4, 5, 10, 20 since 10 divides 180, an integer solution exists. Gcd (30, 20) 30 = 20(1) + 10 20 = 10(2) + 0 10 = 30 – 20 18[10 = 30 – 20]18 180 = 30(18) – 20(18) 180 = 30(18) + 20(-18) x = 18 and y = -18 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 73

CHALLENGE 2: 80x + 50y = 550 d = gcd (80, 50) 80: 1, 2, 4, 5, 8, 10, 16, 20, 40, 80. 50: 1, 2, 5, 10, 25, 50. since 10 divides 550, an integer solution exists gcd (80, 50) 80 = 50(1) + 30 50 = 30(1) + 20 30 = 20(1) + 10 20 = 10(2) + 0 10 = 30 – 20 10 = 30 – (50 – 30) 10 = 30(2) – 50 10 = [80 – 50 (2)] – 50 10 = 80(2) – 50 (2) – 50 10 = 80(2) – 50(3) 55[10 = 80(2) – 50(3)]55 550 = 80(110) – 50 (165) 550 = 80(110) + 50 (-165) x =110 and y = -165 CHALLENGE 3: d = gcd (7, 5) = 1 7: 1, 7 5: 1, 5 gcd (7, 5) 7 = 1(5) + 2 5 = 2(2) + 1 2 = 2(1) + 0 1 = 5 – 2(2) 1 = 5 – [ (7- 5)(2) ] Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 74

1 = 5 – 7(2) + 5(2) 1 = 5(3) – 7(2) 41 [1 = 5(3) – 7(2)] 41 41 = 5(123) – 7(82) 41 = 5(123) + 7(-82) x = -82 and y = 123 CHALLENGE 4: 12x+7y=100 d = gcd (12, 7) 12: 1, 2, 3, 4, 6, 12 7: 1, 7 12 = 7(1) + 5 7 = 5(1) + 2 5 = 2(2) + 1 2 = 1(2) + 0 1 = 5 – 2(2) 1 = 5 – [(7- 5)(2)] 1 = 5 – [ 7(2) -5(2)] 1 = 5(3) – 7(2) 1 = [(12 – 7)(3)] – 7(2) 1 = [ 12(3) – 7(3) ] – 7(2) 1 = 12(3) – 7(5) 100 [ 1 = 12(3) – 7(5) ] 100 100 = 12(300) – 7(500) 100 = 12(300) + 7(-500) x = 300 and y = -500 Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 75

ASSESSMENT Part I. Multiple Choice No. Answer 1B 2B 3B 4C 5A 6B 7B 8C 9B 10C Part II. True or False No. Answer 1TRUE 2FALSE 3TRUE 4TRUE 5TRUE 6FALSE 7TRUE 8FALSE 9TRUE 10TRUE Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 76

REFERENCES Gordon, D. (n.d.). 3.1 Linear Diophantine equations. In Number theory: In context. Gordon College. https://math.gordon.edu/ntic/ntic/section-lin-dioph.html Wright, D. (n.d.). Chapter 2: Divisibility and Euclid’s algorithm. In MATH1001: Introduction to number theory. University of Southampton. https://personal.soton.ac.uk/jhr/math1001/chapter-divisibility.html Burton, D. M. (2007). Elementary number theory (6th ed.). McGraw-Hill. Crisman, K.-D. (2024). Number theory: In context and interactive. Gordon College. https://math.gordon.edu/ntic/ Jones, G. A., & Jones, J. M. (2005). Elementary number theory. Springer. Niven, I., Zuckerman, H. S., & Montgomery, H. L. (1991). An introduction to the theory of numbers (5th ed.). John Wiley & Sons. Rosen, K. H. (2011). Elementary number theory and its applications (6th ed.). Pearson. Truth and Integrity, Model of Excellence, Competence and Commitment, Community Service 77