This question was asked in my real analysis quiz and I couldnot solve it .
Question : Let $a_{i} , i\in \mathbb{R}$ be non-negative real numbers such that $$\sup\left\{\sum_{i\in F}a_i\bigg| F\subseteq \mathbb{R} \text{ a finite subset}\right\}$$ is finite. Show that $a_{i}=0$ except for countably many $i\in \mathbb{R}$. Also give reasons if 'countably' can be replaced by 'finite'?
I am badly struck on this. As supremum of sum is finite so I think there would be only finite $a_{i}$ which would be non-zero instead of countable.
I feel it hard to give rigorous arguments in such kind of questions. So , it is my humble request to give a rigorous answer and tell in general on how such problems should be approached.
Thanks!!