2025 AMC 10A Problems/Problem 12
Carlos uses a
-digit passcode to unlock his computer. In his passcode, exactly one digit is even, exactly one(possibly different) digit is prime, and no digit is
. How many
-digit passcodes satisfy these conditions?
Solution 1: Casework
The only two digits that aren't prime and aren't even are
and
We split this problem into cases on the number of
s (since
is both a prime number and an even number).
Case
No
s. For this case, there are
choices for where the even digit goes, and
choices for what it is. There are then
choices for where the prime digit goes, and
choices for what it is. The last two spots have
choices each,
or
This gives a total of
options for this case.
Case
One
. For this case, there are
choices for where
goes, and
choices for the other three digits each. This case gives a total of
options.
Hence, the answer is
~Tacos_are_yummy_1
~iiiiiizh (minor edits)
~drekie (very minor edit--ain't no way someone thought 4x3x3x2x2=432 lmao)
~happyfish0922 (minor formatting edits)
~zoyashaikh (extremely minor edits)
Video Solution (Fast and Easy)
https://youtu.be/TOTJEltmpe0?si=pglACCfjzAHguvlt ~ Pi Academy
Video Solution
~MK
See Also
| 2025 AMC 10A (Problems • Answer Key • Resources) | ||
| Preceded by Problem 11 |
Followed by Problem 13 | |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
| All AMC 10 Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America.