00-08 β Basic Number Theory
Phase: 0 β Arithmetic & Number Foundations Subject: 00-08 Prerequisites: 00-01 β Whole Number Arithmetic, 00-02 β Fractions, 00-03 β Decimals, 00-04 β Percentages, 00-05 β Integers and Directed Numbers, 00-06 β Powers and Roots, 00-07 β Ratios, Rates, and Proportions Next subject: 01-01 β Algebraic Expressions
Learning Objectives
By the end of this subject, you will be able to:
- Apply divisibility rules for 2, 3, 4, 5, 6, 8, 9, 10, and 11 to quickly test whether one number divides another
- Perform modular arithmetic (clock arithmetic) and find remainders efficiently
- Use the Euclidean algorithm to compute the GCD of any two integers
- Compute LCM from GCD using the relationship LCM(a,b) Γ GCD(a,b) = |a Γ b|
- Test small numbers for primality using trial division up to βn and understand why this works
Core Content
1. What Is Number Theory?
Number theory is the study of the integers β their properties, relationships, and patterns. It's one of the oldest branches of mathematics, dating back to the ancient Greeks.
β οΈ THIS IS CRITICAL β Number theory is the foundation of modern cryptography (RSA encryption secures your online banking and messaging). Modular arithmetic, divisibility, and primality testing are essential building blocks for computer science, coding theory, and much of advanced mathematics.
In this subject, we build on concepts from Subject 00-01 (factors, multiples, primes, GCF, LCM) and extend them into more powerful tools.
2. Divisibility β Formal Definition
We say that an integer a divides an integer b (written a | b) if there exists an integer k such that:
b = a Γ k
In other words, b Γ· a gives an integer with NO remainder.
Examples: - 3 | 12 because 12 = 3 Γ 4 β - 5 | 35 because 35 = 5 Γ 7 β - 6 β€ 20 because 20 Γ· 6 = 3 remainder 2 (β€ means "does not divide") - 1 divides EVERY integer (since n = 1 Γ n) - Every non-zero integer divides 0 (since 0 = a Γ 0)
Key terminology: - a is a divisor (or factor) of b - b is a multiple of a
3. Divisibility Rules
Divisibility rules let you test whether one number divides another WITHOUT doing the full division. These are computational shortcuts.
Rule for 2: A number is divisible by 2 if its last digit is even (0, 2, 4, 6, 8).
Example: 3,746 ends in 6 (even) β divisible by 2 β Example: 8,953 ends in 3 (odd) β not divisible by 2 β
Why it works: Every number can be written as 10Γq + r where r is the last digit. Since 10 is divisible by 2, 10Γq is divisible by 2. So the whole number is divisible by 2 exactly when the last digit r is.
Rule for 3: A number is divisible by 3 if the sum of its digits is divisible by 3.
Example: 8,472 β 8+4+7+2 = 21 β 21 is divisible by 3 β 8,472 is divisible by 3 β Check: 8,472 Γ· 3 = 2,824 (no remainder)
Example: 5,281 β 5+2+8+1 = 16 β 16 is NOT divisible by 3 β 5,281 is not divisible by 3
Why it works (for 3-digit numbers): Any 3-digit number abc = 100a + 10b + c = 99a + a + 9b + b + c = (99a + 9b) + (a + b + c) = 9(11a + b) + (a + b + c)
Since 9(11a + b) is divisible by 3 (9 is a multiple of 3), the whole number is divisible by 3 exactly when (a + b + c) is divisible by 3.
For larger numbers, continue summing digits until you get a single digit or a recognizable multiple of 3.
Rule for 4: A number is divisible by 4 if its last two digits form a number divisible by 4.
Example: 7,324 β last two digits: 24 β 24 Γ· 4 = 6 β divisible by 4 β Example: 9,518 β last two digits: 18 β 18 Γ· 4 = 4.5 β not divisible by 4 β
Why it works: 100 = 4 Γ 25, so any multiple of 100 is divisible by 4. Only the last two digits matter.
Rule for 5: A number is divisible by 5 if its last digit is 0 or 5.
Example: 1,275 ends in 5 β divisible by 5 β Example: 8,290 ends in 0 β divisible by 5 β
Why it works: 10 and all multiples of 10 are divisible by 5. Only the last digit matters.
Rule for 6: A number is divisible by 6 if it is divisible by BOTH 2 AND 3.
Example: 1,782 β ends in 2 (divisible by 2 β), sum = 1+7+8+2 = 18 (divisible by 3 β) β divisible by 6 β
Why it works: If a number is divisible by both 2 and 3, and 2 and 3 are coprime (GCF = 1), then it is divisible by 2Γ3 = 6.
Rule for 8: A number is divisible by 8 if its last three digits form a number divisible by 8.
Example: 5,136 β last three digits: 136 β 136 Γ· 8 = 17 β divisible by 8 β
Why it works: 1000 = 8 Γ 125, so any multiple of 1000 is divisible by 8.
Rule for 9: A number is divisible by 9 if the sum of its digits is divisible by 9.
Example: 7,281 β 7+2+8+1 = 18 β 18 Γ· 9 = 2 β divisible by 9 β Check: 7,281 Γ· 9 = 809
Why it works: Same derivation as the rule for 3, but 9 divides 99, 999, etc., so only the digit sum matters.
Rule for 10: A number is divisible by 10 if its last digit is 0.
Example: 3,450 ends in 0 β divisible by 10 β
Rule for 11: Alternating sum of digits.
For a number, compute: (sum of digits in odd positions) β (sum of digits in even positions). If the result is divisible by 11 (including 0), the number is divisible by 11.
Example: 13,574 Odd positions (1st, 3rd, 5th from right): 4 + 5 + 1 = 10 Even positions (2nd, 4th): 7 + 3 = 10 10 β 10 = 0 β divisible by 11 β Check: 13,574 Γ· 11 = 1,234
Example: 9,482 Odd: 2 + 4 + 9 = 15 Even: 8 15 β 8 = 7 β not divisible by 11 β
4. Modular Arithmetic (Clock Arithmetic)
Modular arithmetic is the mathematics of remainders. Instead of thinking about numbers on a line, we think about them on a circle β like a clock.
The Basic Idea
When we say "a mod n", we mean "the remainder when a is divided by n."
17 mod 5 = 2 (because 17 = 3Γ5 + 2) 38 mod 12 = 2 (because 38 = 3Γ12 + 2)
On a 12-hour clock: 14:00 β 2:00. That's 14 mod 12 = 2. If it's 10:00 now, what time will it be in 7 hours? 10 + 7 = 17, 17 mod 12 = 5 β 5:00.
Congruence Notation
We write:
a β‘ b (mod n)
This means "a and b have the same remainder when divided by n" β equivalently, n divides (a β b).
Examples: - 17 β‘ 2 (mod 5) β both leave remainder 2 when divided by 5 - 38 β‘ 14 (mod 12) β both have remainder 2 (38β14 = 24, divisible by 12) - 7 β‘ 7 (mod 3) β the definition is reflexive; any number is congruent to itself - β3 β‘ 2 (mod 5) β because β3 = β1Γ5 + 2 β remainder 2
β οΈ THIS IS CRITICAL β In modular arithmetic, negative numbers wrap around too. β3 mod 5 = 2 because going 3 counterclockwise on a 5-hour clock from 0 lands at 2.
Addition, Subtraction, and Multiplication Mod n
The beauty of modular arithmetic: you can do operations on the remainders and get the same result.
Addition: (a mod n) + (b mod n) β‘ (a + b) mod n
Example: What is the last digit of 7 + 8? 7 + 8 = 15 β last digit 5 7 mod 10 = 7, 8 mod 10 = 8, (7 + 8) mod 10 = 15 mod 10 = 5 β
Multiplication: (a mod n) Γ (b mod n) β‘ (a Γ b) mod n
Example: What is the last digit of 7 Γ 8? 7 Γ 8 = 56 β last digit 6 7 mod 10 = 7, 8 mod 10 = 8, (7 Γ 8) mod 10 = 56 mod 10 = 6 β
Practical use: What is (3β΅ Γ 7Β³) mod 5?
Instead of computing 3β΅ Γ 7Β³ = 243 Γ 343 = 83,349 then dividing by 5, we reduce first: 3 mod 5 = 3 7 mod 5 = 2
3β΅ mod 5: 3Β² = 9 β‘ 4 (mod 5), 3Β³ β‘ 4Γ3 = 12 β‘ 2, 3β΄ β‘ 2Γ3 = 6 β‘ 1, 3β΅ β‘ 1Γ3 = 3 So 3β΅ mod 5 = 3
2Β³ mod 5 = 8 mod 5 = 3
3 Γ 3 = 9 β‘ 4 (mod 5)
So (3β΅ Γ 7Β³) mod 5 = 4 β (check: 243 Γ 343 = 83,349, 83,349 Γ· 5 = 16,669 remainder 4)
5. The Euclidean Algorithm for GCD
Recall from Subject 00-01: the GCD (greatest common divisor) can be found using prime factorization. But for large numbers, factorization is slow. The Euclidean algorithm is much faster.
The Key Insight
GCD(a, b) = GCD(b, a mod b)
If we divide a by b and get remainder r, then any divisor of both a and b also divides r, and any divisor of both b and r also divides a. So GCD(a,b) = GCD(b,r).
The Algorithm (Step by Step)
To find GCD(a, b) where a > b:
- Divide a by b: get quotient q and remainder r (a = qb + r, 0 β€ r < b)
- If r = 0, then GCD(a, b) = b
- If r β 0, set a = b, b = r, and repeat from step 1
Worked Example: GCD(48, 18)
$Step 1: 48 Γ· 18 = 2 remainder 12 β GCD(48, 18) = GCD(18, 12) Step 2: 18 Γ· 12 = 1 remainder 6 β GCD(18, 12) = GCD(12, 6) Step 3: 12 Γ· 6 = 2 remainder 0 β GCD(12, 6) = 6 $
Answer: GCD(48, 18) = 6
Check: 48 = 6 Γ 8, 18 = 6 Γ 3, GCF(8, 3) = 1 β
Another Example: GCD(252, 105)
$Step 1: 252 Γ· 105 = 2 remainder 42 Step 2: 105 Γ· 42 = 2 remainder 21 Step 3: 42 Γ· 21 = 2 remainder 0 $
Answer: GCD(252, 105) = 21
Check: 252 = 21 Γ 12, 105 = 21 Γ 5 β
The Euclidean Algorithm in Compact Form
$GCD(252, 105) β 252 = 2Γ105 + 42 GCD(105, 42) β 105 = 2Γ42 + 21 GCD(42, 21) β 42 = 2Γ21 + 0 GCD = 21 (the last non-zero remainder) $
6. LCM from GCD
Recall the fundamental relationship from 00-01:
GCD(a, b) Γ LCM(a, b) = a Γ b (for positive integers)
This means you can compute the LCM using the GCD:
LCM(a, b) = (a Γ b) Γ· GCD(a, b)
Example: LCM(48, 18)
First find GCD(48, 18) = 6 (from above) LCM = (48 Γ 18) Γ· 6 = 864 Γ· 6 = 144
Check using prime factorization: 48 = 2β΄ Γ 3, 18 = 2 Γ 3Β² LCM = 2β΄ Γ 3Β² = 16 Γ 9 = 144 β
Why this relationship holds:
Let a = GCD Γ a', b = GCD Γ b', where a' and b' are coprime (they share no common factors beyond 1). Then:
- GCD(a, b) = GCD
- LCM(a, b) = GCD Γ a' Γ b' (the product of all distinct prime powers)
- a Γ b = GCDΒ² Γ a' Γ b'
- GCD Γ LCM = GCDΒ² Γ a' Γ b' = a Γ b β
7. Primality Testing (Basic)
A prime number is an integer > 1 with exactly two positive divisors: 1 and itself. Testing whether a number is prime is fundamental to number theory and cryptography.
The Key Theorem
If n is composite (not prime), then n has a divisor d such that 2 β€ d β€ βn.
Why? If n = a Γ b and both a and b are greater than βn, then a Γ b > βn Γ βn = n, contradiction. So at least one factor is β€ βn.
β οΈ THIS IS CRITICAL β To test if n is prime, you only need to check divisors up to βn. This saves enormous work for large numbers.
Trial Division Algorithm
To test if n is prime:
- If n < 2, not prime
- If n = 2, prime (the only even prime)
- If n > 2 is even, not prime
- For odd d from 3 to βn, test if d divides n
- If no d divides n, then n is prime
Optimization: You only need to test PRIME divisors up to βn (since if a composite divides n, its prime factors do too).
Example: Is 97 prime?
β97 β 9.85, so we test primes β€ 9: 2, 3, 5, 7
- 97 Γ· 2: no (odd)
- 97 Γ· 3: 97 = 3Γ32 + 1 β remainder 1 β no
- 97 Γ· 5: ends in 7 β no
- 97 Γ· 7: 7Γ13 = 91, 7Γ14 = 98 β 97 between β no
No divisor found β 97 is prime β
Example: Is 221 prime?
β221 β 14.87, test primes β€ 13: 2, 3, 5, 7, 11, 13
- 2, 3, 5: no (quick checks)
- 7: 7Γ31 = 217, remainder 4 β no
- 11: 11Γ20 = 220, remainder 1 β no
- 13: 13Γ17 = 221 β yes!
So 221 = 13 Γ 17 is composite.
Common Primes Under 100
For primality testing, memorize these primes:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
Trick: For numbers under 100, you only ever need to check divisibility by 2, 3, 5, and 7. Why? Because β100 = 10, and the primes β€ 10 are 2, 3, 5, and 7.
8. Common Misconceptions
Misconception 1: "All odd numbers are prime." - Wrong! 9 = 3Γ3, 15 = 3Γ5, 21 = 3Γ7, 25 = 5Γ5 are all odd but composite.
Misconception 2: "If a number passes the divisibility test for 2 and 3, it's prime." - Wrong! Divisibility by 2 AND 3 means divisible by 6 β the OPPOSITE of being prime (except that 6 itself passes but 6 = 2Γ3 is composite).
Misconception 3: "Modular arithmetic is just remainders, nothing deeper." - Wrong! Modular arithmetic is a complete number system with rich structure. It's the foundation for group theory, cryptography, hashing, and error-correcting codes.
Misconception 4: "1 is prime." - Wrong! By definition, a prime must have exactly two distinct positive divisors. 1 has only one (itself). So 1 is neither prime nor composite.
Key Terms
- Divisibility rules
- Euclidean algorithm
- LCM is computed from GCD
- Modular arithmetic
- Number theory
- Primality testing by trial division
- The Euclidean algorithm
Worked Examples
Example 1: Applying Multiple Divisibility Rules
Problem: Which of these numbers are divisible by 6: 2,394, 5,672, 9,048, 7,215?
Solution:
A number is divisible by 6 if divisible by 2 AND 3.
2,394: ends in 4 (even β), digit sum = 2+3+9+4 = 18 (divisible by 3 β) β divisible by 6
5,672: ends in 2 (even β), digit sum = 5+6+7+2 = 20 (not divisible by 3 β) β not divisible by 6
9,048: ends in 8 (even β), digit sum = 9+0+4+8 = 21 (divisible by 3 β) β divisible by 6
7,215: ends in 5 (odd β) β not divisible by 6 (don't need to check 3)
Answer: 2,394 and 9,048 are divisible by 6.
Example 2: Euclidean Algorithm for Large Numbers
Problem: Find GCD(945, 651) using the Euclidean algorithm.
Solution:
$Step 1: 945 Γ· 651 = 1 remainder 294 Step 2: 651 Γ· 294 = 2 remainder 63 Step 3: 294 Γ· 63 = 4 remainder 42 Step 4: 63 Γ· 42 = 1 remainder 21 Step 5: 42 Γ· 21 = 2 remainder 0 $
GCD = 21 (the last non-zero remainder)
Answer: GCD(945, 651) = 21
Check using the LCM relationship: LCM = (945 Γ 651) Γ· 21 = 615,195 Γ· 21 = 29,295 Check: 29,295 Γ· 945 = 31, 29,295 Γ· 651 = 45 β
Example 3: Modular Arithmetic Computation
Problem: Find the last digit of 7^100 (7 to the power 100).
Solution:
"Last digit" means computing 7^100 mod 10.
Let's find the pattern of 7^n mod 10: 7ΒΉ mod 10 = 7 7Β² mod 10 = 49 mod 10 = 9 7Β³ mod 10 = 9 Γ 7 mod 10 = 63 mod 10 = 3 7β΄ mod 10 = 3 Γ 7 mod 10 = 21 mod 10 = 1 7β΅ mod 10 = 1 Γ 7 mod 10 = 7 β pattern repeats!
The pattern cycles every 4: 7, 9, 3, 1, 7, 9, 3, 1, ...
Now, 100 mod 4 = 0 (100 is divisible by 4). When the remainder is 0, we take the 4th element in the cycle: 1.
Answer: The last digit of 7^100 is 1.
Verification: 7β΄ = 2401 (ends in 1), 7βΈ = 2401Β² ends in 1 (since 1Γ1 = 1). 100 is a multiple of 4, so 7^100 ends in 1.
Example 4: Comprehensive Primality Test
Problem: Determine whether 323 is prime.
Solution:
β323 β 17.97. We need to test prime divisors up to 17: 2, 3, 5, 7, 11, 13, 17.
- 2: 323 is odd β no
- 3: 3+2+3 = 8, not divisible by 3 β no
- 5: doesn't end in 0 or 5 β no
- 7: 7Γ46 = 322, remainder 1 β no
- 11: alternating sum = 3β2+3 = 4, not divisible by 11 β no
- 13: 13Γ24 = 312, remainder 11 β no
- 17: 17Γ19 = 323 β yes!
So 323 = 17 Γ 19 is composite.
Answer: 323 is NOT prime.
Practice Problems
(Answers are below. Try each problem before checking.)
Problem 1: Test whether 1,728 is divisible by 3, 4, 8, and 9.
Problem 2: Find GCD(570, 741) using the Euclidean algorithm.
Problem 3: Find LCM(570, 741) using the GCD you found.
Problem 4: Compute 2^50 mod 7. (Hint: find the pattern of 2^n mod 7.)
Problem 5: Determine whether 149 is prime. Show your work.
Problem 6: What is (3^7 Γ 4^5) mod 5?
Problem 7: Find GCD(1001, 286) and then LCM(1001, 286).
Answers (click to expand)
**Problem 1:** - Divisible by 3? 1+7+2+8 = 18 β divisible by 3 β - Divisible by 4? Last two: 28 Γ· 4 = 7 β divisible by 4 β - Divisible by 8? Last three: 728 Γ· 8 = 91 β divisible by 8 β - Divisible by 9? 1+7+2+8 = 18 β divisible by 9 β **Problem 2:**$741 Γ· 570 = 1 rem 171 570 Γ· 171 = 3 rem 57 171 Γ· 57 = 3 rem 0 $GCD = **57** **Problem 3:** LCM = (570 Γ 741) Γ· 57 = 422,370 Γ· 57 = **7,410** **Problem 4:** 2ΒΉ = 2, 2Β² = 4, 2Β³ = 8 β‘ 1 (mod 7) 2β΄ β‘ 2, 2β΅ β‘ 4, 2βΆ β‘ 1 β cycle of 3: 2, 4, 1, ... 50 mod 3 = 2 β 2^50 β‘ 2Β² = **4 (mod 7)** **Problem 5:** β149 β 12.2. Test primes β€ 11: 2, 3, 5, 7, 11 - 2: odd β no - 3: 1+4+9=14, not div by 3 β no - 5: doesn't end in 0 or 5 β no - 7: 7Γ21=147, rem 2 β no - 11: 11Γ13=143, rem 6 β no No divisors found β **149 is PRIME** **Problem 6:** 3β· mod 5: 3, 9β‘4, 12β‘2, 6β‘1, 3, 4, 2 β position 7: 2 4β΅ mod 5: 4, 16β‘1, 4, 1, 4 β position 5: 4 2 Γ 4 = 8 β‘ **3 (mod 5)** **Problem 7:** GCD: 1001 Γ· 286 = 3 rem 143 286 Γ· 143 = 2 rem 0 GCD = **143** LCM = (1001 Γ 286) Γ· 143 = 286,286 Γ· 143 = **2,002**
Summary
- Divisibility rules let you quickly test whether a number divides another without full division: rules exist for 2, 3, 4, 5, 6, 8, 9, 10, and 11
- Modular arithmetic works with remainders: a mod n is the remainder when a is divided by n; operations on remainders give correct remainders of the full result
- The Euclidean algorithm computes GCD(a, b) efficiently by repeatedly replacing (a, b) with (b, a mod b) until the remainder is 0
- LCM is computed from GCD using LCM(a,b) = |aΓb| Γ· GCD(a,b) β οΈ β this relationship is fundamental
- Primality testing by trial division only requires checking prime divisors up to βn; the βn bound follows from the fact that any composite n has a factor β€ βn
Pitfalls
- Thinking 1 is prime. By definition a prime must have exactly two distinct positive divisors. 1 has only one (itself), so it is neither prime nor composite. This is one of the most frequently misremembered definitions.
- Testing all numbers up to n for primality instead of only up to βn. If n is composite, at least one factor is β€ βn. Checking every number up to 100 to test primality of 97 wastes enormous effortβyou only need to check primes up to β97 β 9.8 (2, 3, 5, 7).
- Confusing modular equality with regular equality. 17 β‘ 2 (mod 5) means 17 and 2 have the same remainder when divided by 5. It does NOT mean 17 = 2. The \"mod n\" part is essential context.
- Stopping the Euclidean algorithm too early. The GCD is the last non-zero remainder, not the first remainder or the quotient. Continue dividing until the remainder is exactly 0, then the GCD is the previous remainder.
- Assuming odd numbers are automatically prime. 9, 15, 21, 25, 27, and 33 are all odd but composite. Being odd only means a number is not divisible by 2; it says nothing about divisibility by 3, 5, 7, etc.
Quiz
Answer each question, then read the explanation for your choice.
Q1: Which divisibility rules confirm that 4,356 is divisible by 4?
A) The sum of its digits is divisible by 4 B) The last digit is divisible by 4 C) The last two digits form a number divisible by 4 D) The last three digits form a number divisible by 4
Answer and Explanations
**Correct: C)** The rule for 4: check the last TWO digits. 56 Γ· 4 = 14 β divisible. - A) Sum of digits = 4+3+5+6 = 18. 18 is NOT divisible by 4. The sum-of-digits rule works for 3 and 9, not 4. - B) Last digit = 6. 6 is NOT divisible by 4. The last digit rule works for 2, 5, and 10. - C) β Correct. Last two digits are 56, and 56 Γ· 4 = 14. - D) Last three = 356. 356 Γ· 4 = 89, so this would also work, but it's overkill β the rule for 8 uses last three digits. This answer isn't wrong in result but doesn't correctly state the standard rule for 4.Q2: What is 47 mod 12?
A) 3 B) 11 C) 4 D) 12
Answer and Explanations
**Correct: B) 11** 47 Γ· 12 = 3 remainder 11, so 47 mod 12 = 11. - A) 3: This is the quotient, not the remainder. 47 = 3Γ12 + 11. - B) 11: β Correct. - C) 4: 47 β 44 = 3, and you might have done 47 β 43 = 4 by mistake. - D) 12: The remainder when dividing by 12 must be between 0 and 11. 12 is impossible (it would mean the quotient should be one higher).Q3: Using the Euclidean algorithm, find GCD(56, 21).
A) 7 B) 14 C) 3 D) 28
Answer and Explanations
**Correct: A) 7** 56 Γ· 21 = 2 remainder 14 21 Γ· 14 = 1 remainder 7 14 Γ· 7 = 2 remainder 0 GCD = 7 - A) 7: β Correct. - B) 14: 14 divides 56 but does NOT divide 21 (21 Γ· 14 has remainder 7). - C) 3: 3 divides 21 but does NOT divide 56 (56 Γ· 3 has remainder 2). - D) 28: 28 divides 56 but does NOT divide 21.Q4: If GCD(84, 126) = 42, what is LCM(84, 126)?
A) 126 B) 168 C) 252 D) 210
Answer and Explanations
**Correct: C) 252** LCM = (84 Γ 126) Γ· 42 = 10,584 Γ· 42 = 252. - A) 126: 126 is one of the numbers, but 84 doesn't divide 126. - B) 168: 168 = 84 Γ 2 but 126 doesn't divide 168. - C) 252: β Correct. 252 Γ· 84 = 3, 252 Γ· 126 = 2. - D) 210: 210 = 84 + 126. The LCM is not the sum of the numbers.Q5: What is 2^10 mod 3?
A) 0 B) 1 C) 2 D) 3
Answer and Explanations
**Correct: B) 1** 2 mod 3 = 2 β‘ β1 (mod 3) 2^10 = (2Β²)β΅ = 4β΅ β‘ 1β΅ = 1 (mod 3) since 4 β‘ 1 (mod 3) Or: 2ΒΉβ° = 1024, 1024 Γ· 3 = 341 remainder 1. - A) 0: 1024 Γ· 3 has remainder 1, not 0. Only multiples of 3 give remainder 0. - B) 1: β Correct. - C) 2: 2 mod 3 = 2, but 2^10 mod 3 = 1, not 2. You may have assumed the remainder stays the same. - D) 3: Remainder when dividing by 3 must be 0, 1, or 2. 3 is impossible.Q6: Which of these numbers is prime?
A) 91 B) 117 C) 127 D) 143
Answer and Explanations
**Correct: C) 127** Test each number: - A) 91: 7 Γ 13 = 91. Composite. - B) 117: 1+1+7 = 9 β divisible by 9 (117 = 9 Γ 13). Composite. - C) 127: β Prime. β127 β 11.27. Test 2, 3, 5, 7, 11. 127 Γ· 7 = 18 rem 1, 127 Γ· 11 = 11 rem 6. No divisor works. - D) 143: 11 Γ 13 = 143. Composite.Q7: What is the last digit of 3^25?
A) 3 B) 9 C) 7 D) 1
Answer and Explanations
**Correct: A) 3** Pattern of 3^n mod 10: 3ΒΉ=3, 3Β²=9, 3Β³=7, 3β΄=1, 3β΅=3 β cycle: 3, 9, 7, 1 25 mod 4 = 1 β position 1 in cycle = 3 - A) 3: β Correct. 25 mod 4 = 1, and the first element in the cycle is 3. - B) 9: This would be 3Β² or position 2 in the cycle. - C) 7: This would be 3Β³ or position 3 in the cycle. - D) 1: This would be 3β΄ or position 4 (remainder 0) in the cycle.Q8: A number is divisible by 6 if and only if:
A) It is divisible by 2 B) It is divisible by 3 C) It is divisible by both 2 and 3 D) Its last digit is even and its digit sum is even
Answer and Explanations
**Correct: C)** Since 6 = 2 Γ 3 and 2 and 3 are coprime, divisibility by both implies divisibility by 6. - A) Insufficient. 4 is divisible by 2 but not 6. - B) Insufficient. 9 is divisible by 3 but not 6. - C) β Correct. Divisible by both 2 and 3 = divisible by 6 (because 2 and 3 are coprime). - D) Tricky but wrong. 14 has even last digit (4) and even digit sum (5 β odd, actually). Counterexample: 21 has even last digit? No, 1 is odd. How about 12: even last digit (2), digit sum = 3 (odd). 12 Γ· 6 = 2 β divisible by 6, but digit sum is odd. Better counterexample: 24 has even last digit (4) and digit sum = 6 (even). 24 Γ· 6 = 4 β. Actually the condition is sufficient for many but the proper condition uses "digit sum divisible by 3", not "even digit sum".Q9: How many prime divisors do you need to test to determine whether 101 is prime?
A) All numbers from 2 to 100 B) Primes up to β101 β 10 (2, 3, 5, 7) C) Primes up to 50 (half of 101) D) Only odd numbers up to 101
Answer and Explanations
**Correct: B)** If n is composite, it has a factor β€ βn. β101 β 10.05, so we only need to test primes β€ 10: 2, 3, 5, 7 (4 divisors). - A) Testing 2 through 100 is 99 divisions β completely unnecessary. - B) β Correct. The βn bound tells us to test only primes β€ 10. None divide 101, so 101 is prime. - C) Testing up to 50 is still far more than needed (and wrong β the bound is βn, not n/2). - D) Testing all odd numbers up to 101 is ~50 tests (many redundant, e.g., testing 9 when 3 already failed).Q10: Which statement about modular arithmetic is TRUE?
A) (a Γ b) mod n = (a mod n) + (b mod n) B) (a + b) mod n = ((a mod n) + (b mod n)) mod n C) a mod n is always less than a D) If a β‘ b (mod n), then a = b
Answer and Explanations
**Correct: B)** Addition in modular arithmetic: compute individual remainders, add them, then take mod n of the result. - A) Wrong operation. (a Γ b) mod n = ((a mod n) Γ (b mod n)) mod n, not addition. - B) β Correct. You can add the remainders, then take mod n of the sum. - C) Not always. If a < n (e.g., 3 mod 10 = 3), then a mod n = a. - D) Congruence means same remainder, not equality. 17 β‘ 2 (mod 5) but 17 β 2.Next Steps
Congratulations! You have completed Phase 0 β Arithmetic & Number Foundations.
Move on to Phase 1, Subject 01-01 β Algebraic Expressions to begin your study of algebra: variables, constants, substitution, like terms, expanding brackets, and factorising.
Q5: If GCD(a, b) = 6 and a Γ b = 216, what is LCM(a, b)?
A) 6 B) 12 C) 36 D) 72
Answer: C) 36
For any two numbers: GCD Γ LCM = a Γ b. So LCM = (a Γ b) Γ· GCD = 216 Γ· 6 = 36.