✦ VidyaVerseOpen in the book reader

Home › Books › Primary School Mathematics

Chapter 27: Operations On Integers

Primary School Mathematics · PART III — Integers & Rational Numbers · by GS Shashidhara

Read in the book reader – search and larger text

PART III — INTEGERS & RATIONAL NUMBERS

Multiplication, Division, BODMAS with Integers, Powers, and Properties

LEARNING OBJECTIVES

1. Multiply two integers using sign rules: same signs give positive, opposite signs give negative.

2. Extend multiplication to three or more integers.

3. Divide integers using sign rules consistent with multiplication.

4. Understand that division by zero is undefined.

5. Apply all four operations on integers using BODMAS order.

6. Find integer powers (including negative bases).

7. Identify and apply all properties: commutativity, associativity, distributivity.

8. Apply integers to real-life multi-operation problems.

9. Solve problems involving temperature changes, financial transactions, and patterns.

10. Solve olympiad-level problems on integer products, divisibility, and Diophantine equations.

27.1 Multiplication of Integers

The sign rules for multiplication follow naturally from the patterns of arithmetic. Understanding WHY these rules work is as important as knowing them.

Building the Rules from Patterns

BUILDING SIGN RULES FROM PATTERNS

START with known facts (positive × positive = positive):

3 × 4 = 12. (Three groups of 4 items.)

EXTEND to positive × negative:

3 × 4 = 12

3 × 3 = 9 (decreasing by 3 each time)

3 × 2 = 6

3 × 1 = 3

3 × 0 = 0

3 × (−1) = ? The pattern continues: 0 − 3 = −3.

3 × (−2) = −6. 3 × (−3) = −9.

POSITIVE × NEGATIVE = NEGATIVE.⇒

EXTEND to negative × negative:

(−3) × 4 = −12

(−3) × 3 = −9 (increasing by 3 each time)

(−3) × 2 = −6

(−3) × 1 = −3

(−3) × 0 = 0

(−3) × (−1) = ? Pattern: 0 + 3 = +3.

(−3) × (−2) = +6. (−3) × (−3) = +9.

NEGATIVE × NEGATIVE = POSITIVE.⇒

The Sign Grid for Multiplication and Division

× / ÷PositiveNegative
Positive+×+=➕+×−=➖
Negative−×+=➖−×−=➕
SIGN RULES: MULTIPLICATION AND DIVISION

THE FOUR SIGN RULES (same for both × and ÷):

(+) × (+) = (+) → Same signs → POSITIVE

(−) × (−) = (+) → Same signs → POSITIVE

(+) × (−) = (−) → Different signs → NEGATIVE

(−) × (+) = (−) → Different signs → NEGATIVE

MEMORY AID: "Two friends (same signs) are HAPPY (+). Two enemies (different signs) are SAD (−)."

EXAMPLES:

(+6) × (+4) = +24

(−6) × (−4) = +24 (negative × negative = positive)

(+6) × (−4) = −24

(−6) × (+4) = −24

MAGNITUDE: Always multiply the absolute values first, then apply the sign rule.

(−7) × (+8): magnitude = 7×8 = 56. Signs different → negative. Answer: −56.

27.2 Multiplying Three or More Integers — Counting Signs

When multiplying three or more integers, the sign of the product depends on the NUMBER OF NEGATIVE FACTORS.

MULTIPLE NEGATIVE FACTORS

RULE: Count the number of NEGATIVE factors.

ODD number of negatives → product is NEGATIVE.

EVEN number of negatives → product is POSITIVE.

WHY? Each pair of negatives cancels to give positive.

(−)×(−) = (+). If you have 2,4,6,... negatives: all pair up → positive.

If you have 1,3,5,... negatives: one is left unpaired → negative.

EXAMPLES:

(−2)×(−3)×(−4) = ?

3 negative factors (ODD) → NEGATIVE.

Magnitude: 2×3×4 = 24. Answer: −24.

(−2)×(−3)×(−4)×(−5) = ?

4 negative factors (EVEN) → POSITIVE.

Magnitude: 2×3×4×5 = 120. Answer: +120.

(+5)×(−2)×(−3)×(+4)×(−1) = ?

3 negative factors (ODD) → NEGATIVE.

Magnitude: 5×2×3×4×1 = 120. Answer: −120.

POWERS OF NEGATIVE NUMBERS:

(−n)^k is POSITIVE if k is EVEN.

(−n)^k is NEGATIVE if k is ODD.

(−2)^4 = +16. (−2)^5 = −32. (−3)^2 = +9. (−3)^3 = −27.

⚠ Common Mistake: (−3)^2 = +9, NOT −9. The square of any non-zero integer is ALWAYS

POSITIVE. But −3^2 = −(3^2) = −9 (here the − is NOT part of the base; it is applied after squaring). The bracket matters: (−3)^2 ≠ −3^2.

27.3 Division of Integers

Division of integers uses the SAME SIGN RULES as multiplication. Division is the inverse of multiplication.

DIVISION OF INTEGERS

SIGN RULES FOR DIVISION (same as multiplication):

(+) ÷ (+) = (+): (+24) ÷ (+6) = +4.

(−) ÷ (−) = (+): (−24) ÷ (−6) = +4.

(+) ÷ (−) = (−): (+24) ÷ (−6) = −4.

(−) ÷ (+) = (−): (−24) ÷ (+6) = −4.

DIVISION IS THE INVERSE OF MULTIPLICATION:

If a × b = c, then c ÷ a = b and c ÷ b = a.

(−6) × (+5) = −30 (−30) ÷ (−6) = +5 and (−30) ÷ (+5) = −6.⇒

DIVISION BY ZERO IS UNDEFINED:

a ÷ 0 is UNDEFINED for ALL integers a (including a=0).

Why? If 6 ÷ 0 = x, then 0 × x = 6. But 0 × x = 0 ≠ 6. Contradiction!

If 0 ÷ 0 = x, then 0 × x = 0. TRUE for ALL x. Not unique, hence undefined.

ZERO DIVIDED BY NON-ZERO:

0 ÷ a = 0 for any a ≠ 0. (Zero divided by anything non-zero = 0.)

0 ÷ (−7) = 0. 0 ÷ (+100) = 0.

INTEGER DIVISION vs EXACT DIVISION:

(−15) ÷ (+4) = −3 remainder 3 (not exact in integers).

For integers: a ÷ b is an integer only if b divides a exactly.

27.4 Properties of Integer Multiplication

