http://www.perlmonks.org?node_id=690228


in reply to ulam's spiral too slow

Just in case anyone stumbles to this node when searching for "ulam's spiral", the other ulam's spiral thread is Spiraling integers.