Prime numbers factory