View Single Post
Old 2019-05-09, 22:59   #4
hansl's Avatar
Apr 2019

110011012 Posts

Originally Posted by R. Gerbicz View Post
I have read a little bit about wheel factorization, and was honestly thinking about mentioning that too. It generates sequences of "mostly prime" numbers, but I'm curious what would be a good scheme to store pre-computed "misses" given some limited wheel size, or how to determine an optimum wheel size for a given n?

Also I would count the wheel itself as part of the pre-computed data.
I'll have to think about it some to determine what kind of optimal gains this would entail.
hansl is offline   Reply With Quote