NUMBER THEORY MODULE NUMBER THEORY MODULEChapter 1 - Chapter 5Chapter 1 - Chapter 5Prepared by :Prepared by :Colinares, Renalyn Emperador, Ma. Elizabeth Ernesto, Hillary Joy Manaois, Jhun Paul Medina, Erzhie Colinares, Renalyn Emperador, Ma. Elizabeth Ernesto, Hillary Joy Manaois, Jhun Paul Medina, Erzhie

INTRODUCTIONINTRODUCTIONThis module is designed to introduce students to five topics in Number Theory: Mathematical Induction, Prime Numbers, Greatest Common Divisor (GCD), the Euclidean Algorithm, and Linear Diophantine Equations. These topics focus on understanding the properties of integers, recognizing number patterns, and learning different methods used in solving mathematical problems. The discussion begins with Mathematical Induction, which focuses on proving mathematical statements involving positive integers. It then moves to Prime Numbers, where students will learn how to identify prime and composite numbers and understand the process of prime factorization. The next topics, Greatest Common Divisor (GCD) and the Euclidean Algorithm, will help students understand how to find the greatest common divisor of integers using different approaches. Finally, Linear Diophantine Equations will introduce students to solving linear equations that involve integer solutions. Each lesson is presented with explanations, step-by-step worked examples, and activities that allow students to practice the concepts discussed. Assessments are also included to help students check their understanding and identify areas that may need further practice. The lessons are arranged to build students' knowledge gradually, allowing them to understand the basic concepts before moving on to more complex mathematical procedures. I

PURPOSE OF THE MODULEPURPOSE OF THE MODULEThe main purpose of this module is to help students understand the fundamental concepts of Number Theory and develop the ability to apply them when solving mathematical problems. It aims to make each topic easier to understand by providing clear explanations, guided solutions, and opportunities for practice. Specifically, this module aims to: 1. Understand the process of Mathematical Induction and use it to prove mathematical statements involving positive integers. 2. Distinguish prime numbers from composite numbers and determine the prime factorization of given integers. 3. Find the Greatest Common Divisor (GCD) of two or more integers using appropriate methods. 4. Apply the Euclidean Algorithm to determine the GCD of integers through repeated division. 5. Solve Linear Diophantine Equations and identify integer values that satisfy the given equations. 6. Improve mathematical reasoning and problem-solving skills by working through examples and completing the activities provided in each lesson. Through the lessons and exercises in this module, students are expected to gain a better understanding of the five topics and become more familiar with the processes involved in solving related mathematical problems. It also encourages students to work carefully, understand each step of a solution, and apply what they have learned when answering exercises independently. II

TABLE OF CONTENTSTABLE OF CONTENTS Introduction...........................................................I Purpose of the Module.........................................II Table of Contents................................................III III Lesson 1...............................................................IV Lesson 2.................................................................V Mathematical Induction..................................1 - 5 Divisibility, Prime Numbers & Prime Factorization.................................................6 - 14 Lesson 3...............................................................VI Lesson 4..............................................................VII Lesson 5............................................................VIII Greatest Common Divisor (GCD)..............15 - 21 The Euclidean Algorithm............................22 - 25 Linear Diophantine Equations....................26 - 31 Answer Key and References..............................IX Answer key.................................................32 - 36 References..........................................................37Pages

LESSON 1MATHEMATICAL INDUCTIONIV

LESSON 1 LESSON 1MATHEMATICAL INDUCTION LESSON PROPER LEARNING OBJECTIVES By the end of this lesson, students will be able to: 1. Define mathematical induction and how it works. 2. Identify the base case and the inductive hypothesis in a mathematical statement. 3. Prove summation formulas and divisibility statements step by step using mathematical induction. Good day, class! Today, we are going to talk about mathematical induction. It sounds like a big, intimidating college math term, right? Don't worry—the idea behind it is actually super simple. Imagine you have a long line of dominoes standing up, and that line goes on forever. If I ask you, "How can we make sure every single domino in this line falls down?", you don't need to walk down the line and push each one by hand. You only need two things to happen: 1.Push the very first domino. If the first one doesn't fall, nothing happens. 2.Make sure the dominoes are close enough together. That way, whenever any domino falls, it is guaranteed to knock over the next one right behind it. If those two things are true, then pushing the first domino knocks over the second, the second knocks over the third, the third knocks over the fourth, and every single domino falls down! 1

HOW TO SOLVE? In math, we use this exact same trick when we want to prove that a formula or rule works for all counting numbers (1,2,3,4, and so on, forever). Since we can't test every number one by one, we do two steps: Step 1: The Base Case (Push the first domino). We plug in the starting number (usually n=1) to check if the formula actually works at the very beginning. Step 2: The Inductive Step (Check the spacing). First, we assume the formula works for some random number we call k. That assumption is called the inductive hypothesis. Then, using that assumption, we prove that the formula must also work for the very next number, k+1. Once both steps are done, our proof is complete! for any counting number n ≥1. Example 1: Let's prove that if you add up the first n counting numbers, the answer always matches this shortcut formula: Step 2: Inductive Hypothesis (Make our assumption): Let’s change n to k Step 1: Base Case (Test n=1) Now let's plug n=1 in our given. 1 + 2 + 3 +...+ n = Step 3: Inductive Step (Prove it works for the next number, k+1) We want to show that if we add one more number, (k+1), to our sum, we get the formula with (k+1) plugged in: Solve the left side and right side. 2

