Problem

Source:

Tags: number theory unsolved, number theory



Find the number of all integers $n$ with $4\le n\le 1023$ which contain no three consecutive equal digits in their binary representations.