https://s0.wp.com/latex.php?latex=%7B%5Cdisplaystyle+r%3D%5Cfrac%7B2%5E%7Bk%7Dq-%5Cleft%28q%2B1%5Cright%29%7D%7B%5Cleft%28q%2B1%5Cright%29-2%5E%7Bk%7D%7D%7D&bg=ffffff&fg=333333&s=0&c=20201002