rearrange the terms so that sits together at the front (because we know something about from Step 2.) multiply out and 2 (k + 1) = Swap with 3m from our assumption in Step 2: Example 2: Let's prove that for any counting number n ≥ 1, the expression n +2n can always be divided evenly by 3 (meaning it is a multiple of 3). Start with the left side: let's combine these two terms using a common denominator of 2: Notice that both pieces on top share (k+1). Let's factor (k+1) out: As you can see the left side matches the right side we wanted. Since the base case works and the inductive step holds, the formula 1 + 2 + 3 +...+ n = is true for all counting numbers n ≥ 1. Step 1: Base Case (Test n=1) Step 2: Inductive Hypothesis (Make our assumption) Can 3 be divided evenly by 3? Yes! 3 ÷ 3=1. So the base case works. Assume that for some counting number k, is a multiple of 3. In math, saying a number is a multiple of 3 just means we can write it as 3(some whole number). Let's call that whole number m: Step 3: Inductive Step (Prove it works for k+1) 3

Multiplying any whole number by 3 gives a multiple of 3! Therefore the mathematical induction, is always divisible by 3 for every counting number n ≥ 1. Since m and k are whole numbers, is also just a whole number. they all have a 3 in front! Let's factor out the 3: = WHAT TO DO? Student A Choices (Math Statement) Student B Choices (Domino Role) Choice 1: Check n=1 Choice 1: Pushing the first domino (Base Case) Choice 2: Assume 1+3+5+...+(2k-1)= Choice 2: Assuming domino k falls (Inductive Hypothesis) Choice 3: Show 1+3+5+...+(2(k+1)-1)=(k+1) Choice 3: Proving domino k knocks over domino k+1 (Inductive Step) Student A chooses one Math Statement from the list below and writes it clearly on their paper (do not show your seatmate!). Student B chooses one Domino Role from the list below and writes it clearly on their paper (do not show your seatmate!).(All choices are based on proving Activity: Forehead Domino Match-Up Pair Up: Form pairs with your seatmate (Student A and Student B). Write Your Card (Secretly!): Stick It on Your Forehead: Without looking at your partner's paper, stick your own paper onto your forehead so your seatmate can read it, while you cannot see your own. Guess & Answer Together: Take turns giving each other clues (without reading the exact words on the paper) until both of you guess what is written on your own foreheads. Once you both know what is on your foreheads, check your two papers together and answer these two questions as a pair:1.Do our two statements match as the same step in the proof? 2.If yes, what step is it? If no, what statement would properly match my partner's card? 4

ASSESSMENT ______3.) When proving by mathematical induction that 5n-1 is divisible by 4 for all n1, we assume 5k-1=4m (which means 5k=4m+1). Which expression correctly shows the first substitution step for n=k+1? A) 5 ( 4m + 1 ) - 1 B) (4m + 1) + 5 - 1 C) 5 + 5 - 1 D) 4 ( 5m - 1 ) + 1 MULTIPLE CHOICE: Direction: Read each item carefully and choose the letter of the best answer from the given choices.______1.) Suppose a student successfully proves the inductive step ("if a statement is true for n=k, then it is true for n=k+1"), but the base case only starts working at n=4 (it is false for n=1,2, and 3). What can we conclude about the statement? A) The statement is true for all counting numbers n1. B) The statement is false for all numbers because n=1 failed. C) The statement is true for all whole numbers n4. D) Mathematical induction cannot be used at all.______2.) A student wants to prove that 3n>2n+1 for all counting numbers n2. In the inductive step, they start with 3k+1 and rewrite it as 33k. Using the inductive hypothesis (3k>2k+1), they write: 33k>3(2k+1)=6k+3 To finish the proof, what expression must they show 6k+3 is greater than? A) 2k+1 B) 2k+2 C) 2k+3 D) 3k+1 PROVING: Direction: Read the item carefully and Use mathematical induction to prove that for any counting number n ≥ 1:2 + 4 + 6 + ... + 2n = n (n+1) 5

LESSON 2DIVISIBILITY, PRIME NUMBERS & PRIME FACTORIZATIONV

LESSON 2 LESSON 2DIVISIBILITY, PRIME NUMBERS & PRIME FACTORIZATIONLEARNING OBJECTIVES At the end of this lesson, the learners should be able to: 1.Explain the meaning of divisibility and identify whether a number is divisible by another number. 2.Apply divisibility rules in determining factors of a given number. 3.Differentiate prime numbers from composite numbers. 4.Identify prime numbers within a given set of numbers. 5.Solve exercises involving divisibility, prime numbers, and prime factorization accurately. LESSON PROPERA. Divisibility Have you ever tried dividing a certain number of candies among your classmates? For example, if you have 12 candies and want to share them equally with 3 friends, each person can receive 4 candies without anything left over. Divisibility means that one number can be divided by another number without leaving a remainder. For example: Since the answer is a whole number and there is no remainder, 20 is divisible by 5. However: Since there is a remainder of 2, 20 is not divisible by 3. 20÷5=4 20÷3=6.2 6

