We can write S as
and expand it as
The first sum is geometric, nothing tricky:
For the second sum, you can use the same method employed in another question of yours (24494877) to find
So this sum comes out to
1.6m questions
2.0m answers