Easy Solution
Code

# Code
```python3 []
class Solution:
    def smallestNumber(self, n: int) -> int:
        x=n
        while x>=n:
            a=bin(x)[2:]
            if '0' in a:
                x+=1
            if '0' not in a:
                return x
                break
```
['Python3']