Let $ n > 1$ be an odd positive integer and $ A = (a_{ij})_{i, j = 1..n}$ be the $ n \times n$ matrix with 
\[ a_{ij}= \begin{cases}2 & \text{if }i = j \\ 1 & \text{if }i-j \equiv \pm 2 \pmod n \\ 0 & \text{otherwise}\end{cases}.\]
Find $ \det A$.
1. **Matrix Definition and Properties**:
   Given an \( n \times n \) matrix \( A = (a_{ij}) \) where \( n > 1 \) is an odd positive integer, the entries \( a_{ij} \) are defined as:
   \[
   a_{ij} = \begin{cases}
   2 & \text{if } i = j \\
   1 & \text{if } i - j \equiv \pm 2 \pmod{n} \\
   0 & \text{otherwise}
   \end{cases}
   \]
   This matrix is a circulant matrix, which means it can be diagonalized using the Fourier matrix \( F \).

2. **Fourier Matrix**:
   The Fourier matrix \( F \) has entries \( F_{jk} = \exp\left( \frac{2\pi i jk}{n} \right) \). The columns of \( F \) are eigenvectors of \( A \).

3. **Eigenvalues Calculation**:
   Let \( v_j \) be the \( j \)-th column of \( F \). The associated eigenvalue \( \lambda_j \) for \( A \) is given by:
   \[
   \lambda_j = 2 + \omega^{2j} + \overline{\omega}^{2j}
   \]
   where \( \omega = e^{2\pi i / n} \) and \( \overline{\omega} \) is the complex conjugate of \( \omega \).

4. **Simplifying Eigenvalues**:
   Using the property \( \overline{\omega} = \omega^{-1} \), we get:
   \[
   \lambda_j = 2 + \omega^{2j} + \omega^{-2j}
   \]
   Since \( \omega^{2j} + \omega^{-2j} = 2 \cos(2j\theta) \) where \( \theta = \frac{2\pi}{n} \), we have:
   \[
   \lambda_j = 2 + 2 \cos(2j\theta) = 2(1 + \cos(2j\theta)) = 4 \cos^2(j\theta)
   \]

5. **Chebyshev Polynomials**:
   The numbers \( \cos(j\theta) \) are the roots of the Chebyshev polynomial \( T_n(x) - 1 = 0 \), where \( T_n(x) = \cos(n \arccos x) \).

6. **Product of Eigenvalues**:
   The determinant of \( A \) is the product of its eigenvalues:
   \[
   \det(A) = \prod_{j=0}^{n-1} 4 \cos^2(j\theta)
   \]
   Since \( \cos(j\theta) \) are the roots of \( T_n(x) - 1 = 0 \), we need to consider the product of these roots.

7. **Chebyshev Polynomial Properties**:
   The product of the roots of \( T_n(x) - 1 = 0 \) is given by:
   \[
   (-1)^n \cdot \frac{a_n}{2^{n-1}}
   \]
   where \( a_n \) depends on \( n \mod 4 \):
   \[
   a_n = \begin{cases}
   0 & \text{if } n \equiv 0 \pmod{4} \\
   -1 & \text{if } n \equiv 1 \pmod{2} \\
   -2 & \text{if } n \equiv 2 \pmod{4}
   \end{cases}
   \]

8. **Final Determinant Calculation**:
   Squaring the product and multiplying by \( 4^n \), we get:
   \[
   \det(A) = \begin{cases}
   4 & \text{if } n \text{ is odd} \\
   0 & \text{if } n \equiv 0 \pmod{4} \\
   16 & \text{if } n \equiv 2 \pmod{4}
   \end{cases}
   \]

The final answer is \( \boxed{4} \) when \( n \) is an odd positive integer.