A wire of resistance \( R \) is bent into a triangular pyramid as shown in figure with each segment having same length. The resistance between points \( A \) and \( B \) is \( \frac{R}{n} \). The value of \( n \) is:
\( 12 \)
\( 16 \)
\( 10 \)
\( 14 \)