Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@GerhardPaseman Sorry if I am misunderstanding, but does this approach lead to an expression for $c(\theta)?$ Or why the leading term must be of this form?
I can easily see that this sum looks as follows: for $n$ less than or equal to $x$ but strictly larger than $x/2,$ the summands are $1.$ For $x/3< n \leq x/2$ they are $2^{-\theta}$ and so on. But I am having trouble using this to get anywhere