We assume that, for all $k\in\mathbb{N}$, $p_k=\frac{1}{2^{k+1}}$. Express, for $t\in[0,1]$, $f(t)$ and calculate $m$.