A quadratic equation
is called binary-quadratic if it satisfy the following conditions:
All digits of the non-negative integers and are either or
All digits of the roots are either or
How many binary-quadratic equations are there such that both roots are smaller than .