# From 2013 to 2014

The transition from 2013 to 2014 is special because the binary representations of 2013 and 2014 both have exactly two digits of 0.

How many integers $$1\le N<2014$$ satisfy the condition that the binary representations of $$N$$ and $$N+1$$ both have exactly two digits of 0?

×