$$P(s,b,n,A)=\sum_{k=0}^\infty \frac1{b^k}\sum_{j=1}^n \frac{a_j}{(nk+j)^s}$$
I would like to understand how this generic type of BBP formula relates to the famous BBP formula:
$$\pi=\sum_{k=0}^\infty \frac1{16^k}\left[\frac4{8k+1}-\frac2{8k+4}-\frac1{8k+5}-\frac1{8k+6}\right]$$
I only understand that $b$ is base $= 16$. The variables I'm not sure about are $n = 8$ and $s = 1$. $P(s,b,n,A) = P(1,16,8,A)$
I don't know what the $P$,$A$,$a$ and $j$ variables stand for or if I got $s$ and $n$ correct.
Based on this particular math paper (note they substitute the letter $l$ for $n$ in that paper), they say that $A$ is a vector of integers. I'm not really sure what that means but my guess is that $A$ in this case is four numbers: $4,-2,-1,-1$.
I would appreciate if someone could clarify or explain the meaning of these variables for me and what it is that I haven't understood correctly.