Erdös-Selfridge categorization of primes: Difference between revisions
Erdös-Selfridge categorization of primes (view source)
Revision as of 10:48, 20 April 2022
, 2 years agoFull task
Thundergnat (talk | contribs) m (→{{header|Raku}}: slightly more efficient) |
(Full task) |
||
Line 1:
{{
A prime p is in category 1 if the prime factors of p+1 are 2 and or 3. p is in category 2 if all the prime factors of p+1 are in category 1. p is in category g if all the prime factors of p+1 are in categories 1 to g-1.
|