Let $n\geq 3$ and $A_1,A_2,\ldots,A_n$ be points on a circle. Find the largest number of acute triangles that can be considered with vertices in these points.

[i]G. Eckstein[/i]
1. **Assumption and Notation:**
   We assume the points \( A_1, A_2, \ldots, A_n \) are ordered counterclockwise on the circle, indexed in \( \mathbb{Z}_n \) (thus \( A_{mn+k} = A_k \)). Denote by \( A_iA_j \) the arc of the circle starting from \( A_i \) and ending in \( A_j \) (in counterclockwise direction). We call an arc \textit{non-acute} if \( m(A_iA_j) \geq 180^\circ \). Let \( x_s \) be the number of non-acute arcs \( A_iA_{i+s} \) (having \( s-1 \) points in the interior).

2. **Non-Acute Arcs:**
   Clearly, \( m(A_iA_j) + m(A_jA_i) = 360^\circ \), hence at least one of the arcs \( A_iA_j \) and \( A_jA_i \) is non-acute. Thus, we can infer that 
   \[
   x_s + x_{n-s} \geq n
   \]
   for every \( s = 1, 2, \ldots, n-1 \). Equality holds if and only if there are no diametrically opposite points \( A_i, A_{i+s} \).

3. **Counting Non-Acute Triangles:**
   We will count the number of non-acute triangles \( A_iA_jA_k \). Clearly, such a triangle has exactly one angle corresponding to a non-acute arc. For each non-acute arc \( A_iA_j \) having \( s-1 \) points in the interior, there are \( n-s-1 \) non-acute triangles \( A_iA_jA_k \), for which \( \angle A_k \) corresponds to the arc \( A_{i}A_j \), namely those with \( A_k \) in the interior of the arc \( A_jA_i \). It follows the number of non-acute triangles is
   \[
   N = x_1 \cdot (n-2) + x_2 \cdot (n-3) + \cdots + x_{n-2} \cdot 1 + x_{n-1} \cdot 0.
   \]

4. **Regrouping Terms for \( n \) Odd:**
   By regrouping terms and using the inequality \( x_s + x_{n-s} \geq n \), we obtain for \( n \) odd:
   \[
   N \geq 0 \cdot (x_{n-1} + x_1) + 1 \cdot (x_{n-2} + x_2) + \cdots + \frac{n-3}{2} \cdot (x_{\frac{n+1}{2}} + x_{\frac{n-1}{2}}) \geq n \left(1 + 2 + \cdots + \frac{n-3}{2}\right).
   \]
   The sum of the first \( \frac{n-1}{2} \) natural numbers is:
   \[
   1 + 2 + \cdots + \frac{n-3}{2} = \frac{\left(\frac{n-1}{2}\right) \left(\frac{n-1}{2} + 1\right)}{2} = \frac{(n-1)(n+1)}{8}.
   \]
   Thus,
   \[
   N \geq \frac{n(n-3)(n-1)}{8}.
   \]
   Therefore, the number of acute triangles is at most:
   \[
   \binom{n}{3} - \frac{n(n-3)(n-1)}{8} = \frac{n(n-1)(n+1)}{24}.
   \]
   This can be reached, for example, for a regular \( n \)-gon.

5. **Regrouping Terms for \( n \) Even:**
   By regrouping terms and using the inequality \( x_s + x_{n-s} \geq n \), we obtain for \( n \) even:
   \[
   N \geq 0 \cdot (x_{n-1} + x_1) + 1 \cdot (x_{n-2} + x_2) + \cdots + \frac{n-4}{2} \cdot (x_{\frac{n+2}{2}} + x_{\frac{n-2}{2}}) + \frac{n-2}{2} \cdot x_{\frac{n}{2}} \geq n \left(1 + 2 + \cdots + \frac{n-4}{2} + \frac{n-2}{4}\right).
   \]
   The sum of the first \( \frac{n-2}{2} \) natural numbers plus \( \frac{n-2}{4} \) is:
   \[
   1 + 2 + \cdots + \frac{n-4}{2} + \frac{n-2}{4} = \frac{\left(\frac{n-2}{2}\right) \left(\frac{n-2}{2} + 1\right)}{2} + \frac{n-2}{4} = \frac{(n-2)(n+2)}{8}.
   \]
   Thus,
   \[
   N \geq \frac{n(n-2)^2}{8}.
   \]
   Therefore, the number of acute triangles is at most:
   \[
   \binom{n}{3} - \frac{n(n-2)^2}{8} = \frac{n(n-2)(n+2)}{24}.
   \]
   This can be reached, for example, for an almost regular \( n \)-gon (with no diametrically opposite vertices).

The final answer is \(\boxed{\frac{n(n-1)(n+1)}{24}}\) for \( n \) odd and \(\boxed{\frac{n(n-2)(n+2)}{24}}\) for \( n \) even.