PropertyStatementExampleNote
Closurea×b is always an integer−3×5=−15 (integer)Product of two integers is

always an integer

Commutativitya×b = b×a(−4)×5=5×(−4)=−20Order of multiplication

does not matter

Associativity(a×b)×c = a×(b×c)(2×(−3))×4=2×((−3)×4)=−2 Grouping does not matter

4

Identitya×1 = a(−7)×1=−71 is the multiplicative

identity

Zeroa×0 = 0(−5)×0=0Product with zero is

always zero

Distributivea×(b+c)=a×b+a×c(−3)×(4+(−2))=(−3)×4+ Distributes over addition
(−3)×(−2)=−12+6=−6and subtraction
Inversea×(−1) = −a7×(−1)=−7Multiplying by −1 gives

the additive inverse

Sign of power (−a)^n: + if n even, − if n odd (−2)^4=16; (−2)^5=−32Applies to all negative

bases

27.5 BODMAS / PEMDAS with Integers

The order of operations (BODMAS) applies to integers exactly as to whole numbers. Parentheses first, then indices (powers), then multiply/divide left-to-right, then add/subtract left-to-right.

BODMAS WITH INTEGERS

BODMAS ORDER:

B – Brackets (parentheses): innermost first.

O – Orders (indices/powers): left to right.

D – Division: left to right (same priority as M).

M – Multiplication: left to right (same priority as D).

A – Addition: left to right (same priority as S).

S – Subtraction: left to right (same priority as A).

EXAMPLE 1: 3 − 4 × (−2) + 6 ÷ (−3)

Step 1: Multiply and divide left to right.

4 × (−2) = −8. 6 ÷ (−3) = −2.

Step 2: Expression becomes: 3 − (−8) + (−2).

Step 3: Add/subtract left to right.

3 + 8 = 11. 11 + (−2) = 9.

ANSWER: 9.

EXAMPLE 2: (−2)^3 − 3 × [(−4) + 7] + 5

Step 1: Inner bracket: (−4)+7 = 3.

Step 2: Power: (−2)^3 = −8.

Step 3: Multiply: 3×3 = 9.

Step 4: Expression: −8 − 9 + 5 = −12.

ANSWER: −12.

27.6 Integer Patterns and Applications

Understanding integer multiplication leads to powerful patterns in arithmetic, algebra, and number theory.

PatternFormulaExampleApplication
Difference ofa²−b²=(a+b)(a−b)7²−2²=(7+2)Quick mental multiplication
squares(7−2)=9×5=45
Negative power(−a)^(2k)=a^(2k)(−3)^4=81=3^4Even powers always positive

pattern

Sign alternation(−a)^n alternates sign(−2)^n: +4,−8,+16,...Alternating sequences
Multiplicationa×(−16)=−(a×16)13×(−16)=−208Compute magnitude then
shortcutsnegate
Integer squaresn^2=(n−1)^2+2n−17^2=6^2+2×7−1=36+13= Building squares iteratively

49

Product ofn(n+1) always even7×8=56; (−5)(−4)=202 always divides n(n+1)

consecutive

Sum-product pattern(a+b)(a−b)=a²−b²(−3+7)Verify factoring

(−3−7)=4×(−10)=−40 or

(−3)^2−7^2=9−49=−40

27.7 Integer Operations in Real Life

SituationOperationCalculationAnswer
Temperature falls 3°C/hour Multiply: 5×(−3)= −15°C change−15°C drop total

for 5 hours

Lift goes down 4 floors, 6 Multiply: 6×(−4)= −24 floors−24 floors from start

times

Loss of Rs.250 per day for 8 Multiply: 8×(−250)= −2000Total loss Rs.2000

days

Divide loss of Rs.3600Divide: −3600÷9= −400Each loses Rs.400

among 9 partners

Undo 4-degree daily fallMultiply:Gain of 12°CBack to start
over 3 days3×(−4)=−12.

Reverse:

−12÷(−1)=+12

SENSEX fell 200 pts daily 5×(−200)=−1000 Net change −1000 ptsFell 1000 points

for 5 days

WORKED EXAMPLES

Section A: Easy Problems — Foundation Level (Classes 6–7)

Problem 1: Multiply: (a) (−7)×(+8) (b) (−9)×(−6) (c) (+12)×(∑5) (d) (−4)×(−3)×(−2) (e) (−2)×(−3)×(+4)×(−1)

✔ Solution

(a) (−7)×(+8): Different signs → NEGATIVE. 7×8=56. Answer: −56.

(b) (−9)×(−6): Same signs (both −) → POSITIVE. 9×6=54. Answer: +54.

(c) (+12)×(−15): Different signs → NEGATIVE. 12×15=180. Answer: −180.

(d) (−4)×(−3)×(−2): Count negatives = 3 (ODD) → NEGATIVE.

Magnitude: 4×3×2=24. Answer: −24.

(e) (−2)×(−3)×(+4)×(−1): Count negatives = 3 (ODD) → NEGATIVE.

Magnitude: 2×3×4×1=24. Answer: −24.

VERIFY (d): (−4)×(−3)=+12. +12×(−2)=−24. ✓

VERIFY (e): (−2)×(−3)=+6. +6×(+4)=+24. +24×(−1)=−24. ✓

ANSWERS: (a)−56 (b)+54 (c)−180 (d)−24 (e)−24

Problem 2: Divide: (a) (−48)÷(+8) (b) (+63)÷(−9) (c) (−72)÷(−8) (d) 0÷(−15) (e) Find x: (−36)÷x=+4

✔ Solution

(a) (−48)÷(+8): Different signs → NEGATIVE. 48÷8=6. Answer: −6.

(b) (+63)÷(−9): Different signs → NEGATIVE. 63÷9=7. Answer: −7.

(c) (−72)÷(−8): Same signs (both −) → POSITIVE. 72÷8=9. Answer: +9.

(d) 0÷(−15): Zero divided by any non-zero = 0. Answer: 0.

(e) (−36)÷x = +4:

x = (−36)÷(+4) = −9.

VERIFY: (−36)÷(−9) = +4. (Same signs → positive.) ✓

Answer: x = −9.

ANSWERS: (a)−6 (b)−7 (c)+9 (d)0 (e)x=−9

Problem 3: Evaluate powers of negative integers: (a) (−2)^5 (b) (−3)^4 (c) (−1)^{100} (d) (−1)^{101} (e) (−5)^3 − (−2)^4

✔ Solution

(a) (−2)^5: ODD power → NEGATIVE. 2^5=32. Answer: −32.

