GCD and LCM
LCM = a · b / GCDGCD12
- LCM840
- The fraction a/b reduced7/10
- Coprimeno
GCD and LCM, prime factors, powers, number bases, Roman numerals and combinatorics.
Prime factorization is the basis for reducing fractions and finding a common denominator: the greatest common divisor collects the shared factors, the least common multiple collects them all. This section also covers conversion between number bases, Roman numerals and combinatorics.
LCM = a · b / GCDn = p₁^a · p₂^b · …aⁿ and ⁿ√aa = b · q + rbinary · octal · hexadecimalI V X L C D Mn! , C(n,k) = n! / (k!(n − k)!)a ≈ m · 10ⁿ| n | 2ⁿ | Equivalent |
|---|---|---|
| 0 | 1 | |
| 1 | 2 | |
| 2 | 4 | |
| 3 | 8 | |
| 4 | 16 | |
| 5 | 32 | |
| 6 | 64 | |
| 7 | 128 | |
| 8 | 256 | one byte — 256 values |
| 9 | 512 | |
| 10 | 1,024 | 1 KiB |
| 11 | 2,048 | |
| 12 | 4,096 | |
| 13 | 8,192 | |
| 14 | 16,384 | |
| 15 | 32,768 | |
| 16 | 65,536 | 16-bit range |
| 17 | 131,072 | |
| 18 | 262,144 | |
| 19 | 524,288 | |
| 20 | 1,048,576 | 1 MiB |
| Range | Prime numbers | How many |
|---|---|---|
| 1–50 | 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47 | 15 |
| 51–100 | 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 | 10 |
| 101–150 | 101, 103, 107, 109, 113, 127, 131, 137, 139, 149 | 10 |
| 151–200 | 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199 | 11 |
| Numeral | Value | Example |
|---|---|---|
| I | 1 | III = 3 |
| IV | 4 | IV = 5 − 1 |
| V | 5 | VII = 7 |
| IX | 9 | IX = 10 − 1 |
| X | 10 | XXX = 30 |
| XL | 40 | XLV = 45 |
| L | 50 | LXX = 70 |
| XC | 90 | XCIX = 99 |
| C | 100 | CCC = 300 |
| CD | 400 | CDL = 450 |
| D | 500 | DCC = 700 |
| CM | 900 | CMXC = 990 |
| M | 1000 | MMXXVI = 2026 |
Simplify the fraction 144/216.
144 = 2⁴ · 3²216 = 2³ · 3³GCD = 2³ · 3² = 72144 / 72 = 2, 216 / 72 = 3Answer: 144/216 = 2/3 ≈ 0.6667, that is 66.67 %.
You pick 3 different digits out of 10. How many combinations are there when order does not matter, and how many when it does?
10! / (3! · 7!) = 120120 · 3! = 72010³ = 1,000 codesAnswer: 120 combinations, 720 permutations, and 1,000 codes once repeats are allowed.
Nothing matches that search.