Re:Why do prime numbers make these spirals?
by pcmaffey on Tuesday April 25, 2023 @11:28PM
(#35709398)
Yes, it was such a thrill to discover this in college (not a math major). I formulated it as all primes >2 are “factors” of 1 and 5 in a base 6 notation.
[ Parent
| on HN ]
Re:Why do prime numbers make these spirals?
by MayeulC on Wednesday April 26, 2023 @04:51AM
(#35711035)
Well, factor is clearly the wrong technical term here, you probably meant the last digit? Like the last digit (remainder of modulo 10 division: p%10 in C-notation) of a prime number (p>5) in base 10 can be {1,3,7,9}.
And yes, in base 6 that becomes 1 and 5, as p%6 = 1 or 5, equivalent to p=6k±1. Interesting observation, thanks :)