
The number of 10-digit numbers such that the product of any two consecutive digits in the numbers is prime number, is
A. 1024
B. 2048
C. 512
D. 64
Answer
601.8k+ views
Hint: To solve this type of problem we have to know the concept like the product of any two consecutive digits is a prime number only when one of them is 1 and the other is a prime number. By using this we are going to solve this problem.
Complete step-by-step solution -
So basically, every other number has to be 1. The other digits have to be 2,3,5 or 7.
Considering the number in the form 1x1x1x1x1x where x = 2,3,5,7.
To place all four digits there are five slots as repetition of numbers is allowed so we can arrange all four numbers in \[4\times 4\times 4\times 4\times 4={{2}^{10}}\] . . . . . . . . . . . (a)
Now considering in another form,
x1x1x1x1x1. Here there are 5 free positions.
To place all four digits there are five slots as repetition of numbers is allowed so we can arrange all four numbers in \[4\times 4\times 4\times 4\times 4={{2}^{10}}\] . . . . . . . . . . . (b)
The total possible numbers are \[{{2}^{10}}+{{2}^{10}}\]
\[2\times {{2}^{10}}\]
\[{{2}^{11}}=2048\]
Thus total possible numbers are 2048.
The answer is option B.
Note: For the ten digit number we can write two forms as seen above. If repetition of numbers is not allowed then we cannot place the same number in the other place if once taken. In the question it is not mentioned anything about repetition so we can assume repetition is allowed.
Complete step-by-step solution -
So basically, every other number has to be 1. The other digits have to be 2,3,5 or 7.
Considering the number in the form 1x1x1x1x1x where x = 2,3,5,7.
To place all four digits there are five slots as repetition of numbers is allowed so we can arrange all four numbers in \[4\times 4\times 4\times 4\times 4={{2}^{10}}\] . . . . . . . . . . . (a)
Now considering in another form,
x1x1x1x1x1. Here there are 5 free positions.
To place all four digits there are five slots as repetition of numbers is allowed so we can arrange all four numbers in \[4\times 4\times 4\times 4\times 4={{2}^{10}}\] . . . . . . . . . . . (b)
The total possible numbers are \[{{2}^{10}}+{{2}^{10}}\]
\[2\times {{2}^{10}}\]
\[{{2}^{11}}=2048\]
Thus total possible numbers are 2048.
The answer is option B.
Note: For the ten digit number we can write two forms as seen above. If repetition of numbers is not allowed then we cannot place the same number in the other place if once taken. In the question it is not mentioned anything about repetition so we can assume repetition is allowed.
Recently Updated Pages
What will happen if a marine fish is placed in fre class 10 biology CBSE

How do you graph a decimal on a coordinate graph class 10 maths CBSE

Write a composition 350400 words on the following Write class 10 english CBSE

How does AC differ from DC What are the advantages class 10 physics CBSE

The children in your neighborhood are forced to play class 10 english CBSE

A battery consists of a variable number n of identical class 10 physics CBSE

Trending doubts
Which are the Top 10 Largest Countries of the World?

What are the major means of transport Explain each class 12 social science CBSE

Differentiate between insitu conservation and exsitu class 12 biology CBSE

Draw a labelled sketch of the human eye class 12 physics CBSE

State the principle of an ac generator and explain class 12 physics CBSE

Give 10 examples of unisexual and bisexual flowers

