Let $729,81,9,1, \ldots$. be a sequence and $\mathrm{P}_n$ denote the product of the first $n$ terms of this sequence.
If $2 \sum_{n=1}^{40}\left(\mathrm{P}_n\right)^{\frac{1}{n}}=\frac{3^\alpha-1}{3^\beta}$ and $\operatorname{gcd}(\alpha, \beta)=1$, then
$\alpha+\beta$ is equal to