Quote:
Originally Posted by putnam120 I don't think the statement is true the way you have phrased it. For a counter example consider  if  and  if  . Then let  be any sequence such that  . This has  but f is not continuous.
So I think you need to impose some additional conditions on either f or  . |
That counterexample doesn't work. For example, assume

is rational and all

are irrational and converge to zero. Then clearly

is zero, but

, so this discontinuous function indeed does not satisfy convergence for any such sequence.
To the OP, the argument from and for continuity should be straightforward. Keep in mind that one definition of continuity is all about the behavior of the function over convergent sequences. Also keep in mind that the sum of convergent sequences converges to the sum of limits.