3 ms·
It's basically https://en.wikipedia.org/wiki/Trial_division https://en.wikipedia.org/wiki/Trial_division using the + operator, and enforcing the bounds of the m
by userbinator 5y ago
It's basically https://en.wikipedia.org/wiki/Trial_division https://en.wikipedia.org/wiki/Trial_division using the + operator, and enforcing the bounds of the match to require a zero remainder.