As with the other problem of this kind, the problem description should be "Calculate the number of n-digit numbers that do not contain successive d-number of zeros at least."
Is my wife right? Now with even more wrong husband
1242 Solvers
Sum all integers from 1 to 2^n
8428 Solvers
Longest run of consecutive numbers
1675 Solvers
207 Solvers
519 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!