NUMBER 2 Divisibility Rule : Ends in 0, 2, 4, 6, or 8 Example : 246 NUMBER 3 Divisibility Rule: Sum of its digits is divisible by 3 Example: 123 (1+2+3=6) NUMBER 4 Divisibility Rule: Last two digits are divisible by 4 Example: 316 (16 ÷ 4 = 4) NUMBER 5 Divisibility Rule: Ends in 0 or 5 Example : 175 NUMBER 6 Divisibility Rule: Divisible by both 2 and 3 Example: 132 NUMBER 8 Divisibility Rule: Last three digits are divisible by 8 Example: 1,024 NUMBER 9 Divisibility Rule: Sum of its digits is divisible by 9 Example: 729 NUMBER 10 Divisibility Rule : Ends in 0 Example: 450B. Rules of Divisibility Instead of dividing numbers one by one, we can use divisibility rules to determine whether a number can be divided evenly.C. Prime Numbers Let's say you have 7 pieces of chocolate. You want to arrange them into equal groups without leaving any extra pieces. You can only arrange them as: One group of 7. Seven groups of 1. There is no other way to divide them into equal whole-number groups. This is what makes 7 a prime number. A prime number is a whole number greater than 1 that has exactly two factors: 1 and itself. Examples: 2, 3, 5, 7, 11, 13, 17, 19 7

Facts about prime numbers: A prime number has exactly two factors. The number 2 is the only even prime number. The number 1 is neither prime nor composite. Prime numbers are always greater than 1.D. Composite Numbers Unlike prime numbers, composite numbers have more than two factors. For example, 12 has the following factors: 1, 2, 3, 4, 6, 12 Since it has more than two factors, 12 is a composite number. Prime Numbers Exactly two factors Only divisible by 1 and itself Composite Numbers More than two factors Have other factors aside from 1 and itself Prime vs. Composite NumbersE. Prime Factorization Now that we understand prime and composite numbers, let's learn how to break a composite number into smaller prime numbers. Prime factorization is the process of expressing a composite number as a product of prime numbers. For example: 12=2×2×3 The numbers 2 and 3 are prime numbers, so this is the prime factorization of 12. There are two common methods: Factor Tree Method Repeated Division Method 8

3666232 3Method 1: Factor Tree Method A factor tree helps us break down a composite number until all the branches end in prime numbers. Example: Factor Tree of 36 Final Answer: 36=2×2×3×3 Or, using exponents: 36=2²×3²Method 2: Repeated Division Method In this method, divide the number by the smallest prime number possible. Continue dividing until the quotient becomes 1. Example: 60 Division 60 ÷ 2=30 30 ÷ 2=15 15 ÷ 3=5 5 ÷ 5=1 Therefore: 60=2×2×3×5 60=2²×3×5 Important: Always use prime numbers as divisors and continue until you reach 1. 9

WHAT’S MOREStudy each example carefully. Try to understand why each step is performed before looking at the final answer. Example 1: Determine whether 234 is divisible by 2, 3, 5, and 9. Step 1: Check divisibility by 2. Look at the last digit of 234. The last digit is 4. Since 4 is an even number, 234 is divisible by 2. Step 2: Check divisibility by 3. Add all the digits: 2+3+4=9 Since 9 is divisible by 3, 234 is divisible by 3. Step 3: Check divisibility by 5. A number is divisible by 5 if its last digit is 0 or 5. 234 ends in 4. Therefore, it is not divisible by 5. Step 4: Check divisibility by 9. The sum of its digits is 9. Since 9 is divisible by 9, 234 is divisible by 9. Answer: 234 is divisible by 2, 3, and 9, but not by 5. Example 2: Find the prime factorization of 84 using the factor tree method. Step 1: Find two factors of 84. 84=12×7 Step 2: Break down the composite factor. Since 12 is not a prime number, we need to break it down further. 12=3×4 10

Step 3: Break down 4. Since 4 is also composite: 4=2×2 Step 4: List all the prime factors. 84=3×2×2×7 All the numbers are prime, so we can stop. Step 5: Write the final answer using exponents. Since 2 appears twice: 84=2²×3×7 Check your answer: 2×2×3×7=84 WHAT I CAN DOGroup Activity Instruction: Group yourselves into 3 then answer the following questions. A teacher has 48 pencils and wants to place them into equal groups without having any pencils left over. 1.3 possible groupings. 2.List the factors of 48. 3.Write the prime factorization of 48. 4.Explain how you found your answers in 2–3 sentences. 11

ASSESSMENT Directions: Read each question carefully. Choose the best answer. Part I. Multiple Choice (10 points) ________1. What does divisibility mean? A. A number can only be multiplied. B. A number can be divided without leaving a remainder. C. A number must always be even. D. A number cannot be divided. ________2. Which of the following is divisible by 5? A. 123 B. 248 C. 375 D. 412 ________3. Which number is divisible by 3? A. 124 B. 222 C. 401 D. 502 ________4. Which of the following is a prime number? A. 15 B. 21 C. 23 D. 27 ________5. Why is 1 neither prime nor composite? A. It is an odd number. B. It has only one positive factor. C. It is divisible by 2. D. It is a negative number. 12

ASSESSMENT ________6. Which of the following is a composite number? A. 3 B. 7 C. 11 D. 18 ________7. What is the prime factorization of 20? A. 2 × 10 B. 2² × 5 C. 4 × 5 D. 2 × 2 × 10 ________8. What is the smallest prime number? A. 0 B. 1 C. 2 D. 3 ________ 9. Which number is divisible by both 2 and 3? A. 25 B. 32 C. 42 D. 55 ________10. What is the prime factorization of 30? A. 2 × 3 × 5 B. 2 × 15 C. 3 × 10 D. 5 × 6 13