(b) (−3)^4: EVEN power → POSITIVE. 3^4=81. Answer: +81.

(c) (−1)^{100}: EVEN power → POSITIVE. 1^{100}=1. Answer: +1.

(d) (−1)^{101}: ODD power → NEGATIVE. 1^{101}=1. Answer: −1.

(e) (−5)^3 − (−2)^4:

(−5)^3 = −125 (odd power, negative).

(−2)^4 = +16 (even power, positive).

−125 − 16 = −141.

Answer: −141.

MEMORY: (−1)^n = +1 if n even; = −1 if n odd.

This pattern (alternating +1 and −1) appears everywhere in maths!

ANSWERS: (a)−32 (b)+81 (c)+1 (d)−1 (e)−141

Problem 4: Apply BODMAS to evaluate: (a) (−3) × 4 + 6 ÷ (−2) − 5 (b) [(−2)^3 + 4] × (−3) ÷ 6 (c) 24 ÷ (−3) + 7 × (−2) − (−1)^{10}

✔ Solution

(a) (−3)×4 + 6÷(−2) − 5:

Step 1 (M and D): (−3)×4=−12. 6÷(−2)=−3.

Step 2 (A and S): −12 + (−3) − 5 = −12−3−5 = −20.

ANSWER: −20.

(b) [(−2)^3 + 4] × (−3) ÷ 6:

Step 1 (power inside bracket): (−2)^3 = −8.

Step 2 (bracket): [−8 + 4] = [−4] = −4.

Step 3 (M then D, left to right): (−4)×(−3)=+12. 12÷6=2.

ANSWER: +2.

(c) 24÷(−3) + 7×(−2) − (−1)^{10}:

Step 1 (power): (−1)^{10}=+1.

Step 2 (D and M): 24÷(−3)=−8. 7×(−2)=−14.

Step 3 (A and S): −8+(−14)−(+1) = −8−14−1 = −23.

ANSWER: −23.

ANSWERS: (a)−20 (b)+2 (c)−23

Problem 5: Distributive property: Use a×(b+c)=a×b+a×c to simplify: (a) (−5)×(7+3) (b) (−3)×(x−4) where x=−2 (c) (−4)×8+(−4)×(−3)

✔ Solution

(a) (−5)×(7+3):

Direct: (7+3)=10. (−5)×10=−50.

Using distributive: (−5)×7+(−5)×3 = −35+(−15) = −50. ✓

ANSWER: −50.

(b) (−3)×(x−4) where x=−2:

Expand first: (−3)×x + (−3)×(−4) = −3x + 12.

Substitute x=−2: −3×(−2)+12 = +6+12 = 18.

Direct check: (−3)×(−2−4) = (−3)×(−6) = +18. ✓

ANSWER: 18.

(c) (−4)×8 + (−4)×(−3):

Factor out (−4): (−4)×[8+(−3)] = (−4)×5 = −20.

Direct: −32 + 12 = −20. ✓

ANSWER: −20.

ANSWERS: (a)−50 (b)18 (c)−20

Problem 6: SENSEX problem: The SENSEX had the following daily changes over 7 days: +320, −180, −230, +150, +420, −350, −175. Find: (a) total change, (b) average daily change, (c)

net change if each value was DOUBLED.

✔ Solution

(a) Total change = 320+(−180)+(−230)+150+420+(−350)+(−175).

Positives: 320+150+420 = 890.

Negatives: 180+230+350+175 = 935.

Total = 890+(−935) = −45.

SENSEX fell 45 points over the week.

(b) Average daily change = −45 ÷ 7 = −6.43 points/day (approx).

Exact: −45/7 = −6³3⁄₇ points per day.

(c) If each daily change is DOUBLED:

Method 1: Double the total = 2×(−45) = −90.

Method 2: Each change doubled, so total doubles. ✓

Alternatively (distributive): 2×320+2×(−180)+… = 2×(total) = 2×(−45) = −90.

ANSWER: (a) Net change = −45 points. (b) Average = −6.43 pts/day. (c) Net = −90 points.

Section B: Medium Problems — CBSE/NCERT Standard (Classes 7–8)

Problem 7: Prove using integers: For any integer a, a×(−1) = −a. Then prove: (−a)×(−b) = a×b.

✔ Solution

PROOF 1: a×(−1) = −a.

We know: a×1 = a (multiplicative identity).

We know: a×0 = 0 (zero product).

Write: 1 + (−1) = 0.

Multiply both sides by a: a×[1+(−1)] = a×0 = 0.

Distribute: a×1 + a×(−1) = 0.

a + a×(−1) = 0.

So a×(−1) = −a. (It is the additive inverse of a.) QED.

PROOF 2: (−a)×(−b) = a×b.

From Proof 1: −a = a×(−1) and −b = b×(−1).

(−a)×(−b) = [a×(−1)]×[b×(−1)].

= a×b×(−1)×(−1) [by associativity and commutativity].

= a×b×(−1)².

= a×b×(+1) [since (−1)^2=+1].

= a×b. QED.

This is the RIGOROUS proof that "negative times negative is positive."

It follows from the distributive law and the definition of additive inverse,

not from any arbitrary rule!

NUMERICAL VERIFICATION:

a=5, b=3: (−5)×(−3) = 5×3 = 15. ✓

a=2, b=7: (−2)×(−7) = 2×7 = 14. ✓

ANSWER: Proved rigorously using distributive law and additive inverse definition.

Problem 8: Temperature pattern: A mountain spring starts at +15°C. Temperature drops 4°C every hour for 6 hours. Then rises 2°C every hour for 8 hours. Find the final temperature. Find when temperature first fell below 0°C.

✔ Solution

Phase 1: Drop 4°C/hour for 6 hours.

Change = 6 × (−4) = −24°C.

Temperature after 6 hours = 15 + (−24) = −9°C.

Phase 2: Rise 2°C/hour for 8 hours.

Change = 8 × (+2) = +16°C.

Final temperature = −9 + 16 = +7°C.

WHEN DOES TEMPERATURE FIRST FALL BELOW 0°C?

Starting at +15, dropping 4°C/hour.

After h hours: temperature = 15 + h×(−4) = 15 − 4h.

Below 0 when: 15 − 4h < 0.

4h > 15. h > 3.75.

First WHOLE hour where temp < 0: h = 4.

At h=4: 15−16 = −1°C. Below 0! ✓

At h=3: 15−12 = +3°C. Still above 0.

EXACT CROSSING: 15−4h=0 when h=3.75 hours (3 hours 45 minutes).

