Python - 4 line solution (Easy)
\nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        result = ""\n        for i in range(1, n+1):\n            result = result + bin(i)[
```\nclass Solution:\n    def concatenatedBinary(self, n: int) -> int:\n        result = ""\n        for i in range(1, n+1):\n            result = result + bin(i)[2:]\n        return int(result , 2) % (10**9 + 7)\n```
['Python']