Let ∑ n = 1 ∞ a n {\displaystyle {}\sum _{n=1}^{\infty }a_{n}} be a convergent series with a n ∈ [ 0 , 1 ] {\displaystyle {}a_{n}\in [0,1]} for all n ∈ N {\displaystyle {}n\in \mathbb {N} } and let f : [ 0 , 1 ] → R {\displaystyle {}f\colon [0,1]\rightarrow \mathbb {R} }