ANSWER: Final temperature = +7°C.

Temperature first falls below 0 after 3 hours 45 minutes (at hour 4 it is −1°C).

Problem 9: Simplify using integer properties: (a) (−10)×(−9)×(−8)×(−7)×(−6) — find sign only

(b) (−1)^{2025} + (−1)^{2026} + (−1)^{2027} (c) Evaluate: 8×[(−4)^2 − 3×(−5)] ÷ [(−2)^3 + 12]

✔ Solution

(a) (−10)×(−9)×(−8)×(−7)×(−6):

Count negative factors: 5 (ODD). Sign: NEGATIVE.

Magnitude: 10×9×8×7×6 = 30,240.

ANSWER: −30,240.

(b) (−1)^{2025} + (−1)^{2026} + (−1)^{2027}:

2025 is ODD: (−1)^{2025} = −1.

2026 is EVEN: (−1)^{2026} = +1.

2027 is ODD: (−1)^{2027} = −1.

Sum = −1 + 1 + (−1) = −1.

ANSWER: −1.

(c) 8×[(−4)^2 − 3×(−5)] ÷ [(−2)^3 + 12]:

Inner brackets:

(−4)^2 = +16. 3×(−5) = −15. 16−(−15) = 16+15 = 31.

(−2)^3 = −8. −8+12 = +4.

Expression: 8×31 ÷ 4.

= 248 ÷ 4 = 62.

ANSWER: +62.

ANSWERS: (a)−30,240 (b)−1 (c)+62

Problem 10: Integer multiplication identity: prove that for any integer a: a×0=0, and use this to show 0×(−3+3)=0 two different ways, verifying distributivity.

✔ Solution

PROOF: a × 0 = 0 for any integer a.

a × 0 = a × (1 + (−1)) [since 1+(−1)=0]

= a×1 + a×(−1) [distributive law]

= a + (−a) [identity and Proof from Problem 7]

= 0. QED.

VERIFY 0×(−3+3)=0 TWO WAYS:

WAY 1 (bracket first):

−3+3=0. 0×0=0. DONE.

WAY 2 (distributive first):

0×(−3) + 0×3 = 0 + 0 = 0. DONE.

Both give 0. Distributivity is verified: multiplying by 0 distributes over addition.

ANOTHER EXAMPLE: 5×((−7)+7):

Way 1: 5×0=0.

Way 2: 5×(−7)+5×7=−35+35=0.

Both give 0. ✓

ANSWER: a×0=0 proved using distributive law. Verification confirms distributivity.

Problem 11: Find all integer solutions to: a × b = a + b. (Hint: rearrange and factor as in Chapter 26 Olympiad problem O-2.)

✔ Solution

EQUATION: a×b = a+b.

Rearrange: ab − a − b + 1 = 1.

(ab−a) − (b−1) = 1.

a(b−1) − (b−1) = 1.

(a−1)(b−1) = 1.

Since a,b are integers: (a−1) and (b−1) are integers with product 1.

Integer factorisations of 1:

Case 1: (a−1)=+1 and (b−1)=+1. So a=2, b=2.

Case 2: (a−1)=−1 and (b−1)=−1. So a=0, b=0.

ONLY TWO SOLUTIONS: (a,b)=(2,2) or (a,b)=(0,0).

VERIFY:

(2,2): 2×2=4=2+2=4. ✓

(0,0): 0×0=0=0+0=0. ✓

EXTENSION: This result is symmetric — if (a,b) is a solution, so is (b,a).

Since both solutions have a=b, this is consistent.

ANSWER: (a,b) = (0,0) or (2,2). Exactly two integer solutions.

Problem 12: Integer multiplication chain: Find the product of all integers from −5 to +5 (inclusive). Then find the product of all non-zero integers from −5 to +5.

✔ Solution

PRODUCT OF ALL INTEGERS FROM −5 TO +5:

Integers: −5, −4, −3, −2, −1, 0, +1, +2, +3, +4, +5.

The list includes 0!

Since 0 is one of the factors: PRODUCT = 0.

(Any product containing 0 equals 0.)

PRODUCT OF ALL NON-ZERO INTEGERS FROM −5 TO +5:

Integers: −5, −4, −3, −2, −1, +1, +2, +3, +4, +5.

10 integers. Count negatives: 5 (which is ODD). Sign: NEGATIVE.

Magnitudes: 5×4×3×2×1×1×2×3×4×5 = (5!)^2 = 120^2 = 14,400.

Total magnitude = 120×120 = 14,400.

Sign: ODD number of negatives → NEGATIVE.

Product = −14,400.

VERIFY: Notice that (−n)×(+n) = −n^2 for each pair.

Pairs: (−1)(+1)=−1; (−2)(+2)=−4; (−3)(+3)=−9; (−4)(+4)=−16; (−5)(+5)=−25.

Product = (−1)(−4)(−9)(−16)(−25).

= (−1)^5 × (1×4×9×16×25) = −1 × 14400 = −14400. ✓

ANSWER: Product of −5 to +5 (inclusive) = 0.

Product of non-zero integers from −5 to +5 = −14,400.

Section C: Hard / Challenge Problems — ICSE & Olympiad Level

Challenge Problem 13: Prove: For any integers a, b, and c, if a×b = a×c and a ≠ 0, then b = c (cancellation law). Does this work for a = 0?

✔ Solution

PROOF: Cancellation law for integer multiplication.

Given: a×b = a×c, a ≠ 0.

Want to show: b = c.

a×b = a×c

a×b − a×c = 0

a×(b−c) = 0 [distributive law]

Since a×(b−c)=0 and a≠0:

In the integers, ab=0 implies a=0 OR b=0. (Zero product property.)

Since a≠0, we must have (b−c)=0.

Therefore b = c. QED.

ZERO PRODUCT PROPERTY (needed above): If a×b=0 then a=0 or b=0.

Note: in some number systems this fails (in arithmetic modulo 6, 2 × 3 = 0), but it holds in :ℤ But in (integers): if ab=0 and a≠0, then |a|≥1.ℤ

|a×b|=|a|×|b|=0 |b|=0 b=0. QED.⇒⇒

DOES IT WORK FOR a=0?

If a=0: 0×b=0=0×c for ALL b and c.

So 0×b=0×c does NOT imply b=c!

Example: 0×2=0×7 (both =0), but 2≠7.

Cancellation FAILS when a=0.

ANSWER: Cancellation law holds for a≠0, proved via zero product property.

