CombinatoricsDifficulty 5.1AIME, harderFind the answerUnited States
Problem:
The number 770 is written on a blackboard. Melody repeatedly performs moves, where a move consists of subtracting either 40 or 41 from the number on the board. She performs moves until the number is not positive, and then she stops. Let N be the number of sequences of moves that Melody could perform. Suppose N=a⋅2b where a is an odd positive integer and b is a nonnegative integer. Compute 100a+b.
A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.
Solution
Solution:
Notice that if we use the 41 move nine times or less, we will have to make a total of ⌈40770⌉=20 moves, and if we use it ten times or more, we will have to make a total of ⌊40770⌋=19 moves. So, doing casework on the number of 40s we use gives 19 moves(019)+(119)+(219)+⋯+(919)+20 moves2(1020)+(1120)+(1220)+⋯+(2020). Using the row sums of Pascal's triangle we have this sum equal to 2219+2220=3⋅218. The answer is 318.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty) added by this project.