Pandigital numbers generation. Lacks primality test.