ASSESSMENTPart II. Problem Solving (10 points) Directions: Show your complete solution. (2 points each) 11. Determine whether 456 is divisible by 2, 3, 4, and 5. 12. Identify all the prime numbers from the following set: 11,15, 17, 20, 23, 27, 31 13. Find the prime factorization of 72 using the factor tree method. 14. Find the prime factorization of 90 using repeated division. 15. A school organization has 60 sheets of colored paper. The members want to divide them into equal groups with no paper left over. Give four possible group sizes. Find the prime factorization of 60. Explain how knowing the factors helps in dividing the papers equally. 14

LESSON 3GREATEST COMMON DIVISOR (GCD)VI

LESSON 3 LESSON 3GREATEST COMMON DIVISOR (GCD)LEARNING OBJECTIVES By the end of this lesson, students will be able to:1. Define the Greatest Common Divisor (GCD) and explain its importance in Number Theory. 2.Determine the GCD of two or more integers using prime factorization and the Euclidean Algorithm. 3.Apply the GCD in solving mathematical problems involving divisibility and equal grouping. 4.Demonstrate an understanding of GCD through mathematical exercises and problem-solving activities. LESSON PROPERGood day, class! Before we start, imagine that you are organizing a college event. You have 24 Mathematics students and 36 English students, and you want to divide them into equal groups. Here is the challenge: Every group must have the same number of mathematics students. Every group must have the same number of education students. No student should be left out. You want to create the greatest possible number of groups. How many groups can you make? The answer is 12 groups. Each group will have 2 Mathematics students and 3 English students. But how did we arrive at 12? 15

This is where our lesson comes in: the Greatest Common Divisor, commonly known as GCD. What is the Greatest Common Divisor (GCD)? The Greatest Common Divisor (GCD) is the largest positive integer that divides two or more integers without leaving a remainder. In simpler terms, it is the biggest number that can divide two or more given numbers exactly. For example, let's consider 12 and 18. Their factors are: Factors of 12: 1, 2, 3, 4, 6, 12 Factors of 18: 1, 2, 3, 6, 9, 18 Their common factors are 1, 2, 3, and 6. Since 6 is the largest among them: GCD (12, 18)=6 Remember: The GCD must divide all the given integers exactly, and it must be the greatest among their common factors. Why is GCD Important? In Number Theory, we study integers and their properties, including divisibility, factors, and relationships between numbers. The GCD is important because it helps us: Identify the largest common factor of integers. Simplify fractions into their lowest terms. Solve problems involving equal grouping and distribution. Understand divisibility and relatively prime numbers. Apply important number-theoretic methods such as the Euclidean Algorithm. Two Important Methods for Finding the GCD There are different ways to find the GCD. For this lesson, we will focus on two methods.16

WHAT IS ITMethod 1: Prime Factorization Prime factorization means expressing a number as a product of prime numbers. To find the GCD using this method: 1. Find the prime factorization of each number. 2. Identify the prime factors that appear in both numbers. 3. Choose the lowest exponent of each common prime factor. 4. Multiply the common prime factors. Method 2: Euclidean Algorithm The Euclidean Algorithm is an efficient method of finding the GCD using repeated division. Its main idea is: GCD (a, b) = gcd (q, r) where r is the remainder when a is divided by b. Continue dividing until the remainder becomes zero. The last nonzero remainder is the GCD. This method is especially useful when working with larger integers because we do not need to list all their factors.Let's apply what we have learned through two examples. Pay attention to the steps because the goal is not just to get the answer but also to understand how we arrive at it. Example 1: Finding the GCD Using Prime Factorization Problem: Find the Greatest Common Divisor of 84 and 126 using prime factorization. Step 1: Find the prime factorization of each number. 17

Step 2: Identify the common prime factors. The common prime factors are 2, 3, and 7. Step 3: Choose the lowest exponent of each common factor. Step 4: Multiply the common prime factors. GCD = 2 × 3 × 7 GCD (84, 126) = 42 This means that 42 is the largest number that can divide both 84 and 126 without leaving a remainder.Example 2: Finding the GCD Using the Euclidean Algorithm Problem: Find the GCD of 252 and 198 using the Euclidean Algorithm. Unlike prime factorization, this method uses repeated division. Let's solve it step by step. Step 1: Divide the larger number by the smaller number. 252 ÷ 198= 1 (The remainder is 54) 252 = 198 (1) + 54 Step 2: Use the previous divisor and remainder. (Repeat the division process) 198 = 54 (3) + 36 54 = 36 (1) + 18 36 = 18 (2) + 0 Step 3: Identify the GCD. Remember, the GCD is the last nonzero remainder. Therefore GCD (252,198) = 18 Since 18 is the last nonzero remainder, it is the greatest positive integer that divides both 252 and 198 exactly. 18

Relatively Prime Numbers There is one more important concept related to GCD. Two integers are called relatively prime or coprime if their GCD is equal to 1. For example: GCD (8,15) = 1 The factors of 8 are 1, 2, 4, and 8, while the factors of 15 are 1, 3, 5, and 15. Their only common positive factor is 1. Therefore, 8 and 15 are relatively prime. Relatively prime numbers do not necessarily have to be prime numbers themselves. They only need to have no common positive divisor other than 1.PAIR ACTIVITYObjective: To test students' ability to identify and calculate the GCD using the two methods discussed in the lesson. Instructions: 1. Form a pair with your seatmate. 2. Each pair will receive three mathematical challenges. 3. Solve each problem using the required method. 4. Show your complete solution, not just the final answer. 5. The first pair to finish with all correct answers will be recognized. Challenge Cards: 1Find the GCD of 48 and 72. (Method: Prime Factorization) 2. Find the GCD of 315 and 135. (Method: Euclidean Algorithm) 3. A college organization has 60 freshmen and 84 sophomores. The organizers want to divide them into the greatest possible number of identical groups, with no students left out. How many groups can they form? How many freshmen and sophomores will be in each group? (Method: Apply the concept of GCD to a real-life situation.) Guide Questions: 1. Which method did you find easier to use? Why? 2. Why is the last nonzero remainder important in the Euclidean Algorithm? 3. How does GCD help us solve problems involving equal grouping? 19

