If n is the smallest natural number such that n+2n+3n+.....+99n is a perfect square, then the number of digits in n2 is