Let (xn) be a sequence of finite real numbers and let (pn) be a sequence of finite real numbers ≥0 such that limn→∞(∑i=0npi)=+∞. Let yn=(∑i=0npixi)/(∑i=0npi) for those values of n such that ∑i=1npi=0. Show that liminfn→∞xn≤liminfn→∞yn≤limsupn→∞yn≤limsupn→∞xn.
Let H be any non-empty subset of the set of cluster points of the sequence (xn) in R. Show that the sequence (pn) of finite real numbers ≥0 can be determined so that limn→∞(∑i=0npi)=+∞ and so that the set of cluster points of the corresponding sequence (yn) contains H. [Reduce to the case where H is countable, then define (pn) by induction, taking its terms to be 0 or 1].
Deduce that the sequence (xn) converges in R if and only if the sequence (yn) converges in R for every sequence (pn) of numbers ≥0 such that limn→∞(∑i=0npi)=+∞.