Question:

Let X be a four-digit positive integer such that the unit digit of X is prime and the product of all 4 digits of X is also prime. How many such integers are possible?

Show Hint

If a product of digits is prime, then all digits except one must be 1, because prime numbers have only one non-trivial factor.
Updated On: Aug 25, 2025
  • 4
  • 8
  • 12
  • 24
  • None of the above
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Step 1: Condition on unit digit.
Unit digit must be prime. So possible unit digits = 2, 3, 5, 7.
Step 2: Condition on product of all 4 digits.
Product of digits is prime. A prime number can only be obtained if one of the digits is prime and the other three digits are all 1. This is because product = prime × 1 × 1 × 1 = prime.
Step 3: Form numbers.
The first three digits must all be 1. The last digit (unit digit) must be prime. Hence possible numbers = 1112, 1113, 1115, 1117.
Step 4: Count.
Thus, there are exactly 4 such numbers. \[ \boxed{4} \]
Was this answer helpful?
0
0

Questions Asked in XAT exam

View More Questions