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."
Select every other element of a vector
20811 Solvers
2257 Solvers
123 Solvers
Set the array elements whose value is 13 to 0
955 Solvers
Number of Even Elements in Fibonacci Sequence
679 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!