Print table with product of prime numbers