ASSESSMENTDirections: Read each question carefully. Choose the best answer. _______1. What does the Greatest Common Divisor (GCD) represent? A.The smallest number that divides two integers. B.The largest positive integer that divides two or more integers exactly. C.The largest number obtained by multiplying two integers. D.The total number of factors of two integers. _______2. What is the GCD of 24 and 36? A.6 B.8 C.12 D.18 _______3. In prime factorization, what exponent should we use for the common prime factors when finding the GCD? A.The highest exponent. B.The lowest exponent. C.The sum of the exponents. D.The difference between the exponents. _______4. In the Euclidean Algorithm, when should we stop the division process? A.When the quotient becomes zero. B.When the numbers become equal. C.When the remainder becomes zero. D.When the remainder becomes larger than the divisor. _______5. What is the GCD of 105 and 45 using the Euclidean Algorithm? A.5 B.10 C.15 D.25 _______6. Two integers are called relatively prime when: A.Both numbers are prime. B.Their GCD is equal to 1. C.They have the same factors. D.Their product is equal to 1. 20

ASSESSMENT_______7. Find the GCD of 72 and 120 using prime factorization. A.12 B.18 C.24 D.36 _______8. A teacher has 48 pencils and 60 notebooks. She wants to distribute them into the greatest possible number of identical sets without any materials left over. How many sets can she make? A.6 B.10 C.12 D.15 _______9. Which of the following is the correct Euclidean Algorithm relationship? A. gcd (a,b) = gcd (a + b, b) B. gcd (a,b) = gcd (b,r) where r is the remainder C. gcd (a,b) = a × b D. gcd (a,b) = a - b _______10. Why is the Euclidean Algorithm useful when dealing with large integers? A.It avoids the need to list all factors or find complete prime factorizations. B.It always produces a prime number. C.It requires no division. D.It finds the least common multiple directly. 21

LESSON 4THE EUCLIDEAN ALGORITHM VII

LESSON 4 LESSON 4THE EUCLIDEAN ALGORITHM LEARNING OBJECTIVES By the end of this lesson, students will be able to:1.Define the Greatest Common Divisor (GCD) 2.Apply the Division Algorithm 3.Compute the GCD Using the Euclidean Algorithm 4.Identify Coprime (Relatively Prime) Integers LESSON PROPER In elementary school, you probably learned to find the Greatest Common Divisor (GCD) of two numbers by listing all their factors or using prime factorization. For small numbers like 12 and 18, listing factors works great (factors of 12 are 1, 2, 3, 4, 6, 12; factors of 18 are 1, 2, 3, 6, 9, 18 ….. so the GCD is 6).Remainders Preserve the GCD The Euclidean Algorithm relies on the Division Algorithm: for any two positive integers a and b (with a ≥ b), we can divide a by b to get a quotient q and a remainder r: Key Theorem (Euclidean Reduction Property) Division Equation: a = b × q + r, where 0 ≤ r < bCore Rule: GCD (a, b) = GCD (b, r) The greatest common divisor of two numbers does not change if you replace the larger number with the remainder when the larger number is divided by the smaller number. 22

How to Perform the Algorithm (4 Easy Steps) Step 1 — Order the numbers: Place the larger number first as 'a' and the smaller number second as 'b'. Step 2 — Divide and record: Divide a by b to find the quotient (q) and remainder (r), and write it as a = b(q) + r. Step 3 — Shift left: If r ≠ 0, replace a with b, and replace b with r. Repeat the division. Step 4 — Stop at zero: Continue until the remainder r equals 0. The last non- zero remainder is your GCD! Special Case — Relatively Prime (Coprime) Integers: If the last non-zero remainder turns out to be 1, then gcd (a, b) = 1. We call these two numbers relatively prime or coprime, meaning they share no common positive factors other than 1 (for example, 14 and 25).HOW TO SOLVE IT? Example 1: GCD (252, 105) Division Equation: a = b(q) + r 252 = 105(2) + 42 105 = 42(2) + 21 42 = 21(2) + 0 Since the 21 is non-zero remainder, the GCD of (252,105) = 21 Example 2: GCD (1071, 462) Division Equation: a = b(q) + r 1071 = 462(2) + 147 462 = 147(3) + 21 147 = 21(7) + 0 Since the 21 is non-zero remainder, the GCD of (1071,462) = 21 23

Example 3: GCD (85, 36) Division Equation: a = b(q) + r 85 = 36(2) + 13 36 = 13(2) + 10 13 = 10(1) + 3 10 = 3(3) + 1 3 = 1(3) + 0 Therefore, the last non-zero remainder is 1, so GCD (85, 36) = 1. Thus, 85 and 36 are relatively prime. ACTIVITY‘Crack the Vault’ Instructions: Fill in the missing numbers in the Euclidean chain below to unlock the 3-digit vault code [ X - Y - Z ]:Find GCD(546, 231) Line 1: 546 = 231 × 2 + [ X ] Line 2: 231 = [ X ] × 2 + [ Y ] Line 3: [ X ] = [ Y ] × 4 + 0 Final GCD = [ Z ] [ _ _ _ ] 24

