Prime Factor Alignment Table
| Number | Unique Factors | Common Shared Factors |
|---|---|---|
| Pack A (a = 12) | 2 | 23 |
| Pack B (b = 18) | 3 |
Variable Adjuster
Greatest Common Divisor & Least Common Multiple
GCD & LCMThe Greatest Common Divisor (GCD) is the largest positive integer that divides both numbers. The Least Common Multiple (LCM) is the smallest positive integer that is divisible by both numbers.
Whiteboard Solver Steps
Prime Factorisation of Fruit Pack A Size (12)
Decompose the size of Fruit Pack A (
Prime Factorisation of Fruit Pack B Size (18)
Decompose the size of Fruit Pack B (
Find Greatest Common Divisor (GCD / HCF)
Identify all prime factors that both fruit packs share. The product of these common factors gives the GCD. This represents the maximum size of identical bags we can partition both fruit packs into without any leftovers.
Find Least Common Multiple (LCM)
Find the least common multiple of both pack sizes. This represents the minimum total number of fruits of each type we need to purchase to get equal quantities of both types while only buying complete packs.