AMC 8 · 2020 · #19

Grade 4 number-theorycounting
divisibility-rulesdigit-sumdigit-constraintsmodular-arithmetic digit-constraintscaseworksystematic-enumeration ↑ Prerequisites: divisibility-rulesdigit-sum
📏 Medium solution 💡 4 insights
📘 View easy version →

Problem

A number is called flippy if its digits alternate between two distinct digits. For example, 20202020 and 3737337373 are flippy, but 38833883 and 123123123123 are not. How many five-digit flippy numbers are divisible by 15?15?

Pick an answer.

(A)
3
(B)
4
(C)
5
(D)
6
(E)
8

AMC 8 2020 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

Try it yourself first — the explanation is most useful after you’ve attempted it.