Number Properties
Perfect squares/cubes, parity, consecutive integers, floor/ceiling, integer sequences
What you need to know
- Parity (odd and even). Odd odd even, and odd odd odd. A sum of integers is odd exactly when it has an odd number of odd terms. A number and its square are both odd or both even: . Example: has three odd terms, so it is odd ().
- Perfect squares end in , , , , , or , never , , , or . Divided by , a square leaves remainder or ; divided by , also or . An odd square leaves remainder when divided by . Example: ends in , so it is not a square; .
- Perfect cubes leave remainder , , or when divided by . Since , we write this as . Example: and .
- Consecutive integers. Among any consecutive integers, exactly one is divisible by . Even more: the product of any consecutive integers is divisible by . Why: for positive integers, the product divided by is a binomial coefficient, which counts something, so it is a whole number. Example: , and .
- Floor function. (the floor of ) is the greatest integer less than or equal to : round down. So . Example: and .
- Counting squares. There are perfect squares from to . Example: , since and .
- . If is odd, this is divisible by . If does not divide , it is divisible by . Example: .
- Two sums. , and the first odd numbers add to . Example: and .
How AMC 10 tests it
- "How many integers in a range make (or ) divisible by ?" Parity and remainders (problems 10–16).
- Counting squares or cubes in a range, or numbers that are neither: floors of square and cube roots plus the Principle of Inclusion-Exclusion (PIE).
- Parity arguments: a sum of odd numbers can't be ; chessboard-coloring arguments that something is impossible.
- Sequences of integers with a growth rule: find how many terms are below , or a particular term, using floors.
- "Which of the following must be true about ?" with five statements about odd and even, squares, and products of consecutive numbers.
Standard approaches
- Check parity first; it rules out half the possibilities in seconds.
- Factor the expression, then check what divides each factor. Example: is always even, since one of two consecutive integers is even.
- Work mod , , , or , where squares and cubes have few possible remainders.
- To count from to , use floors and PIE, and double-check the endpoints.
- When a statement "must" hold, test , , and a prime. One counterexample settles it.
Worked example
For how many integers with is divisible by ?
(A) (B) (C) (D) (E)
Step 1: split . and . Since and share no factor, check each one separately.
Step 2: the . If is odd, and are two even numbers in a row, like and . One is a multiple of and the other a multiple of , so their product is a multiple of . If is even, the product is odd.
Step 3: the . Exactly one of , , is a multiple of . If does not divide , it divides or . If divides , it divides neither.
Step 4: the condition. So divides exactly when is odd and not a multiple of , that is, when .
Step 5: count with PIE. From to there are even numbers, multiples of , and multiples of (counted twice). That leaves .
The answer is .
Pitfalls
- Believing every square leaves remainder when divided by . Only odd squares do. Example: leaves .
- Miscounting squares from to . The count is , where (the ceiling) means round up. Using leaves out when is a perfect square. Example: from to there are squares (): , not .
- Assuming ; it can be off by one. Example: , but .
- Forgetting that and are integers that may satisfy (or break) the condition. Example: in the worked example counts, since and divides .
Traps that recur
- Counting one solution for every integer n with |x| < 100 (n = -100 to 99, giving 200) without noticing that n = 99 yields only f = 1, which is excluded. (2018 AMC 10B #25)
- Counting the 45 pairs (j, k) with 1 <= j < k <= 10 as separate jump points, forgetting that equal fractions like 1/2 = 2/4 = 3/6 are one jump. (2016 AMC 10B #25)
- Forgetting the constraint r <= 2m (so that m^2 is really the largest square below n) and choosing a smaller m, or miscounting: 8 numbers in the sequence means 7 subtractions. (2010 AMC 10A #25)
- Using the naive pattern 1, 4, 7, 10, … (odds only 6 apart) or evens spaced 4 apart (506), or dropping the extra 2 elements from the leftover 2021–2024. (2024 AMC 10A #20)
Problems, easiest first
Open any of them to try it here; the worked solution is on the problem's own page.
How many positive even multiples of less than are perfect squares?