Fails for a=0 (any b and c satisfy the equation).

Challenge Problem 14: Prove: The square of any odd integer is of the form 8k+1. Verify for the first 5 odd integers (positive and negative).

✔ Solution

Any odd integer can be written as 2m+1 for some integer m.

COMPUTE (2m+1)^2:

(2m+1)^2 = 4m^2 + 4m + 1

= 4m(m+1) + 1.

Now, m(m+1) is the product of two consecutive integers.

Therefore m(m+1) is EVEN: m(m+1) = 2k for some integer k.

(2m+1)^2 = 4×(2k) + 1 = 8k + 1. QED.

VERIFICATION for first 5 odd positive integers:

1^2 = 1 = 8×0+1 (k=0). ✓

3^2 = 9 = 8×1+1 (k=1). ✓

5^2 = 25 = 8×3+1 (k=3). ✓

7^2 = 49 = 8×6+1 (k=6). ✓

9^2 = 81 = 8×10+1 (k=10). ✓

VERIFICATION for first 5 ODD NEGATIVE integers:

(−1)^2=1=8×0+1. ✓

(−3)^2=9=8×1+1. ✓

(−5)^2=25=8×3+1. ✓

(−7)^2=49=8×6+1. ✓

(−9)^2=81=8×10+1. ✓

NOTE: Same result for negative odd integers because (−n)^2 = n^2.

ANSWER: (2m+1)^2=8k+1 proved. All odd squares leave remainder 1 when divided by 8.

Challenge Problem 15: Find all integers a, b such that a² − b² = 45. Use the factorisation a²−b² = (a+b)(a−b). How many pairs are there?

✔ Solution

(a+b)(a−b) = 45.

Let p = a+b and q = a−b. Then p×q=45.

Also: a=(p+q)/2 and b=(p−q)/2.

For a,b to be integers: p+q must be even, so p and q have the same parity (both even or both odd). Factor pairs of 45 (p,q) with p×q=45 and same parity:

45 = 1×45 = 3×15 = 5×9 = 9×5 = 15×3 = 45×1

Also negative: (−1)×(−45) = (−3)×(−15) etc.

Check parity (same odd/even):

(p,q)=(1,45): both odd. a=(1+45)/2=23, b=(1−45)/2=−22.✓

(p,q)=(45,1): both odd. a=(45+1)/2=23, b=(45−1)/2=22.✓

(p,q)=(3,15): both odd. a=(3+15)/2=9, b=(3−15)/2=−6.✓

(p,q)=(15,3): both odd. a=(15+3)/2=9, b=(15−3)/2=6.✓

(p,q)=(5,9): both odd. a=(5+9)/2=7, b=(5−9)/2=−2.✓

(p,q)=(9,5): both odd. a=(9+5)/2=7, b=(9−5)/2=2.✓

(p,q)=(−1,−45): both odd. a=−23, b=22.✓

(p,q)=(−45,−1): both odd. a=−23, b=−22.✓

(p,q)=(−3,−15): both odd. a=−9, b=6.✓

(p,q)=(−15,−3): both odd. a=−9, b=−6.✓

(p,q)=(−5,−9): both odd. a=−7, b=2.✓

(p,q)=(−9,−5): both odd. a=−7, b=−2.✓

DISTINCT (a,b) PAIRS:

(±23,−22), (±23,+22), (±9,−6), (±9,+6), (±7,−2), (±7,+2).

Total: 12 pairs.

ANSWER: 12 integer pairs (a,b) satisfy a²−b²=45.

VERIFY: 23²−22²=529−484=45. 9²−6²=81−36=45. 7²−2²=49−4=45. All ✓

Challenge Problem 16: Integer sequences: Define a_n = (−1)^n × n^2. Find the sum Σ_{n=1}^{10} a_n. Identify the pattern.

✔ Solution

a_n = (−1)^n × n^2.

COMPUTE FIRST 10 TERMS:

a_1 = (−1)^1 × 1^2 = −1.

a_2 = (−1)^2 × 2^2 = +4.

a_3 = (−1)^3 × 3^2 = −9.

a_4 = (−1)^4 × 4^2 = +16.

a_5 = (−1)^5 × 5^2 = −25.

a_6 = (−1)^6 × 6^2 = +36.

a_7 = (−1)^7 × 7^2 = −49.

a_8 = (−1)^8 × 8^2 = +64.

a_9 = (−1)^9 × 9^2 = −81.

a_10 = (−1)^{10} × 10^2 = +100.

SEQUENCE: −1, +4, −9, +16, −25, +36, −49, +64, −81, +100.

SUM = −1+4−9+16−25+36−49+64−81+100.

GROUP IN PAIRS (each pair a_{2k-1}+a_{2k}):

(−1+4) + (−9+16) + (−25+36) + (−49+64) + (−81+100)

= 3 + 7 + 11 + 15 + 19.

PATTERN in pairs: 3, 7, 11, 15, 19 (arithmetic, diff=4).

k-th pair: a_{2k-1}+a_{2k} = (−1)^{2k-1}(2k−1)^2 + (−1)^{2k}(2k)^2

= −(2k−1)^2 + (2k)^2 = (2k)^2−(2k−1)^2

= (2k+2k−1)(2k−2k+1) = (4k−1)(1) = 4k−1.

So 5 pairs, k=1,...,5: sum = Σ(4k−1) = 4×(1+2+3+4+5)−5 = 4×15−5 = 60−5 = 55.

ANSWER: Σ_{n=1}^{10} a_n = 55.

PATTERN: Each pair (odd,even) sums to 4k−1: 3,7,11,15,19.

General: Σ_{n=1}^{2N} a_n = N(2N+1). For N=5: 5×11=55. ✓

OLYMPIAD CORNER

Competition-level problems for IMO, SOF-IMO, IAIS, and National Mathematics Olympiad.

Olympiad Problem O-1: Find all integer pairs (a, b) with a ≠ 0 such that a divides b and b divides a. What can you conclude?

✔ Solution

SETUP: a|b means b=k×a for some integer k. b|a means a=m×b for some integer m.

COMBINE: b=ka and a=mb.

Substitute: b = k×(mb) = kmb.

Since b≠0 (otherwise a=m×0=0, contradicting a≠0):

km = 1.

Since k,m are integers and km=1: either k=m=1 or k=m=−1.

CASE k=m=1: b=a and a=b. So a=b.

Any pair (a,a) for a≠0 satisfies the condition.

CASE k=m=−1: b=−a and a=−b. So b=−a.

