DR.WANG Mathematics中文

2025 AIME II · Question 8

Arithmetic · optimization · money · modular arithmetic · casework · problem-solving · number-theory

Problem outline

For amounts of 11 to 10001000 cents, construct change with unlimited coins of values 25,10,125,10,1 by repeatedly taking the largest that fits. For how many amounts does this minimise the number of coins?

Show answer and methods 1 methods

Answer

610

Method 1 Only one fewer quarter can improve the count

Write N=25q+rN=25q+r with 0≤r<250\le r<25. For a fixed quarter count, using as many dimes as possible minimises coin count. Removing two quarters adds 5050 cents to the remainder, hence requires five more dimes with the same pennies, increasing the total by three. Each parity class of quarter counts is therefore best represented by its largest member.

When q≥1q\ge1, compare qq quarters with q−1q-1. If rr ends in 00 through 44, adding 2525 to the remainder adds two dimes and five pennies. If it ends in 55 through 99, it adds three dimes but removes five pennies, improving the total. Failures occur for r=5,…,9r=5,\ldots,9 or 15,…,1915,\ldots,19.

For q=1,…,39q=1,\ldots,39 each complete block has ten failures. The initial block has no quarter to remove and 10001000 has r=0r=0. There are 1000−390=6101000-390=610 successes.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)