3 ms·
UPDATE - Saturday May 19 Join the Telegram group to discuss: https://t.me/joinchat/G8AnchIna2q8yn1lGHirkA https://t.me/joinchat/G8AnchIna2q8yn1lGHirkA Note th
by airesearcher 8y ago
UPDATE - Saturday May 19
Join the Telegram group to discuss:
https://t.me/joinchat/G8AnchIna2q8yn1lGHirkA https://t.me/joinchat/G8AnchIna2q8yn1lGHirkA
Note that Even and Odd Values of N have a very different pattern. For example try using the values 99 and 99, and then 100 and 100, in this HTML preview version:
https://htmlpreview.github.io/?https://github.com/acmegeek/primes/blob/master/index.html?11 https://htmlpreview.github.io/?https://github.com/acmegeek/p...
Here is animation of increasing even values of N approaching GCD:
https://streamable.com/l7r96 https://streamable.com/l7r96
CODE TO TRY:
Javascript
https://beta.observablehq.com/@montyxcantsin/unwinding-the-u.. https://beta.observablehq.com/@montyxcantsin/unwinding-the-u....
Mathematica
https://github.com/shaunxcode/a-pattern-in-the-primes https://github.com/shaunxcode/a-pattern-in-the-primes
Perl
https://www.dropbox.com/s/z5tfub5geyuctex/prime-draw.pl?dl=0 https://www.dropbox.com/s/z5tfub5geyuctex/prime-draw.pl?dl=0
EXPLANATION:
In short, actually there are some curious patterns in this, and they are not simply equivalent to OEIS A054521 (as we, and others, initially thought they were).
For even values of n, they can be rendered by the GCD sequence, without the primality testing. But for odd values the pattern is different and GCD doesn't describe it.