Given a very large number $F$ which is a repetition of a number $N$ , $M$ number of times. Is there a way to represent that number in form of geometric series.
For eg - $F=321321321\cdots 321$ where $321$ is repeated $100$ times. Then $F=321(100100100100\cdots 1001) = 321(100^{99}+100^{98}+\cdots+100+1)$
Is there a general Formula for a given $F,N,M$ ?