Isn't it plotting a prime spiral, not GCD?
Obviously prime implies gcd=1, but the "kth" square isn't "k", because it's a spiral counting up from the center.
Isn't it plotting a prime spiral, not GCD?
Obviously prime implies gcd=1, but the "kth" square isn't "k", because it's a spiral counting up from the center.