Problem: 2072F - Прощай, жизнь банкира, здравствуй, жизнь мага
I learned about the Pascal's triangle solution, but i upsolved it by seeing this pattern:
1
1 1
1 0 1
1 1 1 1
Thing is, I'm unable to prove why this should work and its bothering me alot, can anyone help me out?!
Update : The pattern is known as sierpinski's triangle







