final versions of prime output to 100000