Changed ToDotString to use 1-based indexing for primes