The limit of averages
Task number: 3875
In dependence on the first two members \( a_0, a_1 \) of the sequence, determine the limit \(\lim_{n\to\infty} a_n \).
Variant
In the sequence \( (a_0, a_1, a_2, \ldots) \) every further element is always the arithmetic mean of the previous two elements (i.e. \(a_{n+2}=\frac{a_{n+1}+a_n}{2}\) for \(n\geq 0 \)).
Variant
In the sequence \( (a_0, a_1, a_2, \ldots) \) every further element is always the arithmetic mean of all the previous elements (i.e. \(a_n=\frac{a_0+\ldots+a_{n-1}}{n}\) for \(n\geq 0 \)).