Any pair (a,−a) for a≠0 satisfies the condition.

CONCLUSION: If a|b and b|a (with a≠0,b≠0), then b=a or b=−a.

i.e., |a|=|b|.

In standard mathematical notation: a|b AND b|a ⇔ |a|=|b| (for nonzero integers).

EXAMPLE: a=3. Then b=3 or b=−3.

3|3 (3=1×3) and 3|3. ✓

3|(−3) (−3=(−1)×3) and (−3)|3 (3=(−1)×(−3)). ✓

ANSWER: b=±a. All solutions: (a,b) with |a|=|b| and both nonzero.

Olympiad Problem O-2: Prove: For any integer n, the expression n^3 − n is divisible by 6. Extend: n^5 − n is divisible by 30.

✔ Solution

PROOF that 6 | n^3 − n:

n^3 − n = n(n^2−1) = n(n−1)(n+1) = (n−1)×n×(n+1).

This is the product of THREE consecutive integers.

From Chapter 26 (Problem O-3): product of 3 consecutive integers is divisible by 6.

Therefore 6 | n^3−n. QED.

VERIFY: n=4: 4^3−4=60=6×10. n=−3: (−3)^3−(−3)=−27+3=−24=6×(−4). ✓✓

PROOF that 30 | n^5 − n:

n^5−n = n(n^4−1) = n(n^2−1)(n^2+1) = n(n−1)(n+1)(n^2+1).

We show 30=2×3×5 divides n^5−n.

Divisible by 2: Among n, n−1, n+1, one is even. So 2|product. ✓

Divisible by 3: Among n−1, n, n+1, one is divisible by 3. ✓

Divisible by 5: Among 5 consecutive integers n−2,...,n+2, one is divisible by 5.

But n^5−n = n(n−1)(n+1)(n+2)(n−2)+... not quite.

Better: use Fermat's Little Theorem: n^5 ≡ n (mod 5) for all n.

So 5|(n^5−n). ✓

Since gcd(2,3,5)=1 pairwise: 2×3×5=30 divides n^5−n. QED.

VERIFY: n=2: 2^5−2=30. 30/30=1. n=3: 3^5−3=240=30×8. ✓✓

ANSWER: Proved. 6|(n^3−n) and 30|(n^5−n) for all integers n.

Olympiad Problem O-3: Determine the last digit of (−7)^{2025} + (−3)^{2025}. (Hint: focus on patterns of last digits in powers.)

✔ Solution

FIND LAST DIGIT OF (−7)^{2025}:

(−7)^{2025} = −(7^{2025}) since 2025 is ODD.

Last digits of powers of 7: 7^1=7, 7^2=49, 7^3=343, 7^4=2401, 7^5=16807.

Cycle of last digits: 7, 9, 3, 1, 7, 9, 3, 1, ... (period 4).

2025 mod 4 = 1 (since 2025=4×506+1).

7^{2025} has last digit 7 (same as 7^1).

(−7)^{2025} = −(7^{2025}) has last digit −7.

In modular terms: last digit of (−7)^{2025} ≡ −7 ≡ 3 (mod 10).

(Since −7 mod 10 = 10−7 = 3.)

FIND LAST DIGIT OF (−3)^{2025}:

(−3)^{2025} = −(3^{2025}) since 2025 is ODD.

Last digits of powers of 3: 3, 9, 7, 1, 3, 9, 7, 1, ... (period 4).

2025 mod 4 = 1.

3^{2025} has last digit 3.

(−3)^{2025} has last digit −3 ≡ 7 (mod 10).

SUM: Last digit of (−7)^{2025}+(−3)^{2025}:

Last digit 3 + last digit 7 = 10 ≡ 0 (mod 10).

The sum's last digit is 0.

VERIFY SIGN: Both are negative (odd power of negative). Sum is negative with last digit 0.

(−7)^{2025}+(−3)^{2025} = negative number ending in 0.

ANSWER: The last digit of (−7)^{2025}+(−3)^{2025} is 0.

BRAIN TEASERS

Brain Teaser 1

A submarine descends 30 m per minute for 8 minutes, then ascends 20 m per minute for 5

minutes. What is its final depth? Express using integer multiplication.

Answer: Descent: 8×(−30)=−240 m (below surface). Ascent: 5×(+20)=+100 m. Final depth:

−240+100=−140 m (140 m below surface). Using multiplication: final

depth=8×(−30)+5×(+20)=−240+100=−140 m.

Brain Teaser 2

What is (−1+1)×(−2+2)×(−3+3)×…×(−100+100)? Note the pattern before computing!

Answer: Each factor is n+(−n)=0. So every factor in the product equals 0! Product=0^100=0. Once a factor is 0, the entire product is 0, no matter what the other factors are. This is a great example of the zero- product property!

Brain Teaser 3

If a×b=−48 and a−b=2, find all integer solutions. Then find a²+b².

Answer: a−b=2, so a=b+2. (b+2)×b=−48. b^2+2b+48=0. Discriminant=4−192=−188<0. No real solutions! The system has no integer solutions. Check: for ab=−48 and a−b=2: no integer pairs (a,b) with a−b=2 have product −48. Pairs with ab=−48 include (6,−8) [diff=14], (8,−6) [diff=14]... (−6,8) [diff=−14]. None have difference 2.

Brain Teaser 4

In a quiz: +3 for correct, −1 for wrong, −0.5 for not attempted (yes, fractions!). Arjun attempts 20 out of 30. He gets 14 correct and 6 wrong. Find his score. If all 30 were attempted with 70%

accuracy, who scores higher?

