公式

> restart:

> (x^(ithprime(m)^n)-1)
=((x-1)*Product(Sum(x^(i*ithprime(m)^j),i=0..ithprime(m)-1),j=0..n-1));

[Maple Math]