I am studying analytic number theory from Tom M. Apostol and I cannot think about this argument related to infinite products, which is to be used in a proof.
I know that every positive integer can be represented as one among $3n-1$, $3n-2$, $3n$, so can it be deduced that $$\prod_{n=1}^{\infty} \left(1 - x^n\right) = \prod_{n=1}^{\infty} \left(1-x^{3n}\right)\left(1-x^{3n -1}\right) \left(1-x^{3n-2}\right) .$$
If so, can someone please give a rigorous argument?
If a sequence converges to a value, so does any subsequence. The LHS is by definition equal to $$\lim_{n\to\infty}\prod_{k=1}^n\left(1-x^k\right).$$ The RHS is equal to $$\lim_{n\to\infty}\prod_{k=1}^{3n}\left(1-x^k\right).$$ Do you now see why they’re equal?