Answer: Arjun: 14×3+6×(−1)+10×(−0.5)=42−6−5=31. All 30 attempted at 70%: 21 correct, 9 wrong. Score=21×3+9×(−1)=63−9=54. Attempting all (strategy 2) gives 54>31 (Arjun's score). Better to attempt all if accuracy is above 70%.

Brain Teaser 5

Prove: If you multiply any integer by 9, the digits of the result always sum to a multiple of 9.

Test with 9×(−13) and 9×(−57).

Answer: 9×(−13)=−117. Digit sum of 117: 1+1+7=9. Divisible by 9. 9×(−57)=−513. Digit sum of 513: ✓ 5+1+3=9. Divisible by 9. Proof: Any multiple of 9 equals 9k for integer k. Since 9|9k, and divisibility by ✓ 9 is equivalent to digit sum divisible by 9 (standard divisibility rule, proved using 10≡1 (mod 9)), the result follows.

DID YOU KNOW?

THE RULES "NEGATIVE TIMES NEGATIVE = POSITIVE" puzzled European

mathematicians

for centuries. Even Euler (1707–1783) found it difficult to justify intuitively.

The rigorous proof (using distributive law and additive inverse) was formalised

only in the 19th century by the axiomatic foundations of mathematics.

BRAHMAGUPTA (628 AD) stated the sign rules for multiplication and division of

"dhana" (positive) and "rina" (negative) numbers in verse form in Sanskrit.

He was the first to give complete, systematic rules for these operations—

over 1000 years before European mathematicians accepted negative numbers!

FERMAT'S LITTLE THEOREM (n^p ≡ n mod p for prime p) explains why n^5−n is

always divisible by 5. Pierre de Fermat stated this in 1640, but its proof

using modular arithmetic came from Euler in 1736.

INTEGER POWERS IN COMPUTERS: Computer integers are stored in binary.

A 32-bit signed integer ranges from −2,147,483,648 to +2,147,483,647.

Overflow: if you add 1 to the maximum 32-bit integer, you get the MINIMUM!

This "integer overflow" caused the 1996 crash of the Ariane 5 rocket,

a Rs.3,700 crore ($500 million) loss from a software bug with integers!

n^3 − n = 6×C(n+1,3): The product of 3 consecutive integers divided by 6

gives the binomial coefficient "n+1 choose 3". This connects integer arithmetic

to combinatorics (counting problems) in a beautiful way!

PRACTICE EXERCISE 27.A — Easy (Classes 6–7)

For each multiplication and division, state the sign before computing. Show all steps.

1. Multiply: (a) (−8)×(+7) (b) (−12)×(−11) (c) (+9)×(−13) (d) 0×(−99)

2. Divide: (a) (−56)÷(+8) (b) (+84)÷(−12) (c) (−121)÷(−11) (d) 0÷(−44)

3. Multiply three factors: (a) (−2)×(−3)×(+5) (b) (+4)×(−5)×(−6) (c) (−1)×(−1)×(−1)×(−1)×(−1)

4. Powers: (a) (−3)^3 (b) (−4)^2 (c) (−2)^6 (d) (−1)^{99} (e) (−1)^{200}

5. BODMAS: (a) 3×(−4)+(−2)×5 (b) (−3)^2−2×(−4) (c) [(−2)^3−4]÷(−4)

6. Distributive: (a) (−6)×(8−3) using two methods (b) 7×(−5)+7×(−3)

7. Temperature: starts at −8°C. Falls 3°C per hour for 4 hours. Find temperature after 4 hours.

8. A company loses Rs.1,500 per day for 6 days. Express as integer product. Find total loss.

9. Find x: (a) (−4)×x=+24 (b) x÷(−7)=−3 (c) (−2)×x×3=+18

10. Evaluate: (−1)^1+(−1)^2+(−1)^3+…+(−1)^{20}.

PRACTICE EXERCISE 27.B — Medium (Classes 7–8)

1. Prove: If a and b have opposite signs and |a|>|b|, then a+b and a have the same sign.

2. Find all integers n such that n^2−3n+2=0. Use factorisation (n−1)(n−2)=0.

3. Integer pattern: a_n=2(−1)^n×n. Find a_1 through a_6. Find sum of first 10 terms.

4. Divisibility: Show that 3|(n^3−n) for any integer n, and 7|(n^7−n).

5. Evaluate: [(−3)^4−(−2)^5]÷[(−1)^{100}+(−1)^{101}].

6. A submarine dive sequence: −15m, −25m, +10m, −30m, +20m, −15m (depth changes each minute). Find final depth and average depth change per minute.

7. Find two integers with product −120 and sum −2. Also product −120 and sum +2.

8. Prove: For any integer n, n(n+1)(n+2)(n+3)+1 is a perfect square. Verify for n=2,3,4.

9. Last digits: Find last digit of 3^{100}, 7^{200}, (−2)^{50}.

10. Integer equation: 3a−4b=−19. Find 5 integer solutions (a,b).

PRACTICE EXERCISE 27.C — Challenge (Classes 8–10)

1. Prove: For any integers a,b,c: (a−b)(b−c)(c−a) is always even.

2. Find all integer solutions to: a^2+b^2=c^2 where c=5. (Pythagorean triples with c=5.)

3. Prove: n^4+4 is composite for all integers n>1. (Factor using Sophie Germain Identity.)

4. Integer sequences mod m: Show that the sequence n^2 (mod 7) cycles. Find the cycle.

5. Fermat's Little Theorem special case: Prove 2^7 ≡ 2 (mod 7) directly by computation. Then use this to show 7|(2^7−2).

6. For which integers n is n^2−1 divisible by 8? Prove your answer.

7. Find the number of ordered pairs (a,b) of integers with |a|≤5 and |b|≤5 such that ab>0.

8. (Research) Wilson's Theorem: For a prime p, (p-1)! ≡ −1 (mod p). Verify for p=5,7. Understand why this is true.

CHAPTER SUMMARY

CHAPTER 27 — KEY POINTS SUMMARY

1. Sign rules (same for × and ÷): Same signs → Positive. Different signs → Negative.

2. Count negative factors: ODD count → product/quotient negative. EVEN → positive.

3. (−n)^k: POSITIVE if k is even. NEGATIVE if k is odd.

4. (−n)^2 = n^2 ≥ 0 always. Square of any integer is non-negative.

5. (−a)^2 ≠ −a^2. (−a)^2=a^2 but −a^2=−(a^2).

6. Division by zero is UNDEFINED. Zero divided by non-zero = 0.

7. a×(−1)=−a. Multiplying by −1 gives the additive inverse.

8. (−a)×(−b)=ab: proved rigorously from distributive law.

9. BODMAS applies to integers: brackets, orders, div/mul, add/sub (left to right).

10. Properties: closure, commutativity, associativity, identity (1), zero (0), distributive.

11. Cancellation: a×b=a×c and a≠0 implies b=c. Fails for a=0.

12. n^3−n=n(n−1)(n+1): product of 3 consecutive integers, divisible by 6.

13. n^5−n is always divisible by 30 (Fermat's Little Theorem for p=2,3,5).

14. Square of any odd integer = 8k+1 (leaves remainder 1 when divided by 8).

15. First to state integer sign rules: Brahmagupta (628 AD, India) in Sanskrit verse.

ANSWER KEY — CHAPTER 27

Exercise 27.A (Easy)

1. (a)−56 (b)+132 (c)−117 (d)0 2. (a)−7 (b)−7 (c)+11 (d)0 3. (a)(−2)(−3)(+5): 2 negatives

(EVEN)=+; +30. (b)(+4)(−5)(−6): 2 neg=+; +120. (c)(−1)^5=−1 4. (a)−27 (b)+16 (c)+64 (d)−1 (e)+1

5. (a)3×(−4)=−12; (−2)×5=−10; −12+(−10)=−22. (b)9−2×(−4)=9+8=17. (c)

[(−2)^3−4]÷(−4)=[−8−4]÷(−4)=(−12)÷(−4)=+3 6. (a)Direct: 5×(−6)=−30. Distributive: (−6)×8+ (−6)×(−3)=−48+18=−30. (b)7×(−5+(−3))=7×(−8)=−56 7. −8+4×(−3)=−8−12=−20°C 8.

6×(−1500)=−9000; total loss Rs.9,000 9. (a)x=+24÷(−4)=−6 (b)x=(−3)×(−7)=+21

(c)x=+18÷((−2)×3)=+18÷(−6)=−3 10. (−1)^n: alternating −1,+1. 20 terms=10 pairs each summing to

0. Total=0.

Exercise 27.B (Medium)

1. If a and b have opposite signs, |a|>|b|: WLOG a>0, b<0. a+b=a−|b|. Since |a|>|b|: a−|b|>0. So a+b>0=same sign as a. QED. 2. (n−1)(n−2)=0: n=1 or n=2. Both positive integers, also valid integers.

✓ 3. a_1=−2,a_2=+4,a_3=−6,a_4=+8,a_5=−10,a_6=+12. Sum of 2 terms: −2+4=2. Sum of 10 terms: 5 pairs each=2k: 2+4+…+10? No: each pair (a_{2k-1}+a_{2k})=−2(2k−1)+4k=2. Sum of 10 terms=5×2=10. 4. n^3−n=(n−1)n(n+1). 3|this by 3-consecutive integer product. 7|(n^7−n): by Fermat n^7≡n(mod7). 5. [81−(−32)]÷[1+(−1)]=[81+32]÷[0]=113÷0=UNDEFINED. 6. Sum:

−15−25+10−30+20−15=−55m depth. Average=−55÷6=−9.17m/min. 7. Product−120 sum−2: n^2+2n−120=0. (n+12)(n−10)=0. n=10 or n=−12. Pairs: (10,−12) and (−12,10) sum=−2. For sum+2:

(n 10)(n+12)? n^2−2n−120=0. n=(2±√484)/2=(2±22)/2: n=12 or n=−10. Pairs: (12,−10) sum=+2. ∡✓

8. n(n+1)(n+2)(n+3)+1=[n(n+3)][(n+1)(n+2)]+1=(n^2+3n)(n^2+3n+2)+1. Let m=n^2+3n+1: (m−1) (m+1)+1=m^2−1+1=m^2. A perfect square! n=2: 2×3×4×5+1=121=11^2 . n=3: ✓

3×4×5×6+1=361=19^2 . 9. 3^{100}: cycle period 4, 100 mod 4=0, so same as 3^4=81, last digit 1. ✓ 7^{200}: cycle period 4, 200 mod 4=0, same as 7^4=2401, last digit 1. (−2)^{50}=2^{50}: 50 mod 4=2, same as 2^2=4, last digit 4. 10. 3a−4b=−19. Try a=1: 3−4b=−19; 4b=22; not integer. a=3: 9−4b=−19; 4b=28; b=7. Solution: (3,7). a=7: 21−4b=−19; 4b=40; b=10. Solution: (7,10). a=−1: −3−4b=−19; 4b=16; b=4. Solution: (−1,4). Five solutions need 5 values of a with integer b:

a=3,7,−1,11,...

Exercise 27.C (Challenge)

1. (a−b)(b−c)(c−a): Note (a−b)+(b−c)+(c−a)=0. If all three are odd, their sum=odd+odd+odd=odd≠0. So not all three can be odd. At least one must be even. Hence product is even. 2. a^2+b^2=25: ✓ Pythagorean triples (3,4,5). So (a,b)=(±3,±4),(±4,±3),(±5,0),(0,±5). Actually 3^2+4^2=9+16=25. ✓ All 8 orderd pairs with ±. 3. n^4+4: Sophie Germain: n^4+4=(n^2+2)^2−(2n)^2=(n^2+2n+2) (n^2−2n+2). Both factors>1 for n>1. Hence composite. 4. n^2 mod 7: 0,1,4,2,2,4,1 (cycle period 7). Only 0,1,2,4 are quadratic residues mod 7. 5. 2^7=128=7×18+2=126+2. 128 mod 7=2. So

2^7≡2(mod7). 7|(2^7−2). 6. n^2−1=(n−1)(n+1). If n is odd: n−1 and n+1 are consecutive even numbers. Product of 2 consecutive even = 4×even=8k. So 8|(n^2−1) for all ODD n. If n is even: n^2−1=even^2−1=even−1=odd. Not divisible by 8 (not even divisible by 2!). Answer: 8|(n^2−1) iff n is odd. 7. |a|≤5, |b|≤5: a,b {−5,...,+5} (11 values each). ab>0 means same sign. Both positive: 5×5=25∈ pairs. Both negative: 5×5=25 pairs. Total: 50 ordered pairs. 8. Wilson: (4)!=24≡24(mod5)=−1(mod5)

since 24=5×4+4=5×4+5−1≡−1. (6)!=720≡720mod7. 720=7×102+6≡−1(mod7). ✓✓

CHAPTER 27 — NEW TERMS FOR GLOSSARY

TermDefinition
Cancellation LawFor integers: if a×b=a×c and a≠0, then b=c.
Composite NumberAn integer > 1 with factors other than 1 and itself (e.g., 4, 6, 8, 9...).
Fermat's Little TheoremFor prime p: n^p ≡ n (mod p) for all integers n. Implies p|(n^p−n).
Integer OverflowWhen an integer exceeds the maximum value a computer can store, it wraps

around.

Multiplicative IdentityThe integer 1: a×1=1×a=a for all integers a.
Quadratic ResidueAn integer r is a quadratic residue mod n if r≡a^2(mod n) for some integer a.

Sophie Germain Identity a^4+4b^4=(a^2+2b^2+2ab)(a^2+2b^2−2ab). Used to factor certain expressions.

Zero Product PropertyIf a×b=0 for integers a,b, then a=0 or b=0 (or both).