\( \definecolor{colordef}{RGB}{249,49,84} \definecolor{colorprop}{RGB}{18,102,241} \)
A geometric sequence is defined by its initial term \(u_0=10\) and a common ratio \(r=2\).
Determine the index \(n\) for which the term \(u_n\) has a value of 160.
\(n=\)