5. Given integers $a_{1}, a_{2}, \cdots, a_{5}$ satisfy
$$
1=a_{1}<a_{2}<\cdots<a_{5}=15 \text {, }
$$

and for any $i=2,3, 4$ there is $a_{i}^{2} \leqslant a_{i-1} a_{i+1}+1$. Then the number of $\left(a_{1}, a_{2}, \cdots, a_{5}\right)$ that satisfy the conditions is $\qquad$ groups.