The first term of a geometric progression is 3, and the common ratio is 2. If the sum of the first \(n\) terms of the geometric progression is 765, find the value of \(n\). Let's think step by step and output the final answer within \boxed{}.
user