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


Author: mathforces
Problem has been solved: 7 times

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

Lin and Nil shared 10 blue and 9 yellow pencils and each of them laid out their pencils in a row. Let $N$ be the number of different distributions of pencils, for which each of them has at least 1 pencil and each of them has no two yellow pencils next to each other in a row. Find the remainder when $N$ is divided by 1000.

Sorry, you need to login into your account