Given a positive integer $n$, let $a_1,a_2,..,a_n$ be a sequence of nonnegative integers. A sequence of one or more consecutive terms of $a_1,a_2,..,a_n$ is called $dragon$ if their aritmetic mean is larger than 1. If a sequence is a $dragon$, then its first term is the $head$ and the last term is the $tail$. Suppose $a_1,a_2,..,a_n$ is the $head$ or/and $tail$ of some $dragon$ sequence; determine the minimum value of $a_1+a_2+\cdots +a_n$ in terms of $n$.
1. **Understanding the Problem:**
   We need to determine the minimum value of the sum \(a_1 + a_2 + \cdots + a_n\) for a sequence of nonnegative integers \(a_1, a_2, \ldots, a_n\) such that the sequence is either the head or the tail of some "dragon" sequence. A "dragon" sequence is defined as a sequence of one or more consecutive terms whose arithmetic mean is larger than 1.

2. **Formulating the Problem:**
   To find the minimum value of \(a_1 + a_2 + \cdots + a_n\), we need to ensure that there exists at least one "dragon" sequence. This means that there must be at least one subsequence whose arithmetic mean is greater than 1.

3. **Analyzing the Conditions:**
   - If \(a_1\) is the head of a "dragon" sequence, then \(a_1\) must be greater than 1.
   - If \(a_n\) is the tail of a "dragon" sequence, then the arithmetic mean of the sequence ending at \(a_n\) must be greater than 1.

4. **Constructing the Sequence:**
   To minimize the sum \(a_1 + a_2 + \cdots + a_n\), we need to find the smallest values for \(a_i\) that satisfy the condition of having at least one "dragon" sequence.

5. **Optimal Sequence Construction:**
   - If \(n\) is even, we can set half of the terms to be 2 and the other half to be 0. This ensures that the arithmetic mean of any subsequence containing at least one 2 is greater than 1.
   - If \(n\) is odd, we can set \(\lfloor \frac{n}{2} \rfloor + 1\) terms to be 2 and the remaining terms to be 0. This ensures that the arithmetic mean of any subsequence containing at least one 2 is greater than 1.

6. **Calculating the Minimum Sum:**
   - For even \(n\), the minimum sum is \(\frac{n}{2} \times 2 = n\).
   - For odd \(n\), the minimum sum is \((\lfloor \frac{n}{2} \rfloor + 1) \times 2 = n + 1\).

7. **Generalizing the Result:**
   The minimum value of \(a_1 + a_2 + \cdots + a_n\) can be expressed as \(\lfloor \frac{n}{2} \rfloor + 1\).

The final answer is \( \boxed{ \lfloor \frac{n}{2} \rfloor + 1 } \).