LiczarniaOnline calculators and tables
Mathematics

Numbers

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.

Calculators

8

GCD and LCM

LCM = a · b / GCD
GCD12
  • LCM840
  • The fraction a/b reduced7/10
  • Coprimeno

Prime factorization

n = p₁^a · p₂^b · …
Factorization2³ · 3² · 5
  • Number of divisors24
  • Sum of divisors1,170
  • Prime numberno

Powers and roots

aⁿ and ⁿ√a
7 to the power of 3343
  • Root of degree 31.912931
  • Square root2.645751
  • Square49
  • Common logarithm0.845098

Division with remainder

a = b · q + r
Quotient289
  • Remainder3
  • Exact289.428571
  • Divides evenlyno

Number bases

binary · octal · hexadecimal
Decimal2,026
  • Binary11111101010
  • Octal3752
  • Hexadecimal7EA
  • Number of bits11

Roman numerals

I V X L C D M
Roman numeralMMXXVI
  • Number of characters6
  • PreviousMMXXV
  • NextMMXXVII

Factorials and combinations

n! , C(n,k) = n! / (k!(n − k)!)
Combinations C(n,k)120
  • Permutations without repetition720
  • n!3,628,800
  • k!6
  • 2ⁿ — every subset1,024

Rounding and scientific notation

a ≈ m · 10ⁿ
Rounded to 2 places12,345.68
  • Down12,345.67
  • Up12,345.68
  • Scientific notation1.2346 · 10⁴
  • Whole part12,345

Tables and cheat sheets

3

Powers of two

the basis of binary memory units
n2ⁿEquivalent
01
12
24
38
416
532
664
7128
8256one byte — 256 values
9512
101,0241 KiB
112,048
124,096
138,192
1416,384
1532,768
1665,53616-bit range
17131,072
18262,144
19524,288
201,048,5761 MiB

Prime numbers up to 200

there are 46 of them; two is the only even one
RangePrime numbersHow many
1–502, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 4715
51–10053, 59, 61, 67, 71, 73, 79, 83, 89, 9710
101–150101, 103, 107, 109, 113, 127, 131, 137, 139, 14910
151–200151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 19911

Roman numerals

a smaller numeral before a larger one means subtraction
NumeralValueExample
I1III = 3
IV4IV = 5 − 1
V5VII = 7
IX9IX = 10 − 1
X10XXX = 30
XL40XLV = 45
L50LXX = 70
XC90XCIX = 99
C100CCC = 300
CD400CDL = 450
D500DCC = 700
CM900CMXC = 990
M1000MMXXVI = 2026

Worked examples with full solutions

2

Reducing a fraction by the greatest common divisor

Simplify the fraction 144/216.

  1. Factor the numerator144 = 2⁴ · 3²
  2. Factor the denominator216 = 2³ · 3³
  3. The shared factors give the GCDGCD = 2³ · 3² = 72
  4. Divide the numerator and the denominator144 / 72 = 2, 216 / 72 = 3

Answer: 144/216 = 2/3 ≈ 0.6667, that is 66.67 %.

How many codes can be made

You pick 3 different digits out of 10. How many combinations are there when order does not matter, and how many when it does?

  1. Combinations: C(10,3)10! / (3! · 7!) = 120
  2. Permutations, when order matters120 · 3! = 720
  3. If the digits could repeat10³ = 1,000 codes

Answer: 120 combinations, 720 permutations, and 1,000 codes once repeats are allowed.

See also