Guest

How many of the non-negative integers from 0 to 9999 have no two adjacent digits the same how to approch this ?

How many of the non-negative integers from 0 to 9999 have no two adjacent digits the same
 
how to approch this ?

Grade:12th pass

1 Answers

Saurabh Koranglekar
askIITians Faculty 10335 Points
4 years ago
Dear student

Using permutations and combinations approach

1 digits -> 10 numbers
2 digits -> 9*9 = 81 numbers
3 digits -> 9*9*8= 648 numbers
4 digits ->9*9*8*7= 4536 numbers

Total = 5275 numbers

Regards

Think You Can Provide A Better Answer ?