How to prove?

I've just brute-forced answers for N = 2...500 and found the trick.

But how to prove it is always correct or, at least, for the given binary sequences?

Re: How to prove?

Yes, there is a proof. Your e-mail, please.

Re: How to prove?

pp.miroslav@gmail.com

Re: How to prove?

Posted by

lxn 30 Aug 2016 11:24

Brute force answers for N = 2.. 500 is a vary good hint for this problem ). Thank you.