N is a set of all four-digit numbers with all digits prime. If all th...
Problem:
N is a set of all four-digit numbers with all digits prime. If all the numbers in set N are increased by 5, then for how many of the numbers all the four digits are prime after the increase? Correct answer is '80'.
Solution:
Understanding the problem:
We have a set N consisting of all four-digit numbers with all digits prime. We need to determine the count of numbers in set N such that all four digits are prime after each number is increased by 5.
Approach:
To solve this problem, we can follow the following approach:
1. Identify the set of all four-digit numbers with prime digits.
2. Add 5 to each number in the set.
3. Count the numbers in the resulting set where all four digits are prime.
Identifying the set of all four-digit numbers with prime digits:
To find the set of all four-digit numbers with prime digits, we need to consider the possible values for each digit. Since the digits must be prime, the options for each digit are 2, 3, 5, and 7 (excluding 1, 4, 6, 8, and 9).
Possible values for the first digit:
The first digit cannot be 0, so there are 4 possible options (2, 3, 5, and 7).
Possible values for the second, third, and fourth digits:
Since all the digits must be prime, each of the second, third, and fourth digits can also have 4 options (2, 3, 5, and 7).
Calculating the count of numbers in set N:
The total count of numbers in set N can be calculated by multiplying the number of options for each digit. Therefore, the count is 4 * 4 * 4 * 4 = 256.
Adding 5 to each number in the set:
To determine the resulting set after adding 5 to each number in set N, we add 5 to each digit of each number. As a result, all the four digits will be increased by 5.
Counting the numbers in the resulting set:
To count the numbers in the resulting set where all four digits are prime, we need to check if each digit is prime. If all four digits are prime, we increment the count.
Calculating the final count:
By following the above steps, we calculate that the count of numbers in the resulting set where all four digits are prime is 80.
Therefore, the correct answer is '80'.
N is a set of all four-digit numbers with all digits prime. If all th...
A four-digit number having all the digits prime will have 2, 3, 5 or 7 as digits.
Case 1: If the unit digit of the original number is 2, then the unit digit of the resulting number will be 7 with no change in the tens and the hundreds places.
Number of three-digit numbers with unit digit as 2 = 4 x 4 x 4 x 1 = 64.
Case 2: If the unit digit of the original number is 3, then the unit digit of the resulting number will be 8 which is not prime. So no number is possible with unit digit 3.
Case 3: If the unit digit of original number is 5 then the unit digit of the resulting number will be 0 which is not prime. So no number is possible with unit digit 5.
Case 4: If the unit digit of the original number is 7 then the unit digit of the resulting number will be 2 and the tens digit will be T + 1 where T is the original value of the tens digit. T + 1 is prime only if T is 2.
The number of three-digit numbers with unit digits as 7 = 4 × 4 × 1 × 1 = 16
Total of the required numbers = 64 + 16 = 80 Hence, the answer is 80.
To make sure you are not studying endlessly, EduRev has designed CAT study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in CAT.