display primes in various ways