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?
Video Solution
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 the even digit is. There are then
choices for where the prime digit goes, and
choices for what the prime digit 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 (chat is this an editing chain?)
~iiiiiizh (minor edits)
~drekie (very minor edit--ain't no way someone thought 4x3x3x2x2=432 lmao)
~happyfish0922 (minor formatting edits)
~zoyashaikh (extremely minor edits)
~kfclover (minor LaTeX edits)
~aldzandrtc (removed dummy subjects to be specific)
~gvh300 (minor editing)
~minor
edits by i_am_not_suk_at_math (saharshdevaraju 14:27, 7 November 2025 (EST)saharshdevaraju)
Solution 2: Cheese
Let us count the cases where there is a
anywhere in the lock. There are
places to arrange the
s, and the remaining digits can only be
s and
s (since they neither can be even nor prime). Thus, there will be
choices for there to exist one
. We note that answer choice
is
greater than another answer choice (specifically,
) and is the only answer choice to have this property. Assuming that the pitfall of forgetting the case with a
would be a separate answer choice on its own, we can justify that the answer is
.
~megaboy6679, who forgot the case with the
Video Solution (Fast and Easy)
https://youtu.be/TOTJEltmpe0?si=pglACCfjzAHguvlt ~ Pi Academy
Video Solution by SpreadTheMathLove
https://www.youtube.com/watch?v=dAeyV60Hu5c
Video Solution
~MK
Video Solution by Daily Dose of Math
~Thesmartgreekmathdude
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.