Problem 45436. Successive zeros
Suppose n is the number of digits a number contains. Now,
12032 - is a valid n=5 digit number. But 10023 - is defined as invalid -- because it contains two successive zeros.
Calculate the number of n-digit numbers that do not contain successive d-number of zeros.
Solution CommentsShow comments
Problem Recent Solvers15