ASSESSMENTDirection: Answer all items below. Show your step-by-step division equations for Part II. Part I: Multiple Choice (1 point each) ______1. According to the Euclidean Algorithm, GCD(a, b) is always equal to: a. GCD(a, q) b. GCD(b, r) c. GCD(q, r) d. a − b ______2. When do you stop repeating the division steps in the Euclidean Algorithm? a. When the quotient equals 1 c. When a equals b b. When the remainder equals 0 d. After exactly 3 steps ______3. Which number gives the GCD once the algorithm stops? a. The last quotient c. The last non-zero remainder b. The first remainder d. The sum of all remainders ______4. If the Euclidean Algorithm gives GCD(a, b) = 1, then a and b are called: a. Twin primes c. Relatively prime (coprime) b. Composite integers d. Perfect numbers ______5. In the first step of finding GCD(98, 35), what is the remainder r? a) 2 b) 7 c) 14 d) 28 Part II: Problem Solving (3 points each) 6. Use the Euclidean Algorithm to find GCD(391, 299). 7. Use the Euclidean Algorithm to find GCD(1234, 54) and state whether 1234 and 54 are relatively prime. 8. A baker has 168 chocolate chip cookies and 120 oatmeal cookies. She wants to pack them into identical gift boxes so each box has the exact same number of each cookie type with none left over. What is the greatest number of gift boxes she can make? 25

LESSON 5LINEAR DIOPHANTINE EQUATIONSVIII

LESSON 5 LESSON 5LINEAR DIOPHANTINE EQUATIONSLEARNING OBJECTIVES By the end of this lesson, students will be able to: 1.Define Linear Diophantine Equations and identify its coefficients. 2.Applying Greatest Common Divisor (GCD) to determine whether the equation is an integer solutions exist if and only if (a,b) divides c. 3.Using Extended Euclidean Algorithm and Back Substitution to compute the particular integer solution coefficients (x,y). LESSON PROPERBefore we start, imagine that you are organizing a school event and need to buy a snacks for the volunteers, But You only have ₱500 in your fund budget, and the local bakery sells only two items: the ₱30 ensaymada and ₱20 toasted bread packs. Here is the challenge: You want to spend the exact ₱500 with zero change left over. You can only buy whole pieces or packs. You need to find combinations of how many ensaymadas (x) and toasted bread packs (y) you can purchase, which gives us the equation: 30x+20y=500 Can we actually spend the exact ₱500 using only ₱30 and ₱20 items? What if the budget was ₱505 instead? That brings us to today's topic: Linear Diophantine Equations, the equations where we only look for whole-number (integer) solutions, and where the Greatest Common Divisor (GCD) holds the key to knowing whether a solution even exists. 26

HOW TO SOLVE IT?What is Linear Diophantine Equation? In algebra, a linear equation like 30x+20y=500 normally has infinitely many real-number solutions (including fractions and decimals). However, in real-life counting problems and in number theory we often answers to integers only (whole numbers and their negatives: ... , -2, -1, 0, 1, 2, …). A Linear Diophantine Equation in two variables is an equation of the form: ax+by=c where: a and b are given integers called coefficients (not both zero). c is a given integer called the constant term. x and y are the unknown variables that must be integers. Diophantus of Alexandria (c. AD 200–214 – c. AD 284–298) was a Greek mathematician known for his work on solving algebraic equations. He wrote a series of books called Arithmetica, much of which has been lost over time and became widely known through the editions such as Claude Gaspard Bachet de Méziriac’s 1621 Latin translation. Today, his name lives on in Number Theory through Diophantine equations, Diophantine geometry, and Diophantine approximations.Step 1: Finding the Greatest Common Divisor (GCD): Using Euclidean Algorithm: 30x + 20y = 500 30 = 20(1) + 10 20 = 10(2) + 0 GCD (30, 20) = 10 Step 2: Finding if it is solvable or Not solvable: Since 10 | 500 (500 ÷ 10 = 50), the equation is solvable.Let's apply what we have learned through the two examples provided. take note to the steps because the goal is to get the answer and to understand how we arrive to it. Let’s go back into our problem earlier in the introduction: Example 1: 30x + 20y = 500 27

Step 3: Back Substitution Expressing the GCD (10): 1 = 3 - 2 1 = 3 - (5 - 3) = 3 - 5 + 3 1 = 3 (2) - 5 1 = [18 - 5 (3)] (2) - 5 1 = 18 (2) - 5 (6) - 5 1 = 18 (2) + 5 (-7)Step 1: Finding the Greatest Common Divisor (GCD): Using Euclidean Algorithm: 18x + 5y = 48 18 = 5 (3) + 3 5 = 3 (1) + 2 3 = 2 (1) + 1 2 = 2 (1) + 0 GCD (18, 5) = 1 Step 2: Finding if it is solvable or Not solvable: Since 1 | 48 (48 ÷ 1 = 48), the equation is solvable.Step 3: Back Substitution Expressing the GCD (10): 10 = 30 - 20(1) 10 = 30(1) + 20(-1) Step 4: Multiply the entire equation itself: 500 = 30(50) + 20(-50) Step 5: Finding Integer Solution: x = 50, y = -50 therefore, the integer solution of (x,y) = (50, -50) Example 2: 18x + 5y = 48 28

