Prime substring solution