───✱*.。:。✱*.:。✧*.。✰*.:。✧*.。:。*.。✱ ───

Divisibility

  • An integer 𝑎 divides 𝑏 if there exists an integer 𝑐 such that 𝑏=𝑎𝑐
  • 𝑎𝑏 → “a divides b”
    • 244 is divisible by 2
    • 82323 is not divisible by 8

Properties of Division

  • Distributive Property → if 𝑎𝑏 and 𝑎𝑐, then 𝑎(𝑏+𝑐)
  • Common Factor → if 𝑎𝑏, then 𝑎𝑏𝑐 for all integers 𝑐
  • Associative Property → if 𝑎𝑏 and 𝑏𝑐, then 𝑎𝑐

Remainder Theorem

  • 𝑚=𝑞𝑛+𝑟, 0𝑟𝑛
  • Where 𝑚 is the dividend, 𝑛 is the divisor, 𝑞 is the quotient, and 𝑟 is the remainder
  • 127÷4=31remainder3127=314+3

Floor

  • Round down to the nearest integer
  • 𝑥=max{𝑛𝑍𝑛𝑥}
  • 2.3=2

Integer Division + Modulus

  • Integer Division → 𝑎/𝑏 only returns the quotient
    • Also known as “floor division”
  • Modulus → 𝑎mod𝑏 returns only the remainder

Congruence + Modular Arithmetic

  • If 𝑎𝑏mod𝑚, then 𝑎mod𝑚=𝑏mod𝑚
    • 175mod12 because 17mod12=5

───✱*.。:。✱*.:。✧*.。✰*.:。✧*.。:。*.。✱ ───