ACTIVITYStep 4: Multiply the entire equation itself: 1 (48) = 18 (2) + 5 (-7)] 48 48 = 18 (96) + 5 (-336)Step 5: Finding Integer Solution: x = 96, y = -336 therefore, the integer solution of (x,y) = (96, -336) Piko Find Pair! Instructions The game is Groupings, Student must form 2 groups with 7 members. Each student must answer the linear diophantine equations presented on the Piko They must find the X and Y coefficients of the equations to proceed to the next equation Since the Piko Game has 7 equation, after the student 1 answer correctly the Student 2 will now proceed as they finish all the 7 equation correctly. Their answer must be written in a white paper with complete solution. As for the group that will win first will receive a prizes. 29

ASSESSMENTPart 1: Multiple Choice: Choose the best answer. ______1. Which of the following linear Diophantine equations has NO integer solutions? a. 7x + 14y = 20 b. 3x + 6y = 12 c. 9x + 3y = 0 d. 2x - 8y = 6 ______2. What is (12,18) when testing 12x+18y=6? a. 3 b. 2 c. 6 d. 36 ______3.Which ordered pair (x,y) is an integer solution to 2x+3y=12? a. (2, 3) b. (6, 0) c. (3, 2) d. (8, 2) _______4. What is the greatest common divisor of 15 and 20 in 15x+20y=30? a. 5 b. 1 c. 10 d. 60 _______5. Which linear Diophantine equation has NO integer solutions? a. 10x + 15y = 25 b. 12x + 16y = 6 c. 4x + 2y = 8 d. 5x + 3y = 1 30

ASSESSMENTPart II: Problem Solving (10 points each question) 6-10. A delivery cargo van carries an exact load of 100 kg using 14-kg crates and 6- kg crates. Equation: 14x+6y=100 11-15. BTS Los Angeles Concert tickets cost $12 in Lower box and the General admission tickets cost $5. An ARMY fan club spends exactly $61 on tickets for a group watch party. Equation: 12x+5y=61 31

ANSWER KEY & REFERENCESIX

Answer key (Lesson 1) 1.) C 2.) C 3.) A 4.) Step-by-step Proof for 2+4+6+...+2n=n(n+1) Step 1: Base Case (n=1) 2 (1) = 1 (1+1) 2 = 1 (2) 2=2 Step 2: Inductive Hypothesis 2+4+6+...+2k=k (k+1) Step 3: Inductive Step (Prove for n=k+1) 2+4+6+...+2k+ 2 (k+1)=(k+1) (k+2) Start with the left side: 2+4+6+...+2k+ 2 (k+1)=k(k+1) 2(k+1) Factor out (k+1) =(k+1) (k+2) (k+1) (k+2) =(k+1) (k+2) Therefore, By mathematical induction, 2+4+6+...+2n=n(n+1) for all counting numbers n1. Answer key (Lesson 2) Group Activity 1. 3 possible groupings: 2 groups of 24 pencils, 3 groups of 16 pencils, 4 groups of 12 pencils 2. Factors of 48: 1, 2, 3, 4, 6, 8, 12, 16, 24, and 48 3. Prime factorization: 48=2⁴×3 Assessment Part I. Multiple Choice 1.B 2.C 3.B 4.C 5.B 6.D 7.B 8.C 9.C 10.A 32

Answer key (Lesson 2) Part II. Problem Solving 11. Divisibility of 456 2, 3, 4 is YES 5 is NO, because it does not end in 0 or 5. 12. Prime numbers 11, 17, 23, 31 13. Prime factorization of 72 72=8×9 2×2×2×3×3 72=2³×3² 14. Prime factorization of 90 90÷2=4545÷3=1515÷3=55÷5=1 Therefore: 90=2×3²×5 15. a. Four possible group sizes: 2 groups of 30 3 groups of 20 4 groups of 15 5 groups of 12 b. Prime factorization: 60=2×2×3×5 60=2²×3×5 c. [Depend] The factors helps identify the possible group sizes that will divide the 60 sheets equally without leaving any paper unused 33

Answer key (Lesson 3) Asessment: 1.B 2.C 3.B 4.C 5.C 6.B 7.C 8.C 9.B 10.A Answer key (Lesson 4) Part I: 1. B. GCD(b, r) 2. B. When the remainder equals 0 3. C. The last non-zero remainder 4. C. Relatively prime (coprime) 5. D. 28 (since 98 = 35 × 2 + 28) Part II: 6. GCD (391, 299): 391 = 299(1) + 92 299 = 92(3) + 23 92 = 23(4) + 0 Answer: 23 34

