Prime family generator