```
Simplify[Mod[FromDigits[{a, b, a, b, a, b}], 7], {a, b} ∈ 
  PositiveIntegers]
```

> `0`