2011 AMC 10A Problem 10
A majority of the 30 students in Ms. Deameanor's class bought pencils at the school bookstore. Each of these students bought the same number of pencils, and this number was greater than 1. The cost of a pencil in cents was greater than the number of pencils each student bought, and the total cost of all the pencils was . What was the cost of a pencil in cents?
Show solution without answering
Key insight
Factor 1771 cents as 7 × 11 × 23. A majority of 30 is 16 to 30 students, so 23 bought; each bought 7 pencils at 11 cents.
Solution
Work in cents, so the total is cents. The total cost is
(number of students who bought) (pencils each) (cents per pencil) .
So each of those three numbers is a factor of . First find the factors, then use the conditions to decide which is which.
1. Factor 1771. Try small primes. It is odd, so not divisible by . Its digits add to , so not by . It doesn't end in or . Try : . Then . So
2. Find the number of students. A majority of means more than half, so between and students. List all the factors of : . The only one between and is . So students bought pencils.
3. Split what is left. Then (pencils each) (cents per pencil) .
4. Each student bought more than pencil, and the price is more than the number of pencils. The only way to write as a product of two numbers both bigger than is . The bigger one is the price, so each student bought pencils at cents.
Check: . ✓
The answer is .
Why this works
When a total is a product of whole numbers you don't know, break the total into primes. Then turn each word condition into a range or an ordering ("majority" means to , "greater than" sets which factor is bigger). Those conditions decide which prime goes where.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Let be the number of students who bought pencils, the number of pencils each bought, and the cost of a pencil in cents. Then , with (a majority of ), , and .
Factor : it is divisible by , giving , and . So
The only divisor of between and is (the others are ). Hence and . With , we need and .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics (§1.4, §1.5)
- Introduction to Number Theory, Chapter 2: Primes and Composites
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.3)
- Introduction to Number Theory, Chapter 4: Prime Factorization (§4.2, §4.4)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.