Skip to main content

2024 AMC 12A Problem 11

Problem 11 of 25IntermediateNumber TheoryCounting & Probability

There are exactly KK positive integers bb with 5b20245\le b\le2024 such that the base-bb integer 2024b2024_b is divisible by 1616 (where 1616 is in base ten). What is the sum of the digits of K?K?

Answer choices

Show solution

Solution

Here 2024b=2b3+2b+42024_b=2b^3+2b+4 =2(b3+b+2),=2(b^3+b+2), so 2024b2024_b is divisible by 1616 exactly when b3+b+2b^3+b+2 is divisible by 8.8. Checking residues mod8,\bmod 8, b3+b+20b^3+b+2\equiv0 precisely for b3,6,7(mod8).b\equiv3,6,7\pmod8. Counting bb in [5,2024]:[5,2024]: residue 33 gives 11,,201911,\ldots,2019 (252252 values), residue 66 gives 6,,20226,\ldots,2022 (253253 values), and residue 77 gives 7,,20237,\ldots,2023 (253253 values). So K=252+253+253=758,K=252+253+253=758, and its digit sum is 7+5+8=20.7+5+8=20. Thus, the correct answer is D.

More practice

Concepts: number base · modular arithmetic · counting integers in a range

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.