MathForces: Math Olympiads
MathForces - Math Olympiadsβeta
Login Register

Zeros and Ones

Author: mathforces
Problem has been solved: 26 times

Русский язык | English Language



We call a sequence of zeros and ones cool if any number of consecutive zeros is even and any number of consecutive ones is odd. Find the number of such cool sequences of length 14.





Sorry, you need to login into your account