Topics / Number Theory
Number Properties
Perfect squares/cubes, parity, consecutive integers, floor/ceiling, integer sequences
What you need to know
- Parity: odd odd even, odd odd odd; a sum of integers is odd iff it has an odd number of odd terms. Squares satisfy .
- Perfect squares end in ; they are and odd squares are . Squares ; cubes .
- Among any consecutive integers, exactly one is divisible by ; hence .
- Floor function: is the greatest integer , so . The number of perfect squares is .
- ; for odd this is divisible by , and for it is divisible by .
- Sum of the first positive integers is ; sum of the first odd numbers is .
How AMC 10 tests it
- "How many integers in a range make (or ) divisible by ?" Parity and residues (problems 10–16).
- Counting squares or cubes in a range, or integers that are neither: floors of square and cube roots plus inclusion–exclusion.
- Parity arguments: a sum of odd numbers cannot be ; a chessboard-style impossibility.
- Sequences of integers with a growth rule; find the number of terms below or a specific term via floors.
- "Which of the following must be true about ?" with five statements about odd/even, squares, consecutive products.
Standard approaches
- Check parity first; it kills half the candidates in seconds.
- Factor the expression, then examine each factor's divisibility separately ( is always even, etc.).
- Reduce mod where squares and cubes have few residues.
- For counts in , use floors and inclusion–exclusion, and double-check endpoints.
- When a statement "must" hold, test , and a prime; a single counterexample settles it.
Worked example
For how many integers with is divisible by ?
(A) (B) (C) (D) (E)
Since , divisibility by can be checked separately. If is odd, and are consecutive even numbers, one of them a multiple of , so ; if is even, the product is odd. If , one of is a multiple of ; if , neither is. So the condition is exactly . Among there are even numbers, multiples of , and multiples of , leaving . The answer is .
Pitfalls
- Believing "" for all ; it holds only for odd .
- Miscounting squares in : it is , not when is a perfect square.
- Applying ; it can be off by one.
- Forgetting that or are integers that may satisfy (or break) the condition.
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
The number is written as the sum of not necessarily distinct two-digit numbers. What is the least number of two-digit numbers needed to write this sum?
How many positive perfect squares less than are divisible by ?
The remainder can be defined for all real numbers and with by where denotes the greatest integer less than or equal to . What is the value of …
A rectangular box has integer side lengths in the ratio . Which of the following could be the volume of the box?
When counting from to , is the number counted. When counting backwards from to , is the number counted. What is ?
A small bottle of shampoo can hold 35 milliliters of shampoo, whereas a large bottle can hold 500 milliliters of shampoo. Jasmine wants to buy the minimum number of small bottles necessary to completely fill a large bottle. How many bottles must she buy?
Four coins are picked out of a piggy bank that contains a collection of pennies, nickels, dimes and quarters. Which of the following could not be the total value of the four coins, in cents?
The numbers and are a pair of consecutive positive squares whose difference is . How many pairs of consecutive positive perfect squares have a difference of less than or equal to ?
How many positive even multiples of less than are perfect squares?
What is the greatest number of consecutive integers whose sum is
Which of the following numbers is a perfect square?
Two integers have a sum of 26. When two more integers are added to the first two integers the sum is 41. Finally when two more integers are added to the sum of the previous four integers the sum is 57. What is the minimum number of odd integers among the 6 integers?
For how many real values of is an integer?
How many sets of two or more consecutive positive integers have a sum of ?
Which of the following numbers is a perfect square?
The symbolism denotes the largest integer not exceeding . For example, and . Compute
A set of numbers is called sum-free if whenever and are (not necessarily distinct) elements of the set, is not an element of the set. For example, and the empty set are sum-free, but is not. What is the greatest possible number of elements in a sum-free subset of …
What is the least positive integer such that is a perfect square?
Suppose that is a subset of such that the sum of any two (not necessarily distinct) elements of is never an element of What is the maximum number of elements may contain?
Let be an ordered quadruple of not necessarily distinct integers, each one of them in the set For how many such quadruples is it true that is odd? (For example, is one such quadruple, because is odd.)
Suppose that and are positive integers such that . What is the minimum possible value of ?
Let be a subset of such that the following two conditions hold: - If and are distinct elements of , then - If and are distinct odd elements of , then What is the maximum possible number of elements in ?
How many distinct values of satisfy where denotes the largest integer less than or equal to ?
For how many positive integers is not divisible by ? (Recall that is the greatest integer less than or equal to .)
How many positive integers satisfy (Recall that is the greatest integer not exceeding .)
Cozy the Cat and Dash the Dog are going up a staircase with a certain number of steps. However, instead of walking up the steps one at a time, both Cozy and Dash jump. Cozy goes two steps up with each jump (though if necessary, he will just jump the last step). Dash goes five steps up with each jump (though if …
In 1991 the population of a town was a perfect square. Ten years later, after an increase of 150 people, the population was 9 more than a perfect square. Now, in 2011, with an increase of another 150 people, the population is once again a perfect square. Which of the following is closest to the percent growth of the …
Brian writes down four integers whose sum is . The pairwise positive differences of these numbers are and . What is the sum of the possible values for ?
A set of tiles numbered 1 through 100 is modified repeatedly by the following operation: remove all tiles numbered with a perfect square, and renumber the remaining tiles consecutively starting with 1. How many times must the operation be performed to reduce the number of tiles in the set to one?
Let denote the greatest integer less than or equal to . How many real numbers satisfy the equation ?
Let , where denotes the greatest integer less than or equal to . How many distinct values does assume for ?
Jim starts with a positive integer and creates a sequence of numbers. Each successive number is obtained by subtracting the largest possible integer square less than or equal to the current number until zero is reached. For example, if Jim starts with , then his sequence contains numbers: …