Consider n-digit numbers where each digit is one of the 10 integers 0, 1, ..., 9. How many such numbers are there for which
(a) no two consecutive digits are equal?
(b) 0 appears as a digit a total of i times, i = 0,..., n?
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.