CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

The number of 10-digit numbers such that the product of any two consecutive digits in the numbers is prime number, is

A
1024
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
2048
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
512
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
64
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 2048
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.

So basically, every other number has to be 1. The other digits have to be 2,3,5 or 7.

As we are talking about 10 digit numbers,

Case 1:

Consider numbers of the form 1x1x1x1x1x, where x=2,3,5 or 7.
For each x you have 4 possible selections (2,3,5,7) - so you multiply 4,5 times(for the 5 slots)

Possible numbers=4×4×4×4×4×45=210

Case 2:

Consider numbers of the form x1x1x1x1x1.

For each x you have 4 possible selections (2,3,5,7) - you multiply 4,5 times(for the 5 slots)

Possible numbers=4×4×4×4×4=45=210

Thus, total possible numbers=210+210=2×210=211=2048.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Playing with 2 - Digit and 3 - Digit Numbers
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon