Page 1 of 9 · Overview

Lesson 9 of 9 · Number Theory

Floor Functions

The floor function ⌊x⌋ turns a real number into the integer just below it. On the AMC it appears in three ways: counting multiples (⌊N/d⌋), computing the exponent of a prime in a factorial, and equations or sums where you have to track the integer and fractional parts separately. All three come from one idea: ⌊x⌋ = n means n ≤ x < n + 1.

Mark your status for this lesson:

Learning objectives

  • Evaluate floors and ceilings, including negative arguments.
  • Solve equations by writing x = n + f with n an integer and 0 ≤ f < 1.
  • Count multiples and apply Legendre’s formula for prime exponents in factorials and trailing zeros.
  • Evaluate sums of floors by grouping equal values or using symmetry, and handle ⌊√n⌋.