generate primes with other generators
just check gen 5 in node 11