Answer key (Lesson 4)7. GCD(1234, 54): 1234 = 54(22) + 46 54 = 46(1) + 8 46 = 8(5) + 6 8 = 6(1) + 2 6 = 2(3) + 0 Answer: 2 8. Cookie Boxes — GCD(168, 120): 168 = 120(1) + 48 120 = 48(2) + 24 48 = 24(2) + 0. Answer: 24 gift boxes (each containing 7 chocolate chip and 5 oatmeal cookies). Answer key (Lesson 5)1. 11x+5y=9 Find the GCD (Euclidean Algorithm): 11=5(2)+1 5=1(5)+0 (11,5)=1 Solvability: Since 1 | 9, the equation is solvable. Back Substitution (for =1): 1=11(1)+5(-2) Multiply the entire equation by 9: 9=11(9)+5(-18) Integer Solution: x=9,y=-18Interactive Activity: Piko Find Pair! 2. 8x+3y=23 Find the GCD (Euclidean Algorithm): 8=3(2)+2 3=2(1)+1 2=1(2)+0 (8,3)=1 Solvability: Since 1 | 23, the equation is solvable. Back Substitution (for =1): 1=3-2(1) 1=3-[8-3(2)](1) 1=8(-1)+3(3) Multiply the entire equation by 23: 23=8(-23)+3(69) Integer Solution: x=-23,y=69 3. 6x+9y=15 Find the GCD (Euclidean Algorithm): 9=6(1)+3 6=3(2)+0 (6,9)=3 Solvability: Since 3 | 15 (153=5), the equation is solvable. Back Substitution (for =3): 3=6(-1)+9(1) Multiply the entire equation by 5: 15=6(-5)+9(5) Integer Solution: x=-5,y=54. 11x-13y=4 Find the GCD (Euclidean Algorithm using |-13| = 13): 13=11(1)+2 11=2(5)+1 2=1(2)+0 (11,-13)=1 Solvability: Since 1 | 4, the equation is solvable. Back Substitution (for =1): 1=11-2(5) 1=11-[13-11(1)](5) 1 = 11(6) - 13(5) 1 = 11(6) + (-13)(5) Multiply the entire equation by 4: 4=11(24)+(-13)(20) Integer Solution: x=24,y=20 5. 25x+40y=105 Find the GCD (Euclidean Algorithm): 40=25(1)+15 25=15(1)+10 15=10(1)+5 10=5(2)+0 (25,40)=5 Solvability: Since 5 | 105 (1055=21), the equation is solvable. Back Substitution (for =5): 5=15-10(1) 5=15-[25-15(1)](1)=15(2)-25(1) 5=[40-25(1)](2)-25(1) 5=25(-3)+40(2) Multiply the entire equation by 21: 105=25(-63)+40(42) Integer Solution: x=-63,y=42 35

Answer key (Lesson 5) Interactive Activity: Piko Find Pair! 6. 5x+9y=8 Find the GCD (Euclidean Algorithm): 9=5(1)+4 5=4(1)+1 4=1(4)+0 (5,9)=1 Solvability: Since 1 | 8 , the equation is solvable. Back Substitution (for =1): 1=5-4(1) 1=5-[9-5(1)](1) 1=5(2)+9(-1) Multiply the entire equation by 8: 8=5(16)+9(-8) Integer Solution: x=16,y=-8 7. 3x+7y=5 Find the GCD (Euclidean Algorithm): 7=3(2)+1 3=1(3)+0 (3,7)=1 Solvability: Since 1 | 5, the equation is solvable. Back Substitution (for =1): 1=3(-2)+7(1) Multiply the entire equation by 5: 5=3(-10)+7(5) Integer Solution: x=-10,y=5 Assessment/Quiz Part I: Multiple Choice a. 7x + 14y = 20 c. 6 b. (6, 0) a. 5 12x + 16y = 6 36

REFERENCES 4-1-01 Number theory I-I. (n.d.). Scribd. https://www.scribd.com/document/849596679/4 1-01- Number-Theory-i-i Andreescu, T., Andrica, D., & Cucurezeanu, I. (2010). An Introduction to Diophantine Equations: A Problem-Based Approach. In Birkhäuser Boston eBooks (Vol. 2010, Issue 2010, pp. 1–99). https://doi.org/10.1007/978-0-8176-4549-6 Banate, M. (n.d.). Linear diophantine equations. slideshare.net. Retrieved November 27, 2026, from https://www.slideshare.net/slideshow/lineardiophantineequationspptx/257706048 Divisibility tests and prime factorization. (n.d.). Scribd. https://www.scribd.com/presentation/661273911/Divisibility-tests-Prime-Factorization Euclid. (c. 300 BCE / 1956). The Thirteen Books of Euclid's Elements, Book VII, Propositions 1–2 (T. L. Heath, Trans.). Dover Publications. https://archive.org/details/thirteenbooks Levin, O. (2021). Discrete Mathematics: An Open Introduction (3rd ed., Section 2.5: Induction). Available online at: https://discrete.openmathbooks.org/dmoi3/sec_seq- induction.html Math with Mr. J. (2021, January 27). What are prime numbers? [Video]. YouTube. https://youtu.be/5gBtzdM5M5k Mathigon. (n.d.). Prime numbers. https://mathigon.org/course/divisibility/primes OpenStax. (2023). 3.1 Prime and composite numbers. In Contemporary mathematics. Rice University. https://openstax.org/books/contemporary-mathematics/pages/3-1-prime-and- composite-numbers Professor Dave Explains. (2017, August 20). Divisibility, prime numbers, and prime factorization [Video]. YouTube. https://youtu.be/WZWKJG9fxnU Rosen, K. H. (2019). Discrete Mathematics and Its Applications (8th ed.). McGraw-Hill Education. https://faculty.ksu.edu.(pg. 271) 37

Bachelor of Secondary Education Major in MathematicsBachelor of Secondary Education Major in MathematicsTRECE MARTIRES CITY COLLEGETRECE MARTIRES CITY COLLEGE Academic Year 2026 - 2027Academic Year 2026 - 2027scan this code to access the online flipbook of this module scan this code to access the online flipbook of this module