<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7772800703483337582</id><updated>2011-08-02T19:29:43.881-07:00</updated><category term='google map ulam spiral python image library PIL satellite map'/><category term='ulam spiral visual python 3d mushroom cloud'/><category term='ulam spiral prime number fractal'/><category term='ulam spiral e pi squirrel math mathematics python Persian rug pattern'/><category term='prime number map connect dots'/><category term='prime number 18'/><category term='fractal pi modulo'/><category term='ulam spiral white noise gauss'/><category term='jaco pastorius stanislaw ulam jeff buckley jimi hendrix spiral number theory graphics pi e modulus modulo'/><category term='9'/><category term='ulam spiral random grid'/><category term='golden mean ratio ulam spiral'/><category term='video ulam spiral modulo'/><category term='primes ulam spiral distribution'/><category term='modulo 5 ulam spiral'/><category term='base 9 root spiral ulam interval prime'/><category term='phi ulam spiral'/><category term='10 ulam spiral'/><category term='e ulam spiral mathematical constant marilyn monroe pop art'/><category term='8'/><category term='primes 7 ulam spiral distribution'/><category term='modulo 3 ulam spiral mathematics spiral numbers Flash actionscript'/><category term='ulam spiral python 3d 2d'/><category term='typography type ulam spiral marilyn monroe mathematics'/><category term='modulo PI PHI ulam spiral mathematics spiral numbers Flash actionscript'/><category term='e ulam spiral mathematical constant'/><category term='modulo 7'/><category term='square root of 2 ulam spiral'/><category term='sin ulam spiral'/><category term='ulam mathmatics spiral prime numbers Flash actionscript'/><category term='typography type ulam spiral graphics mathematics moon luna'/><title type='text'>Ulam Spirals</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-2675696981749594740</id><published>2010-05-23T19:56:00.001-07:00</published><updated>2010-05-24T10:30:25.356-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral white noise gauss'/><title type='text'>Gaussian White Noise Wave Functions</title><content type='html'>Various examples of ulam spirals using a continuous tube to plot the points in conjunction with a white noise wave function to plot the z-coordinate. Generator written in Python using the VPython library.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nrGPgRI4I/AAAAAAAAAig/UxewNQOMM-M/s1600/spaghetti_monster.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 301px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nrGPgRI4I/AAAAAAAAAig/UxewNQOMM-M/s400/spaghetti_monster.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5474665314519163778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nrpZrs-CI/AAAAAAAAAiw/bL45EFo4XeE/s1600/nemesis-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 299px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nrpZrs-CI/AAAAAAAAAiw/bL45EFo4XeE/s400/nemesis-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5474665918546901026" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/S_nrdUj_qTI/AAAAAAAAAio/_ngVcwOlZ3M/s1600/primes_boat_hull.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 296px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/S_nrdUj_qTI/AAAAAAAAAio/_ngVcwOlZ3M/s400/primes_boat_hull.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5474665711013964082" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Some other shapes using the gaussian white noise to determine dimensions of plot objects.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nsIpdLkrI/AAAAAAAAAjA/7yKcaM8UXCs/s1600/red-paintings.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 301px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nsIpdLkrI/AAAAAAAAAjA/7yKcaM8UXCs/s400/red-paintings.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5474666455356904114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/S_nsDGuv0rI/AAAAAAAAAi4/s7X-08Cr8qI/s1600/flying_monoliths.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 301px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/S_nsDGuv0rI/AAAAAAAAAi4/s7X-08Cr8qI/s400/flying_monoliths.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5474666360135996082" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/S_n1vDp2PlI/AAAAAAAAAjI/5zIULLOkbaQ/s1600/trip-o-rama.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 301px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/S_n1vDp2PlI/AAAAAAAAAjI/5zIULLOkbaQ/s400/trip-o-rama.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5474677010829033042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-2675696981749594740?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/2675696981749594740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=2675696981749594740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2675696981749594740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2675696981749594740'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2010/05/gaussian-white-noise-wave-functions.html' title='Gaussian White Noise Wave Functions'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/S_nrGPgRI4I/AAAAAAAAAig/UxewNQOMM-M/s72-c/spaghetti_monster.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3216448842014810100</id><published>2009-04-06T14:21:00.000-07:00</published><updated>2009-04-06T15:26:40.237-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video ulam spiral modulo'/><title type='text'>Spiral Video Series</title><content type='html'>Using smplayer/mencoder to convert PNG output to video. Formula and other control info is automatically inserted into the beginning of the video. This set is using a 2x2 pixel plotted out using the Ulam spiral "RULD" method. Pixel is black or red if the pixel number &lt;CODE&gt;(pInt)&lt;/CODE&gt; passes the following test (e.g.): &lt;CODE&gt;if round(((pInt)*pi)*pow(sqrt(pInt)/pi+(_multiplier/9), (1.2)) )%2==0:&lt;/CODE&gt; Iterating the value of _multiplier (or any other variable), we generate a new PNG file when the _range value is met. Stitching these images together into a video reveals motion within the overall pattern. For example, incrementing _multiplier very slightly for each image creates less disruption from one image to the next. Frame rate varies, generally within 2 to 15 FPS. Too bad blogger is overcompressing these, they are quite nice before they hit the FLV codec. C'est la vie.&lt;br /&gt;&lt;br /&gt;&lt;object width="640" height="360" class="BLOG_video_class" id="BLOG_video-dc74ce290e26948e" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v6.nonxt1.googlevideo.com/videoplayback?id%3Ddc74ce290e26948e%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D5D504B91C60640D8EE9FFFD83B4621ED411FF01.7465D060F0C143AA481F0DC89595752126F8CBFA%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Ddc74ce290e26948e%26offsetms%3D5000%26itag%3Dw160%26sigh%3DYWJnrjHe32g19jTIYrY7-yk4Q6A&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="640" height="360" bgcolor="#FFFFFF"flashvars="flvurl=http://v6.nonxt1.googlevideo.com/videoplayback?id%3Ddc74ce290e26948e%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D5D504B91C60640D8EE9FFFD83B4621ED411FF01.7465D060F0C143AA481F0DC89595752126F8CBFA%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3Ddc74ce290e26948e%26offsetms%3D5000%26itag%3Dw160%26sigh%3DYWJnrjHe32g19jTIYrY7-yk4Q6A&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="640" height="360" class="BLOG_video_class" id="BLOG_video-67279bf55e312b57" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v15.nonxt1.googlevideo.com/videoplayback?id%3D67279bf55e312b57%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D21DEF249B2A60EE9AA908ED0BB82525C7CC1D918.2086913C89CF6ED3C94D9C27F530898FDC46F426%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D67279bf55e312b57%26offsetms%3D5000%26itag%3Dw160%26sigh%3DoHGsFhmGF4be4oX7BtjuTqNWq6E&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="640" height="360" bgcolor="#FFFFFF"flashvars="flvurl=http://v15.nonxt1.googlevideo.com/videoplayback?id%3D67279bf55e312b57%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D21DEF249B2A60EE9AA908ED0BB82525C7CC1D918.2086913C89CF6ED3C94D9C27F530898FDC46F426%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D67279bf55e312b57%26offsetms%3D5000%26itag%3Dw160%26sigh%3DoHGsFhmGF4be4oX7BtjuTqNWq6E&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;br /&gt;&lt;object width="640" height="360" class="BLOG_video_class" id="BLOG_video-18aeaee590fb78ce" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v14.nonxt6.googlevideo.com/videoplayback?id%3D18aeaee590fb78ce%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D41BE24EC4D452D785C0FCBE1C2353A9F330EA424.1F4AF31C6A08CCD165C69886263D168D6B69AA42%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D18aeaee590fb78ce%26offsetms%3D5000%26itag%3Dw160%26sigh%3DD4LMgslq0hqM6wvvJyWJptWLUKI&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="640" height="360" bgcolor="#FFFFFF"flashvars="flvurl=http://v14.nonxt6.googlevideo.com/videoplayback?id%3D18aeaee590fb78ce%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D41BE24EC4D452D785C0FCBE1C2353A9F330EA424.1F4AF31C6A08CCD165C69886263D168D6B69AA42%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D18aeaee590fb78ce%26offsetms%3D5000%26itag%3Dw160%26sigh%3DD4LMgslq0hqM6wvvJyWJptWLUKI&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;Here's one of the first videos I cobbled together, a very quick prototype...&lt;br /&gt;&lt;object width="640" height="360" class="BLOG_video_class" id="BLOG_video-61844b545c1f2b6d" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.youtube.com/get_player"&gt;&lt;param name="bgcolor" value="#FFFFFF"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="flashvars" value="flvurl=http://v14.nonxt7.googlevideo.com/videoplayback?id%3D61844b545c1f2b6d%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D3FAC3D3FBE186247C9B298FFFD3527C4D3D16D1E.6BAEF8E95838F4C1B8833139C5EEF2ECF2756767%26key%3Dck1&amp;amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D61844b545c1f2b6d%26offsetms%3D5000%26itag%3Dw160%26sigh%3DLrJeQYqy8B-RsvpKghKSwPB-BOE&amp;amp;autoplay=0&amp;amp;ps=blogger"&gt;&lt;embed src="http://www.youtube.com/get_player" type="application/x-shockwave-flash"width="640" height="360" bgcolor="#FFFFFF"flashvars="flvurl=http://v14.nonxt7.googlevideo.com/videoplayback?id%3D61844b545c1f2b6d%26itag%3D5%26app%3Dblogger%26ip%3D0.0.0.0%26ipbits%3D0%26expire%3D1330352676%26sparams%3Did,itag,ip,ipbits,expire%26signature%3D3FAC3D3FBE186247C9B298FFFD3527C4D3D16D1E.6BAEF8E95838F4C1B8833139C5EEF2ECF2756767%26key%3Dck1&amp;iurl=http://video.google.com/ThumbnailServer2?app%3Dblogger%26contentid%3D61844b545c1f2b6d%26offsetms%3D5000%26itag%3Dw160%26sigh%3DLrJeQYqy8B-RsvpKghKSwPB-BOE&amp;autoplay=0&amp;ps=blogger"allowFullScreen="true" /&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3216448842014810100?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=18aeaee590fb78ce&amp;type=video%2Fmp4' length='0'/><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=61844b545c1f2b6d&amp;type=video%2Fmp4' length='0'/><link rel='enclosure' type='video/mp4' href='http://www.blogger.com/video-play.mp4?contentId=dc74ce290e26948e&amp;type=video%2Fmp4' length='0'/><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3216448842014810100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3216448842014810100' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3216448842014810100'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3216448842014810100'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2009/04/video-of-spiral-series.html' title='Spiral Video Series'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-1258091062374681390</id><published>2009-04-02T11:01:00.000-07:00</published><updated>2009-04-02T11:29:49.929-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral random grid'/><title type='text'>Random Grids</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SdUEE8scvmI/AAAAAAAAAb4/vO7i16J9JBc/s1600-h/__1238696870.43.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SdUEE8scvmI/AAAAAAAAAb4/vO7i16J9JBc/s400/__1238696870.43.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320163017866657378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SdT-7UbDTsI/AAAAAAAAAbo/TvvUiGXmyg8/s1600-h/__1238695467.29.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SdT-7UbDTsI/AAAAAAAAAbo/TvvUiGXmyg8/s400/__1238695467.29.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320157354879307458" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Detail:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SdUCnfTYVwI/AAAAAAAAAbw/7wTCucunEhw/s1600-h/closeup_01.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 150px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SdUCnfTYVwI/AAAAAAAAAbw/7wTCucunEhw/s400/closeup_01.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320161412249048834" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was bored today so I modified the base routine to select a cardinal direction randomly. These images are all built pulling from a list of 1,296 possible 2x2 pixel images. The original image is...&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SdT-nTXsX0I/AAAAAAAAAbg/rvSzseecyps/s1600-h/input_01.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 72px; height: 72px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SdT-nTXsX0I/AAAAAAAAAbg/rvSzseecyps/s400/input_01.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5320157010999402306" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-1258091062374681390?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/1258091062374681390/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=1258091062374681390' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/1258091062374681390'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/1258091062374681390'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2009/04/random-grids.html' title='Random Grids'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XjnYO1uZPUs/SdUEE8scvmI/AAAAAAAAAb4/vO7i16J9JBc/s72-c/__1238696870.43.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3884272026733030941</id><published>2009-03-12T15:54:00.000-07:00</published><updated>2009-03-12T16:36:03.239-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='e ulam spiral mathematical constant marilyn monroe pop art'/><title type='text'>Marilyn Hex</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SbmTBBq6jOI/AAAAAAAAAbA/t9omRKjswzw/s1600-h/marilyn_hex.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SbmTBBq6jOI/AAAAAAAAAbA/t9omRKjswzw/s400/marilyn_hex.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5312438881297796322" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SbmcW8Iox_I/AAAAAAAAAbQ/ObYhNXhFEY8/s1600-h/1236900604.87__new_img.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SbmcW8Iox_I/AAAAAAAAAbQ/ObYhNXhFEY8/s400/1236900604.87__new_img.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5312449153373620210" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3884272026733030941?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3884272026733030941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3884272026733030941' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3884272026733030941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3884272026733030941'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2009/03/marilyn-hex.html' title='Marilyn Hex'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SbmTBBq6jOI/AAAAAAAAAbA/t9omRKjswzw/s72-c/marilyn_hex.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-5948189798158578394</id><published>2008-11-01T22:08:00.000-07:00</published><updated>2008-11-01T22:34:33.567-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jaco pastorius stanislaw ulam jeff buckley jimi hendrix spiral number theory graphics pi e modulus modulo'/><title type='text'>Jaco Pastorius, Meet Stanislaw Ulam</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ02KdIqAsI/AAAAAAAAAUo/5bnX67TrVj0/s1600-h/jaco_pastorius.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ02KdIqAsI/AAAAAAAAAUo/5bnX67TrVj0/s400/jaco_pastorius.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263923092713505474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These are all using a very simple test for n, &lt;code&gt;round( pow(pInt,sqrt(1))/pi )%2==0&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ03kJcXZmI/AAAAAAAAAU4/kkL8TXqWelY/s1600-h/jaco_pastorius3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ03kJcXZmI/AAAAAAAAAU4/kkL8TXqWelY/s400/jaco_pastorius3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263924633615689314" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ04e1WY61I/AAAAAAAAAVA/bymKjwFzWjs/s1600-h/jaco_pastorius5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ04e1WY61I/AAAAAAAAAVA/bymKjwFzWjs/s400/jaco_pastorius5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263925641834195794" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Enter Jeff Buckley&lt;/h3&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ05nrfE7xI/AAAAAAAAAVI/_puPRtfKsIk/s1600-h/jeff_buckley1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ05nrfE7xI/AAAAAAAAAVI/_puPRtfKsIk/s400/jeff_buckley1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263926893316730642" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;...and Jimi&lt;/h3&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ07ZLhRUdI/AAAAAAAAAVQ/LWIJ43rD3Uc/s1600-h/jimi.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ07ZLhRUdI/AAAAAAAAAVQ/LWIJ43rD3Uc/s400/jimi.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263928843241083346" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-5948189798158578394?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/5948189798158578394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=5948189798158578394' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/5948189798158578394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/5948189798158578394'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/11/jaco-pastorius-meet-stanislaw-ulam.html' title='Jaco Pastorius, Meet Stanislaw Ulam'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ02KdIqAsI/AAAAAAAAAUo/5bnX67TrVj0/s72-c/jaco_pastorius.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3113452628569683462</id><published>2008-10-31T15:04:00.000-07:00</published><updated>2008-11-02T20:42:39.376-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google map ulam spiral python image library PIL satellite map'/><title type='text'>Respliced Satellite Maps</title><content type='html'>Some tinkering with PIL and Google Maps produced these cartographic miscarriages:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQuBIi4Z1EI/AAAAAAAAAUI/ATrSN5QgYxs/s1600-h/spirals_over_washington.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQuBIi4Z1EI/AAAAAAAAAUI/ATrSN5QgYxs/s400/spirals_over_washington.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263442573314872386" /&gt;&lt;/a&gt;&lt;br /&gt;And yes, we're still doing this with basic Ulam spiral algorithm.&lt;br /&gt;&lt;br /&gt;Test: &lt;code&gt;round(  pow(sqrt(pInt)/e, 1.2) )%3==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQuDKzmXMBI/AAAAAAAAAUQ/Fogqn1w9jdA/s1600-h/carto_spiral2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQuDKzmXMBI/AAAAAAAAAUQ/Fogqn1w9jdA/s400/carto_spiral2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263444811185598482" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;test: &lt;code&gt;round(  pow(sqrt(pInt)/e, 1.2) )%5==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQyj6Edt18I/AAAAAAAAAUY/AcpAWRgo8IM/s1600-h/canadian_lakes.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQyj6Edt18I/AAAAAAAAAUY/AcpAWRgo8IM/s400/canadian_lakes.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263762282515388354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;test: &lt;code&gt;round( pInt/e )%3==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQynKFKy4II/AAAAAAAAAUg/h7qf_5-BlZc/s1600-h/canadian_lakes2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQynKFKy4II/AAAAAAAAAUg/h7qf_5-BlZc/s400/canadian_lakes2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263765856117252226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Land-o-Lakes&lt;/h2&gt;&lt;br /&gt;Borrowing from Myka's number testing algorithm, I've introduced the x and y coordinates into the mix. The test &lt;code&gt;round((pi*pX)*(pY)*pInt)%2==0&lt;/code&gt;&lt;br /&gt;appears in &lt;a href="http://myka-x.blogspot.com/2008/08/squares-part-i.html"&gt;Myka's Square series&lt;/a&gt;. Thanks for the math, mofo. Of course, the resulting imagery differs greatly. My functions seem to lack the additional voodoo required to create the interference patterns.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ5iDygpktI/AAAAAAAAAVY/Kh1UTRa_mqU/s1600-h/land-o-lakes.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 390px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ5iDygpktI/AAAAAAAAAVY/Kh1UTRa_mqU/s400/land-o-lakes.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264252831680533202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ5je0q9PPI/AAAAAAAAAVg/S7ctwuZggIk/s1600-h/lakes_closeup.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ5je0q9PPI/AAAAAAAAAVg/S7ctwuZggIk/s400/lakes_closeup.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5264254395628731634" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And then I studied the Myka algorithms a bit more carefully. Behold:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5lcI41vCI/AAAAAAAAAVo/QOMJnt1tX0E/s1600-h/myka-square-1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5lcI41vCI/AAAAAAAAAVo/QOMJnt1tX0E/s400/myka-square-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264256548539317282" /&gt;&lt;/a&gt;&lt;br /&gt;This is using &lt;code&gt;round( (pi*pX)*(pY)*.0025) % 2==0&lt;/code&gt;, producing the same pattern as &lt;a href="http://3.bp.blogspot.com/_CXEv-TT3BIA/SLTjv1WJiOI/AAAAAAAAAAs/NHIo-vWGiFQ/s1600-h/s04.png"&gt;this Myka square&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;But here we use 2500 unique 4x4 pixel images to iteratively construct the same pattern:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5ogSbdlzI/AAAAAAAAAVw/Bc5xY5NiAbI/s1600-h/land-o-lakes-done-right.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5ogSbdlzI/AAAAAAAAAVw/Bc5xY5NiAbI/s400/land-o-lakes-done-right.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264259918354814770" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is the core image that was used to create the above spiral:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5ouSP5Z3I/AAAAAAAAAV4/SG-LY6uaXTE/s1600-h/map_50x50.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5ouSP5Z3I/AAAAAAAAAV4/SG-LY6uaXTE/s400/map_50x50.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264260158824474482" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is not to say we simple overlay the image into the positive shape of the spiral. The core image is "ripped" into small square pieces, and a list of these images is referenced in as we step around the center point. The result is a color palette borrowed from the image.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Distilling the Lake Water&lt;/h2&gt;&lt;br /&gt;&lt;code&gt;round( (pi*pX)*(pY)*(distillNumber(pInt)*.00025))%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5sCRjsPrI/AAAAAAAAAWA/5GejA5AHYP8/s1600-h/lakes2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 397px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5sCRjsPrI/AAAAAAAAAWA/5GejA5AHYP8/s400/lakes2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264263800771329714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pulling back on the stick we fly higher. This is at altitude .0000025 where &lt;code&gt; round( (pi*pX)*(pY)*(distillNumber(pInt)*.0000025))%2==0 &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5tDdqMIWI/AAAAAAAAAWI/7SQjGxGKxdk/s1600-h/lakes3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5tDdqMIWI/AAAAAAAAAWI/7SQjGxGKxdk/s400/lakes3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264264920711307618" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Higher:&lt;br /&gt;&lt;code&gt;round( (pi*pX)*(pY)*(distillNumber(pInt)*.00000025))%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5u1GW1-6I/AAAAAAAAAWQ/3Sx97-w5xsE/s1600-h/lakes4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5u1GW1-6I/AAAAAAAAAWQ/3Sx97-w5xsE/s400/lakes4.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264266872961235874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And yet higher still. Using .000000025 is absolutely rediculous, but it works.&lt;br /&gt;&lt;code&gt;round( (pi*pX)*(pY)*(distillNumber(pInt)*.000000025))%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5v1R21KJI/AAAAAAAAAWY/Rr83prJha9E/s1600-h/lakes5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5v1R21KJI/AAAAAAAAAWY/Rr83prJha9E/s400/lakes5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264267975559817362" /&gt;&lt;/a&gt;&lt;br /&gt;It appears to be a recursive fractal image, for the same pattern is re-emerging as we go deeper into the mathematical abyss.&lt;br /&gt;&lt;br /&gt;A curious blend of pi and e...&lt;br /&gt;&lt;code&gt;round( ((pi*e)*pX)*(pY)*(distillNumber(pInt)* (sin(pInt)*.000000025) ))%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5zJAjZY6I/AAAAAAAAAWg/ZC9pKzQFwFM/s1600-h/lakes6.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ5zJAjZY6I/AAAAAAAAAWg/ZC9pKzQFwFM/s400/lakes6.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264271613047169954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/e, 1.2)*.0000025 )%3==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQ51sRo-TlI/AAAAAAAAAWo/uD9jQYmK7v4/s1600-h/lakes7.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQ51sRo-TlI/AAAAAAAAAWo/uD9jQYmK7v4/s400/lakes7.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264274417952640594" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lord have mercy. &lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/e, 1.2)*.00000025 )%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ52iuyG83I/AAAAAAAAAWw/U42U5CvXsxU/s1600-h/lakes8.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ52iuyG83I/AAAAAAAAAWw/U42U5CvXsxU/s400/lakes8.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264275353488520050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/e, 1.2)*.000000025 )%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ53PTkN9jI/AAAAAAAAAW4/pqspcqLMTZU/s1600-h/lakes9.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ53PTkN9jI/AAAAAAAAAW4/pqspcqLMTZU/s400/lakes9.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264276119276615218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/e, 1.2)*.0000000125 )%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ53w0WPJlI/AAAAAAAAAXA/THLdjYyipmQ/s1600-h/lakes10.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 398px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ53w0WPJlI/AAAAAAAAAXA/THLdjYyipmQ/s400/lakes10.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264276695012025938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/pi, 1.23)*.000000125 )%5==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ56NspKZLI/AAAAAAAAAXI/xp9nKGbffqs/s1600-h/lakes11.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 398px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQ56NspKZLI/AAAAAAAAAXI/xp9nKGbffqs/s400/lakes11.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264279390183384242" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;The Aboriginal Series&lt;/h2&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/pi, 1.23456789)*.000123456789 )%5==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ57dWhVwuI/AAAAAAAAAXQ/u8fENqdOI1Y/s1600-h/aboriginal1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ57dWhVwuI/AAAAAAAAAXQ/u8fENqdOI1Y/s400/aboriginal1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264280758634529506" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/pi, 1.23456789)*.0000123456789 )%5==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQ58POX7C6I/AAAAAAAAAXY/2Q545ZSaKs0/s1600-h/aboriginal2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQ58POX7C6I/AAAAAAAAAXY/2Q545ZSaKs0/s400/aboriginal2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264281615441005474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5-WwMbiqI/AAAAAAAAAXg/eBWUhnQT3qo/s1600-h/aboriginal3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5-WwMbiqI/AAAAAAAAAXg/eBWUhnQT3qo/s400/aboriginal3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264283943801948834" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow(sqrt(pInt)/pi, 1.23456789)*.00005 )%3==0&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Colorized version:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5-2FySFII/AAAAAAAAAXo/5AJA1E_cH5g/s1600-h/aboriginal4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 399px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQ5-2FySFII/AAAAAAAAAXo/5AJA1E_cH5g/s400/aboriginal4.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264284482173801602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I'm pretty sure this overall pattern is a map of the universe, reality, and everything.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round( (pX*pY)* pow( sqrt(pInt), 1.23456789)*.00005 )%3==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ6BJhzfhcI/AAAAAAAAAXw/2SERbbJd-iY/s1600-h/aboriginal5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 398px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQ6BJhzfhcI/AAAAAAAAAXw/2SERbbJd-iY/s400/aboriginal5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5264287015135839682" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3113452628569683462?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3113452628569683462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3113452628569683462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3113452628569683462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3113452628569683462'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/respliced-maps.html' title='Respliced Satellite Maps'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SQuBIi4Z1EI/AAAAAAAAAUI/ATrSN5QgYxs/s72-c/spirals_over_washington.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3730095114957230592</id><published>2008-10-30T20:24:00.001-07:00</published><updated>2008-11-05T09:15:50.315-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='typography type ulam spiral graphics mathematics moon luna'/><title type='text'>Image-Based Spiral Incantations</title><content type='html'>Exchange Building, Seattle, Washington. &lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SRHUhNIOmxI/AAAAAAAAAYA/8RRt7OWgxzQ/s1600-h/__ripped_from_exchange.jpg_1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SRHUhNIOmxI/AAAAAAAAAYA/8RRt7OWgxzQ/s400/__ripped_from_exchange.jpg_1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5265223106297764626" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The goldfinch was placed dynamically by the Python script. You can see that some of the tiles overlay the bird. The tiles are composed of a Letraset sheet for Helvetica and were dynamically ripped into 40 pixel squares before being rearranged using the Ulam algorithm.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SRHSuRxViHI/AAAAAAAAAX4/HJKcqI7TKBs/s1600-h/__ripped_from_letraset.jpg_1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SRHSuRxViHI/AAAAAAAAAX4/HJKcqI7TKBs/s400/__ripped_from_letraset.jpg_1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5265221131858970738" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is basically a brand new alphabet for crazy people. Here you go. It is my gift to the world.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQp6jwgomNI/AAAAAAAAATY/L2KYVWqyrDQ/s1600-h/u_of_confusion.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQp6jwgomNI/AAAAAAAAATY/L2KYVWqyrDQ/s400/u_of_confusion.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263153869271636178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQp8eqfETkI/AAAAAAAAATg/YqjsWXZU6c8/s1600-h/u_of_confusion2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQp8eqfETkI/AAAAAAAAATg/YqjsWXZU6c8/s400/u_of_confusion2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263155980778360386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Feeling strange?&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQqKQZx-jvI/AAAAAAAAATo/sli9A5gjGdg/s1600-h/luna1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQqKQZx-jvI/AAAAAAAAATo/sli9A5gjGdg/s400/luna1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263171128938893042" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Strange chains...&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQqLeSn63EI/AAAAAAAAATw/ckRZjLKWwUk/s1600-h/strange_chains.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQqLeSn63EI/AAAAAAAAATw/ckRZjLKWwUk/s400/strange_chains.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263172467047455810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQqMEUen2PI/AAAAAAAAAT4/0-DjG8YOHnA/s1600-h/strange_chains2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQqMEUen2PI/AAAAAAAAAT4/0-DjG8YOHnA/s400/strange_chains2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263173120380360946" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQqO6TeciWI/AAAAAAAAAUA/r9arFkg7wWY/s1600-h/e_cluster.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQqO6TeciWI/AAAAAAAAAUA/r9arFkg7wWY/s400/e_cluster.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263176246847375714" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3730095114957230592?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3730095114957230592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3730095114957230592' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3730095114957230592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3730095114957230592'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/image-based-spiral-incantations.html' title='Image-Based Spiral Incantations'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SRHUhNIOmxI/AAAAAAAAAYA/8RRt7OWgxzQ/s72-c/__ripped_from_exchange.jpg_1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-4144139415909549768</id><published>2008-10-30T18:55:00.000-07:00</published><updated>2008-11-01T11:34:41.888-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='typography type ulam spiral marilyn monroe mathematics'/><title type='text'>Typography and Pop Art</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQpmkvTY8LI/AAAAAAAAASw/C3bHD7pmiE0/s1600-h/helvetica_a.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 200px; height: 200px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQpmkvTY8LI/AAAAAAAAASw/C3bHD7pmiE0/s200/helvetica_a.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263131895894962354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I love typography. It seems a natural thing to combine the beautiful Persian rug spiral with type. In the image above, a small letter "a" set in Helvetica Bold Condensed is substituted for each number. &lt;br&gt;[click images to enlarge]&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQpqLPaGRsI/AAAAAAAAAS4/8pURLRyACLQ/s1600-h/sex_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 320px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQpqLPaGRsI/AAAAAAAAAS4/8pURLRyACLQ/s320/sex_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263135855882946242" /&gt;&lt;/a&gt;&lt;br /&gt;Same idea, only with xes. &lt;br /&gt;&lt;br /&gt;Where to go from here? The natural progression is obvious and swift. Behold:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQpzT-VK5XI/AAAAAAAAATQ/8s9E6MUvMaM/s1600-h/marilyn_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQpzT-VK5XI/AAAAAAAAATQ/8s9E6MUvMaM/s400/marilyn_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5263145901522347378" /&gt;&lt;/a&gt;&lt;br /&gt;Make sure you click open that puppy and count how many "full Marilyns" you see. I count 3 in the current image. Of course, the number of full Marilyns will increase as the perimeter of the spiral increases. It is a simple calculation. But the simple man will only require her lips, for these are enough to tell the entire story.&lt;br /&gt;&lt;br /&gt;I guess I should stop now. It's not likely to get any better than this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-4144139415909549768?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/4144139415909549768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=4144139415909549768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4144139415909549768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4144139415909549768'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/typography-spirals.html' title='Typography and Pop Art'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XjnYO1uZPUs/SQpmkvTY8LI/AAAAAAAAASw/C3bHD7pmiE0/s72-c/helvetica_a.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-8929469289002526159</id><published>2008-10-29T14:57:00.000-07:00</published><updated>2008-10-30T20:06:47.818-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral e pi squirrel math mathematics python Persian rug pattern'/><title type='text'>"Classic" 2d Spirals</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjchbLo3JI/AAAAAAAAARo/0YWzq1Vxf-I/s1600-h/the_squirrel.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjchbLo3JI/AAAAAAAAARo/0YWzq1Vxf-I/s400/the_squirrel.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262698631372790930" /&gt;&lt;/a&gt;&lt;br /&gt;[The Squirrel]&lt;br /&gt;&lt;br /&gt;Well, hey, getting an algorithm to generate the Manhattan skyline with 1 billion red balloons floating overhead like some nightmarish Macy's parade is certainly fun, and a splendid way to waste away a Friday night. But I prefer the basic red-on-black, 2d, no bullshit Sunday-school algorithms. To generate your own squirrel, use this here (Python) code when you test each number:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#global&lt;br /&gt;fooCounter = 1&lt;br /&gt;&lt;br /&gt;def testNumber(pInt):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;global fooCounter&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if round(  (sqrt(pInt)/pi)+log(fooCounter) )%2 == distillNumber(pInt):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fooCounter += 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return true&lt;br /&gt;&amp;nbsp;&amp;nbsp;return false&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And if you forgot (or still care) what distillNumber does, here it is:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;"""&lt;br /&gt;recursive function for boiling down multi-digit ints into single digit ints&lt;br /&gt;"""&lt;br /&gt;def distillNumber(rawNumber):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;distilledNumber = 0&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tmpList = split_len(str(rawNumber))&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for k in range (len(tmpList)):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;distilledNumber = distilledNumber + int(tmpList[k])&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if len(str(distilledNumber))&gt;1:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;distilledNumber = distillNumber(distilledNumber)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return distilledNumber&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;def split_len(seq):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return [seq[i:i+1] for i in range(0, len(seq), 1)]&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Let's see what happens when we test for &lt;code&gt;round(  (sqrt(pInt)/pi)+fooCounter )%2 == 0&lt;/code&gt;...&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQjfZ6UVVjI/AAAAAAAAARw/I_87Wq8fr3w/s1600-h/no_bs_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQjfZ6UVVjI/AAAAAAAAARw/I_87Wq8fr3w/s400/no_bs_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262701800826689074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;..or, swap out pi with e &lt;code&gt;round(  (sqrt(pInt)/e)+fooCounter )%2 == 0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjgM3MCfYI/AAAAAAAAAR4/GMEjcz31HbY/s1600-h/no_tri_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjgM3MCfYI/AAAAAAAAAR4/GMEjcz31HbY/s400/no_tri_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262702676159921538" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now if you kids have been following along at home you know that the goal of all this is to create the ultimate Persian rug design. That's it. I think we've already established said design, but this one isn't too bad. It's quite simply&lt;br /&gt;&lt;code&gt;round(  (sqrt(pInt)/e)+ pow(cos(fooCounter),2)  )%distillNumber(pInt) == 0 or round(  (sqrt(pInt)/e)+ pow(cos(fooCounter),3)  )%distillNumber(pInt) == 0&lt;/code&gt; &lt;br /&gt;Yes! That's really all there is to it!&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjiVQRoQRI/AAAAAAAAASA/h-NS6r21ajY/s1600-h/e_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjiVQRoQRI/AAAAAAAAASA/h-NS6r21ajY/s400/e_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262705019356463378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Check out those dangly fish-hooky spiral bits. It is the metamorphosis!!!&lt;br /&gt;&lt;code&gt;&lt;br /&gt;round(  (sqrt(pInt)/e)+ pow(cos(fooCounter),2)  )%distillNumber(pInt) == 0 or round(  (sqrt(pInt)/pi)+ pow(cos(fooCounter),2)  )%distillNumber(pInt) == 0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjkv5M-AgI/AAAAAAAAASI/7g9vgd7VhXE/s1600-h/persian2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjkv5M-AgI/AAAAAAAAASI/7g9vgd7VhXE/s400/persian2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262707676042625538" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now if you're a Persian rug kind of guy, you know, and you're looking to expand beyond the run of the mill patterns that have been standard for thousands of years, look no further. Let's work together and hot rod your loom. You could be doing something like this:&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjn9aC4FdI/AAAAAAAAASQ/QLavqxHwBqY/s1600-h/thai_language.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjn9aC4FdI/AAAAAAAAASQ/QLavqxHwBqY/s400/thai_language.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262711206731847122" /&gt;&lt;/a&gt;&lt;br /&gt;Notice how almost all letters of the Thai alphabet are presented. It's just eerie. อักษรไทย อักษรไทย อักษรไทย&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#thai alphabet&lt;br /&gt;round(  (sqrt(pInt)/pi)+ pow(sin(fooCounter),2)  )%distillNumber(pInt) == 0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Here's another simple method to mess things up good:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;def modifyCoordPoint(pNum):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return pNum + cos(pNum)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;You call that from the main algorithm after you've set up your new X/Y positions. Pass in X or Y accordingly.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQjq91MoF8I/AAAAAAAAASY/LSlt4FvswB4/s1600-h/alteredStates.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 384px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQjq91MoF8I/AAAAAAAAASY/LSlt4FvswB4/s400/alteredStates.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262714512555382722" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A lovely variation of this is accomplished by introducing our little circular friend:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;def modifyCoordPoint(pNum):&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return pNum + (cos(pNum)*pi)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjsSi7HS-I/AAAAAAAAASg/shY-dxHNx34/s1600-h/cityscape.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 177px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjsSi7HS-I/AAAAAAAAASg/shY-dxHNx34/s400/cityscape.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5262715967938972642" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-8929469289002526159?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/8929469289002526159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=8929469289002526159' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8929469289002526159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8929469289002526159'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/classic-2d-spirals.html' title='&quot;Classic&quot; 2d Spirals'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XjnYO1uZPUs/SQjchbLo3JI/AAAAAAAAARo/0YWzq1Vxf-I/s72-c/the_squirrel.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-4747278459732378956</id><published>2008-10-23T19:19:00.000-07:00</published><updated>2008-10-23T22:45:44.904-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral python 3d 2d'/><title type='text'>3D Spiral Interpretations Via Pointed Hat Operator</title><content type='html'>For these images we're testing each number with:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;if round(pInt/pi)%2==0^pInt%5==true:&lt;br /&gt;return true&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;...and the space between dots is determined by:&lt;br /&gt;&lt;code&gt;distillNumber(pInt)*pow(sin(pInt),9)*pi&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Red Light District As Seen From Above &lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQEw-Vy0YrI/AAAAAAAAAQY/W7sNVlvdvok/s1600-h/red_light_district_aerial.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 357px;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SQEw-Vy0YrI/AAAAAAAAAQY/W7sNVlvdvok/s400/red_light_district_aerial.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260539687305765554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQFQPFEs7EI/AAAAAAAAARI/it7txR0LmTw/s1600-h/red_light_district_aerial-2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 334px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQFQPFEs7EI/AAAAAAAAARI/it7txR0LmTw/s400/red_light_district_aerial-2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260574059735608386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;distillNumber(pInt)*pow(sin(pInt),5)*pi&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQE6oXa_79I/AAAAAAAAAQg/yCVQ-qE4mkI/s1600-h/floating_particles.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 187px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQE6oXa_79I/AAAAAAAAAQg/yCVQ-qE4mkI/s400/floating_particles.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260550304901885906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Red Nimbus:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQFDh5EXngI/AAAAAAAAAQo/OXPz9qeMORU/s1600-h/red_nimbus-1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 209px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQFDh5EXngI/AAAAAAAAAQo/OXPz9qeMORU/s400/red_nimbus-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260560089279340034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQFHKIFYr4I/AAAAAAAAAQw/k13muizyDfQ/s1600-h/spiral_analysis-2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 323px;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SQFHKIFYr4I/AAAAAAAAAQw/k13muizyDfQ/s400/spiral_analysis-2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260564079039786882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Red Balloons Over Manhattan&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQFKn07n_nI/AAAAAAAAAQ4/-bUna28w3cM/s1600-h/red_balloons_over_manhattan.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQFKn07n_nI/AAAAAAAAAQ4/-bUna28w3cM/s400/red_balloons_over_manhattan.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260567887829532274" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Spacer: &lt;code&gt;(sin(pInt)*100) + distillNumber(pInt)/pi&lt;/code&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQFLyZ7WfTI/AAAAAAAAARA/Vlqosc9ZS-8/s1600-h/balloons_over_manhattan-2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SQFLyZ7WfTI/AAAAAAAAARA/Vlqosc9ZS-8/s400/balloons_over_manhattan-2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260569169070816562" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQFg9M9mUvI/AAAAAAAAARQ/RR_rkLIFOnw/s1600-h/etch-a-sketch.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 225px; height: 400px;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SQFg9M9mUvI/AAAAAAAAARQ/RR_rkLIFOnw/s400/etch-a-sketch.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5260592444313326322" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-4747278459732378956?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/4747278459732378956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=4747278459732378956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4747278459732378956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4747278459732378956'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/3d-spiral-interpretations.html' title='3D Spiral Interpretations Via Pointed Hat Operator'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SQEw-Vy0YrI/AAAAAAAAAQY/W7sNVlvdvok/s72-c/red_light_district_aerial.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-6194075850522114610</id><published>2008-10-21T22:49:00.000-07:00</published><updated>2008-10-21T23:10:33.408-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral python 3d 2d'/><title type='text'>Old Ulam spirals yield new discovery</title><content type='html'>&lt;h3&gt;Hidden information within 2D patterns?&lt;/h3&gt;&lt;br /&gt;The following pattern yields yet another familiar pattern when each pixel is elevated according to its derived value. Behold:&lt;br /&gt;&lt;p&gt;Base pattern generated with &lt;code&gt;round(sqrt(pow(&lt;i&gt;n&lt;/i&gt;, 2.71828 ))*2.71828)%2==0:&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SP67qQLY4BI/AAAAAAAAAPQ/FLj1-psp5Xo/s1600-h/exquisite_spiral_study_1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SP67qQLY4BI/AAAAAAAAAPQ/FLj1-psp5Xo/s400/exquisite_spiral_study_1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259847749386952722" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The same algorithm, but pixels are elevated along the Y axis according to the spiral counter's distilled value (e.g. 14 = 5, 11 = 2). This technique governs all numbers, no matter how large to be boiled down to no more than 9 units. &lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SP69CSqKzLI/AAAAAAAAAPY/CBEUDUS1dsw/s1600-h/exquisite_spiral_study_3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SP69CSqKzLI/AAAAAAAAAPY/CBEUDUS1dsw/s400/exquisite_spiral_study_3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259849261881412786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, the image is slightly tilted to reveal the depth we added above. Note those nested "U" shapes. &lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP69G4NLOeI/AAAAAAAAAPg/udWKZllCT74/s1600-h/exquisite_spiral_study_2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP69G4NLOeI/AAAAAAAAAPg/udWKZllCT74/s400/exquisite_spiral_study_2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259849340679829986" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We injected new information into this pattern by taking a 2D image and making it 3D by imparting elevation to each pixel. Now let's see if these "U" shapes persist when other pattern algorithms are applied...&lt;br /&gt;&lt;br /&gt;&lt;code&gt;round(&lt;i&gt;n&lt;/i&gt;/2.71828)*&lt;i&gt;n&lt;/i&gt;%2==0&lt;/code&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP7BM4z9DbI/AAAAAAAAAPo/Ovm5v1fJVcs/s1600-h/celtic_spiral_study_1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP7BM4z9DbI/AAAAAAAAAPo/Ovm5v1fJVcs/s400/celtic_spiral_study_1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259853841968205234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Secondary pattern emerges from tilted image:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP7BQucQCHI/AAAAAAAAAPw/CwiqutedLbY/s1600-h/celtic_spiral_study_2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP7BQucQCHI/AAAAAAAAAPw/CwiqutedLbY/s400/celtic_spiral_study_2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259853907903907954" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So, is there hidden information with the 2D patterns here? The answer, of course (alas, hindsight), is no. We added the information to the pattern when we made it 3D. &lt;br /&gt;&lt;br /&gt;See &lt;a href="http://ulamspiral.blogspot.com/2008/07/e-mathematical-constant-mapped-on-ulam.html"&gt;e - Mathematical Constant Mapped on a Ulam Spiral&lt;/a&gt; for the Flash-based images created from the algorithms above.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-6194075850522114610?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/6194075850522114610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=6194075850522114610' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/6194075850522114610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/6194075850522114610'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/old-ulam-spirals-yield-new-discovery.html' title='Old Ulam spirals yield new discovery'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SP67qQLY4BI/AAAAAAAAAPQ/FLj1-psp5Xo/s72-c/exquisite_spiral_study_1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-6621286588068768066</id><published>2008-10-21T19:49:00.000-07:00</published><updated>2008-10-22T00:18:23.373-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral visual python 3d mushroom cloud'/><title type='text'>Visual Python - Ulam Variations</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP6VYeUTCFI/AAAAAAAAAOo/gTr9LaEqfvw/s1600-h/double_plane_explosion2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP6VYeUTCFI/AAAAAAAAAOo/gTr9LaEqfvw/s400/double_plane_explosion2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259805662502914130" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP6U86IvYnI/AAAAAAAAAOg/whYCA0958fs/s1600-h/double_plane_explosion.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP6U86IvYnI/AAAAAAAAAOg/whYCA0958fs/s400/double_plane_explosion.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259805188934296178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Some mucking about with VPython to create 3D interpretations of the Ulam spiral algorithm. The above images are a variation of the following pagoda like structure:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SP6WNVPC3OI/AAAAAAAAAOw/0kLh0SlgPZw/s1600-h/double_plane_explosion3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SP6WNVPC3OI/AAAAAAAAAOw/0kLh0SlgPZw/s400/double_plane_explosion3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259806570598030562" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Detail:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP6dUdY9cFI/AAAAAAAAAO4/psn2kKQBI7M/s1600-h/double_plane_explosion4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP6dUdY9cFI/AAAAAAAAAO4/psn2kKQBI7M/s400/double_plane_explosion4.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259814389627580498" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Manhattan Height Limit:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP6xNAMQKuI/AAAAAAAAAPA/vgFCTZDDdq8/s1600-h/manhattan_height_limit.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP6xNAMQKuI/AAAAAAAAAPA/vgFCTZDDdq8/s400/manhattan_height_limit.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259836251763124962" /&gt;&lt;/a&gt;&lt;br /&gt;This is the same algorithm as above images, just a different extruded shape with the camera positioned merely above the skyscrapers.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP62C4mb2zI/AAAAAAAAAPI/vJBenTWOKAA/s1600-h/manhattan_variation.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP62C4mb2zI/AAAAAAAAAPI/vJBenTWOKAA/s400/manhattan_variation.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259841575484906290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Manhattan primes:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP7JBZrvVnI/AAAAAAAAAQA/U5atYbRoqTY/s1600-h/manhattan_primes.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP7JBZrvVnI/AAAAAAAAAQA/U5atYbRoqTY/s400/manhattan_primes.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259862440726713970" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are the primes distributed within the pagoda:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP7GTymldXI/AAAAAAAAAP4/0XXRdlhBzBw/s1600-h/primes_in_pagoda.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SP7GTymldXI/AAAAAAAAAP4/0XXRdlhBzBw/s400/primes_in_pagoda.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259859458118743410" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This looks a bit like a scud missile to me. Prime numbers positioned throughout the Z axis using &lt;code&gt;(n/2.71828)*cos( distillNumber(n)/2.71828 )&lt;/code&gt; &lt;br /&gt;where distillNumber is a function returning the base root of a given number.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SP7OEkajCzI/AAAAAAAAAQI/pomKn0cI9oY/s1600-h/scud_missile_prime.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SP7OEkajCzI/AAAAAAAAAQI/pomKn0cI9oY/s400/scud_missile_prime.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259867992705141554" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Seems to be a theme here...&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP7ToashuBI/AAAAAAAAAQQ/NYeLPpzH0Tk/s1600-h/mushroom_cloud-1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SP7ToashuBI/AAAAAAAAAQQ/NYeLPpzH0Tk/s400/mushroom_cloud-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5259874106129627154" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-6621286588068768066?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/6621286588068768066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=6621286588068768066' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/6621286588068768066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/6621286588068768066'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/10/visual-python-ulam-variations.html' title='Visual Python - Ulam Variations'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SP6VYeUTCFI/AAAAAAAAAOo/gTr9LaEqfvw/s72-c/double_plane_explosion2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3529804395110811764</id><published>2008-07-13T16:22:00.001-07:00</published><updated>2008-07-31T20:17:44.631-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='base 9 root spiral ulam interval prime'/><title type='text'>Base 9 Spiral</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHqR5Grx8VI/AAAAAAAAAN0/afuoAnJmyMI/s1600-h/root_9_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHqR5Grx8VI/AAAAAAAAAN0/afuoAnJmyMI/s400/root_9_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5222647128122323282" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above image is a clockwise spiral beginning with 1 and ending with 250. This is a simplification of the base 18 spiral in the following post, as it was brought to my attention that not only do the digits of 18 add to 9, but ultimately a spiral with 9 arms would be the simplest representation of this mathematics. This is because now we have a spiral where each number within an arm is separated from its neighbor by exactly 9. &lt;br /&gt;&lt;br /&gt;The following is the printable version sans legend:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHqk727G9mI/AAAAAAAAAN8/5vxZyBoRbI0/s1600-h/root_9_spiral_INVERTED.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHqk727G9mI/AAAAAAAAAN8/5vxZyBoRbI0/s400/root_9_spiral_INVERTED.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5222668066152183394" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Table version of the Base-9 Spiral with primes highlighted in red. Note that numbers in a given column ultimately add up to whatever number is in the top row. For example, 109 is found in column 1 underneath the base digit 1.  1+0+9 = 10 = 1+0 = 1.  This type of sequence is well documented as "Numbers whose digital root is n" where n is a digit 1 through 9, attributed to Cino Hilliard. For more on integer sequences and a useful search tool go to &lt;a href="http://www.research.att.com/~njas/sequences/Seis.html"&gt;http://www.research.att.com/~njas/sequences/Seis.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;1&lt;/td&gt;&lt;td style='background-color:red'&gt;2&lt;/td&gt;&lt;td style='background-color:red'&gt;3&lt;/td&gt;&lt;td style='background-color:white'&gt;4&lt;/td&gt;&lt;td style='background-color:red'&gt;5&lt;/td&gt;&lt;td style='background-color:white'&gt;6&lt;/td&gt;&lt;td style='background-color:red'&gt;7&lt;/td&gt;&lt;td style='background-color:white'&gt;8&lt;/td&gt;&lt;td style='background-color:white'&gt;9&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;10&lt;/td&gt;&lt;td style='background-color:red'&gt;11&lt;/td&gt;&lt;td style='background-color:white'&gt;12&lt;/td&gt;&lt;td style='background-color:red'&gt;13&lt;/td&gt;&lt;td style='background-color:white'&gt;14&lt;/td&gt;&lt;td style='background-color:white'&gt;15&lt;/td&gt;&lt;td style='background-color:white'&gt;16&lt;/td&gt;&lt;td style='background-color:red'&gt;17&lt;/td&gt;&lt;td style='background-color:white'&gt;18&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;19&lt;/td&gt;&lt;td style='background-color:white'&gt;20&lt;/td&gt;&lt;td style='background-color:white'&gt;21&lt;/td&gt;&lt;td style='background-color:white'&gt;22&lt;/td&gt;&lt;td style='background-color:red'&gt;23&lt;/td&gt;&lt;td style='background-color:white'&gt;24&lt;/td&gt;&lt;td style='background-color:white'&gt;25&lt;/td&gt;&lt;td style='background-color:white'&gt;26&lt;/td&gt;&lt;td style='background-color:white'&gt;27&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;28&lt;/td&gt;&lt;td style='background-color:red'&gt;29&lt;/td&gt;&lt;td style='background-color:white'&gt;30&lt;/td&gt;&lt;td style='background-color:red'&gt;31&lt;/td&gt;&lt;td style='background-color:white'&gt;32&lt;/td&gt;&lt;td style='background-color:white'&gt;33&lt;/td&gt;&lt;td style='background-color:white'&gt;34&lt;/td&gt;&lt;td style='background-color:white'&gt;35&lt;/td&gt;&lt;td style='background-color:white'&gt;36&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;37&lt;/td&gt;&lt;td style='background-color:white'&gt;38&lt;/td&gt;&lt;td style='background-color:white'&gt;39&lt;/td&gt;&lt;td style='background-color:white'&gt;40&lt;/td&gt;&lt;td style='background-color:red'&gt;41&lt;/td&gt;&lt;td style='background-color:white'&gt;42&lt;/td&gt;&lt;td style='background-color:red'&gt;43&lt;/td&gt;&lt;td style='background-color:white'&gt;44&lt;/td&gt;&lt;td style='background-color:white'&gt;45&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;46&lt;/td&gt;&lt;td style='background-color:red'&gt;47&lt;/td&gt;&lt;td style='background-color:white'&gt;48&lt;/td&gt;&lt;td style='background-color:white'&gt;49&lt;/td&gt;&lt;td style='background-color:white'&gt;50&lt;/td&gt;&lt;td style='background-color:white'&gt;51&lt;/td&gt;&lt;td style='background-color:white'&gt;52&lt;/td&gt;&lt;td style='background-color:red'&gt;53&lt;/td&gt;&lt;td style='background-color:white'&gt;54&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;55&lt;/td&gt;&lt;td style='background-color:white'&gt;56&lt;/td&gt;&lt;td style='background-color:white'&gt;57&lt;/td&gt;&lt;td style='background-color:white'&gt;58&lt;/td&gt;&lt;td style='background-color:red'&gt;59&lt;/td&gt;&lt;td style='background-color:white'&gt;60&lt;/td&gt;&lt;td style='background-color:red'&gt;61&lt;/td&gt;&lt;td style='background-color:white'&gt;62&lt;/td&gt;&lt;td style='background-color:white'&gt;63&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;64&lt;/td&gt;&lt;td style='background-color:white'&gt;65&lt;/td&gt;&lt;td style='background-color:white'&gt;66&lt;/td&gt;&lt;td style='background-color:red'&gt;67&lt;/td&gt;&lt;td style='background-color:white'&gt;68&lt;/td&gt;&lt;td style='background-color:white'&gt;69&lt;/td&gt;&lt;td style='background-color:white'&gt;70&lt;/td&gt;&lt;td style='background-color:red'&gt;71&lt;/td&gt;&lt;td style='background-color:white'&gt;72&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;73&lt;/td&gt;&lt;td style='background-color:white'&gt;74&lt;/td&gt;&lt;td style='background-color:white'&gt;75&lt;/td&gt;&lt;td style='background-color:white'&gt;76&lt;/td&gt;&lt;td style='background-color:white'&gt;77&lt;/td&gt;&lt;td style='background-color:white'&gt;78&lt;/td&gt;&lt;td style='background-color:red'&gt;79&lt;/td&gt;&lt;td style='background-color:white'&gt;80&lt;/td&gt;&lt;td style='background-color:white'&gt;81&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;82&lt;/td&gt;&lt;td style='background-color:red'&gt;83&lt;/td&gt;&lt;td style='background-color:white'&gt;84&lt;/td&gt;&lt;td style='background-color:white'&gt;85&lt;/td&gt;&lt;td style='background-color:white'&gt;86&lt;/td&gt;&lt;td style='background-color:white'&gt;87&lt;/td&gt;&lt;td style='background-color:white'&gt;88&lt;/td&gt;&lt;td style='background-color:red'&gt;89&lt;/td&gt;&lt;td style='background-color:white'&gt;90&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;91&lt;/td&gt;&lt;td style='background-color:white'&gt;92&lt;/td&gt;&lt;td style='background-color:white'&gt;93&lt;/td&gt;&lt;td style='background-color:white'&gt;94&lt;/td&gt;&lt;td style='background-color:white'&gt;95&lt;/td&gt;&lt;td style='background-color:white'&gt;96&lt;/td&gt;&lt;td style='background-color:red'&gt;97&lt;/td&gt;&lt;td style='background-color:white'&gt;98&lt;/td&gt;&lt;td style='background-color:white'&gt;99&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;100&lt;/td&gt;&lt;td style='background-color:red'&gt;101&lt;/td&gt;&lt;td style='background-color:white'&gt;102&lt;/td&gt;&lt;td style='background-color:red'&gt;103&lt;/td&gt;&lt;td style='background-color:white'&gt;104&lt;/td&gt;&lt;td style='background-color:white'&gt;105&lt;/td&gt;&lt;td style='background-color:white'&gt;106&lt;/td&gt;&lt;td style='background-color:red'&gt;107&lt;/td&gt;&lt;td style='background-color:white'&gt;108&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;109&lt;/td&gt;&lt;td style='background-color:white'&gt;110&lt;/td&gt;&lt;td style='background-color:white'&gt;111&lt;/td&gt;&lt;td style='background-color:white'&gt;112&lt;/td&gt;&lt;td style='background-color:red'&gt;113&lt;/td&gt;&lt;td style='background-color:white'&gt;114&lt;/td&gt;&lt;td style='background-color:white'&gt;115&lt;/td&gt;&lt;td style='background-color:white'&gt;116&lt;/td&gt;&lt;td style='background-color:white'&gt;117&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;118&lt;/td&gt;&lt;td style='background-color:white'&gt;119&lt;/td&gt;&lt;td style='background-color:white'&gt;120&lt;/td&gt;&lt;td style='background-color:white'&gt;121&lt;/td&gt;&lt;td style='background-color:white'&gt;122&lt;/td&gt;&lt;td style='background-color:white'&gt;123&lt;/td&gt;&lt;td style='background-color:white'&gt;124&lt;/td&gt;&lt;td style='background-color:white'&gt;125&lt;/td&gt;&lt;td style='background-color:white'&gt;126&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;127&lt;/td&gt;&lt;td style='background-color:white'&gt;128&lt;/td&gt;&lt;td style='background-color:white'&gt;129&lt;/td&gt;&lt;td style='background-color:white'&gt;130&lt;/td&gt;&lt;td style='background-color:red'&gt;131&lt;/td&gt;&lt;td style='background-color:white'&gt;132&lt;/td&gt;&lt;td style='background-color:white'&gt;133&lt;/td&gt;&lt;td style='background-color:white'&gt;134&lt;/td&gt;&lt;td style='background-color:white'&gt;135&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;136&lt;/td&gt;&lt;td style='background-color:red'&gt;137&lt;/td&gt;&lt;td style='background-color:white'&gt;138&lt;/td&gt;&lt;td style='background-color:red'&gt;139&lt;/td&gt;&lt;td style='background-color:white'&gt;140&lt;/td&gt;&lt;td style='background-color:white'&gt;141&lt;/td&gt;&lt;td style='background-color:white'&gt;142&lt;/td&gt;&lt;td style='background-color:white'&gt;143&lt;/td&gt;&lt;td style='background-color:white'&gt;144&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;145&lt;/td&gt;&lt;td style='background-color:white'&gt;146&lt;/td&gt;&lt;td style='background-color:white'&gt;147&lt;/td&gt;&lt;td style='background-color:white'&gt;148&lt;/td&gt;&lt;td style='background-color:red'&gt;149&lt;/td&gt;&lt;td style='background-color:white'&gt;150&lt;/td&gt;&lt;td style='background-color:red'&gt;151&lt;/td&gt;&lt;td style='background-color:white'&gt;152&lt;/td&gt;&lt;td style='background-color:white'&gt;153&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;154&lt;/td&gt;&lt;td style='background-color:white'&gt;155&lt;/td&gt;&lt;td style='background-color:white'&gt;156&lt;/td&gt;&lt;td style='background-color:red'&gt;157&lt;/td&gt;&lt;td style='background-color:white'&gt;158&lt;/td&gt;&lt;td style='background-color:white'&gt;159&lt;/td&gt;&lt;td style='background-color:white'&gt;160&lt;/td&gt;&lt;td style='background-color:white'&gt;161&lt;/td&gt;&lt;td style='background-color:white'&gt;162&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;163&lt;/td&gt;&lt;td style='background-color:white'&gt;164&lt;/td&gt;&lt;td style='background-color:white'&gt;165&lt;/td&gt;&lt;td style='background-color:white'&gt;166&lt;/td&gt;&lt;td style='background-color:red'&gt;167&lt;/td&gt;&lt;td style='background-color:white'&gt;168&lt;/td&gt;&lt;td style='background-color:white'&gt;169&lt;/td&gt;&lt;td style='background-color:white'&gt;170&lt;/td&gt;&lt;td style='background-color:white'&gt;171&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;172&lt;/td&gt;&lt;td style='background-color:red'&gt;173&lt;/td&gt;&lt;td style='background-color:white'&gt;174&lt;/td&gt;&lt;td style='background-color:white'&gt;175&lt;/td&gt;&lt;td style='background-color:white'&gt;176&lt;/td&gt;&lt;td style='background-color:white'&gt;177&lt;/td&gt;&lt;td style='background-color:white'&gt;178&lt;/td&gt;&lt;td style='background-color:red'&gt;179&lt;/td&gt;&lt;td style='background-color:white'&gt;180&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;181&lt;/td&gt;&lt;td style='background-color:white'&gt;182&lt;/td&gt;&lt;td style='background-color:white'&gt;183&lt;/td&gt;&lt;td style='background-color:white'&gt;184&lt;/td&gt;&lt;td style='background-color:white'&gt;185&lt;/td&gt;&lt;td style='background-color:white'&gt;186&lt;/td&gt;&lt;td style='background-color:white'&gt;187&lt;/td&gt;&lt;td style='background-color:white'&gt;188&lt;/td&gt;&lt;td style='background-color:white'&gt;189&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;190&lt;/td&gt;&lt;td style='background-color:red'&gt;191&lt;/td&gt;&lt;td style='background-color:white'&gt;192&lt;/td&gt;&lt;td style='background-color:red'&gt;193&lt;/td&gt;&lt;td style='background-color:white'&gt;194&lt;/td&gt;&lt;td style='background-color:white'&gt;195&lt;/td&gt;&lt;td style='background-color:white'&gt;196&lt;/td&gt;&lt;td style='background-color:red'&gt;197&lt;/td&gt;&lt;td style='background-color:white'&gt;198&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;199&lt;/td&gt;&lt;td style='background-color:white'&gt;200&lt;/td&gt;&lt;td style='background-color:white'&gt;201&lt;/td&gt;&lt;td style='background-color:white'&gt;202&lt;/td&gt;&lt;td style='background-color:white'&gt;203&lt;/td&gt;&lt;td style='background-color:white'&gt;204&lt;/td&gt;&lt;td style='background-color:white'&gt;205&lt;/td&gt;&lt;td style='background-color:white'&gt;206&lt;/td&gt;&lt;td style='background-color:white'&gt;207&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;208&lt;/td&gt;&lt;td style='background-color:white'&gt;209&lt;/td&gt;&lt;td style='background-color:white'&gt;210&lt;/td&gt;&lt;td style='background-color:red'&gt;211&lt;/td&gt;&lt;td style='background-color:white'&gt;212&lt;/td&gt;&lt;td style='background-color:white'&gt;213&lt;/td&gt;&lt;td style='background-color:white'&gt;214&lt;/td&gt;&lt;td style='background-color:white'&gt;215&lt;/td&gt;&lt;td style='background-color:white'&gt;216&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;217&lt;/td&gt;&lt;td style='background-color:white'&gt;218&lt;/td&gt;&lt;td style='background-color:white'&gt;219&lt;/td&gt;&lt;td style='background-color:white'&gt;220&lt;/td&gt;&lt;td style='background-color:white'&gt;221&lt;/td&gt;&lt;td style='background-color:white'&gt;222&lt;/td&gt;&lt;td style='background-color:red'&gt;223&lt;/td&gt;&lt;td style='background-color:white'&gt;224&lt;/td&gt;&lt;td style='background-color:white'&gt;225&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;226&lt;/td&gt;&lt;td style='background-color:red'&gt;227&lt;/td&gt;&lt;td style='background-color:white'&gt;228&lt;/td&gt;&lt;td style='background-color:red'&gt;229&lt;/td&gt;&lt;td style='background-color:white'&gt;230&lt;/td&gt;&lt;td style='background-color:white'&gt;231&lt;/td&gt;&lt;td style='background-color:white'&gt;232&lt;/td&gt;&lt;td style='background-color:red'&gt;233&lt;/td&gt;&lt;td style='background-color:white'&gt;234&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;235&lt;/td&gt;&lt;td style='background-color:white'&gt;236&lt;/td&gt;&lt;td style='background-color:white'&gt;237&lt;/td&gt;&lt;td style='background-color:white'&gt;238&lt;/td&gt;&lt;td style='background-color:red'&gt;239&lt;/td&gt;&lt;td style='background-color:white'&gt;240&lt;/td&gt;&lt;td style='background-color:red'&gt;241&lt;/td&gt;&lt;td style='background-color:white'&gt;242&lt;/td&gt;&lt;td style='background-color:white'&gt;243&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;244&lt;/td&gt;&lt;td style='background-color:white'&gt;245&lt;/td&gt;&lt;td style='background-color:white'&gt;246&lt;/td&gt;&lt;td style='background-color:white'&gt;247&lt;/td&gt;&lt;td style='background-color:white'&gt;248&lt;/td&gt;&lt;td style='background-color:white'&gt;249&lt;/td&gt;&lt;td style='background-color:white'&gt;250&lt;/td&gt;&lt;td style='background-color:red'&gt;251&lt;/td&gt;&lt;td style='background-color:white'&gt;252&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;253&lt;/td&gt;&lt;td style='background-color:white'&gt;254&lt;/td&gt;&lt;td style='background-color:white'&gt;255&lt;/td&gt;&lt;td style='background-color:white'&gt;256&lt;/td&gt;&lt;td style='background-color:red'&gt;257&lt;/td&gt;&lt;td style='background-color:white'&gt;258&lt;/td&gt;&lt;td style='background-color:white'&gt;259&lt;/td&gt;&lt;td style='background-color:white'&gt;260&lt;/td&gt;&lt;td style='background-color:white'&gt;261&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;262&lt;/td&gt;&lt;td style='background-color:red'&gt;263&lt;/td&gt;&lt;td style='background-color:white'&gt;264&lt;/td&gt;&lt;td style='background-color:white'&gt;265&lt;/td&gt;&lt;td style='background-color:white'&gt;266&lt;/td&gt;&lt;td style='background-color:white'&gt;267&lt;/td&gt;&lt;td style='background-color:white'&gt;268&lt;/td&gt;&lt;td style='background-color:red'&gt;269&lt;/td&gt;&lt;td style='background-color:white'&gt;270&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;271&lt;/td&gt;&lt;td style='background-color:white'&gt;272&lt;/td&gt;&lt;td style='background-color:white'&gt;273&lt;/td&gt;&lt;td style='background-color:white'&gt;274&lt;/td&gt;&lt;td style='background-color:white'&gt;275&lt;/td&gt;&lt;td style='background-color:white'&gt;276&lt;/td&gt;&lt;td style='background-color:red'&gt;277&lt;/td&gt;&lt;td style='background-color:white'&gt;278&lt;/td&gt;&lt;td style='background-color:white'&gt;279&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;280&lt;/td&gt;&lt;td style='background-color:red'&gt;281&lt;/td&gt;&lt;td style='background-color:white'&gt;282&lt;/td&gt;&lt;td style='background-color:red'&gt;283&lt;/td&gt;&lt;td style='background-color:white'&gt;284&lt;/td&gt;&lt;td style='background-color:white'&gt;285&lt;/td&gt;&lt;td style='background-color:white'&gt;286&lt;/td&gt;&lt;td style='background-color:white'&gt;287&lt;/td&gt;&lt;td style='background-color:white'&gt;288&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;289&lt;/td&gt;&lt;td style='background-color:white'&gt;290&lt;/td&gt;&lt;td style='background-color:white'&gt;291&lt;/td&gt;&lt;td style='background-color:white'&gt;292&lt;/td&gt;&lt;td style='background-color:red'&gt;293&lt;/td&gt;&lt;td style='background-color:white'&gt;294&lt;/td&gt;&lt;td style='background-color:white'&gt;295&lt;/td&gt;&lt;td style='background-color:white'&gt;296&lt;/td&gt;&lt;td style='background-color:white'&gt;297&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;298&lt;/td&gt;&lt;td style='background-color:white'&gt;299&lt;/td&gt;&lt;td style='background-color:white'&gt;300&lt;/td&gt;&lt;td style='background-color:white'&gt;301&lt;/td&gt;&lt;td style='background-color:white'&gt;302&lt;/td&gt;&lt;td style='background-color:white'&gt;303&lt;/td&gt;&lt;td style='background-color:white'&gt;304&lt;/td&gt;&lt;td style='background-color:white'&gt;305&lt;/td&gt;&lt;td style='background-color:white'&gt;306&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;307&lt;/td&gt;&lt;td style='background-color:white'&gt;308&lt;/td&gt;&lt;td style='background-color:white'&gt;309&lt;/td&gt;&lt;td style='background-color:white'&gt;310&lt;/td&gt;&lt;td style='background-color:red'&gt;311&lt;/td&gt;&lt;td style='background-color:white'&gt;312&lt;/td&gt;&lt;td style='background-color:red'&gt;313&lt;/td&gt;&lt;td style='background-color:white'&gt;314&lt;/td&gt;&lt;td style='background-color:white'&gt;315&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;316&lt;/td&gt;&lt;td style='background-color:red'&gt;317&lt;/td&gt;&lt;td style='background-color:white'&gt;318&lt;/td&gt;&lt;td style='background-color:white'&gt;319&lt;/td&gt;&lt;td style='background-color:white'&gt;320&lt;/td&gt;&lt;td style='background-color:white'&gt;321&lt;/td&gt;&lt;td style='background-color:white'&gt;322&lt;/td&gt;&lt;td style='background-color:white'&gt;323&lt;/td&gt;&lt;td style='background-color:white'&gt;324&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;325&lt;/td&gt;&lt;td style='background-color:white'&gt;326&lt;/td&gt;&lt;td style='background-color:white'&gt;327&lt;/td&gt;&lt;td style='background-color:white'&gt;328&lt;/td&gt;&lt;td style='background-color:white'&gt;329&lt;/td&gt;&lt;td style='background-color:white'&gt;330&lt;/td&gt;&lt;td style='background-color:red'&gt;331&lt;/td&gt;&lt;td style='background-color:white'&gt;332&lt;/td&gt;&lt;td style='background-color:white'&gt;333&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;334&lt;/td&gt;&lt;td style='background-color:white'&gt;335&lt;/td&gt;&lt;td style='background-color:white'&gt;336&lt;/td&gt;&lt;td style='background-color:red'&gt;337&lt;/td&gt;&lt;td style='background-color:white'&gt;338&lt;/td&gt;&lt;td style='background-color:white'&gt;339&lt;/td&gt;&lt;td style='background-color:white'&gt;340&lt;/td&gt;&lt;td style='background-color:white'&gt;341&lt;/td&gt;&lt;td style='background-color:white'&gt;342&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;343&lt;/td&gt;&lt;td style='background-color:white'&gt;344&lt;/td&gt;&lt;td style='background-color:white'&gt;345&lt;/td&gt;&lt;td style='background-color:white'&gt;346&lt;/td&gt;&lt;td style='background-color:red'&gt;347&lt;/td&gt;&lt;td style='background-color:white'&gt;348&lt;/td&gt;&lt;td style='background-color:red'&gt;349&lt;/td&gt;&lt;td style='background-color:white'&gt;350&lt;/td&gt;&lt;td style='background-color:white'&gt;351&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;352&lt;/td&gt;&lt;td style='background-color:red'&gt;353&lt;/td&gt;&lt;td style='background-color:white'&gt;354&lt;/td&gt;&lt;td style='background-color:white'&gt;355&lt;/td&gt;&lt;td style='background-color:white'&gt;356&lt;/td&gt;&lt;td style='background-color:white'&gt;357&lt;/td&gt;&lt;td style='background-color:white'&gt;358&lt;/td&gt;&lt;td style='background-color:red'&gt;359&lt;/td&gt;&lt;td style='background-color:white'&gt;360&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;361&lt;/td&gt;&lt;td style='background-color:white'&gt;362&lt;/td&gt;&lt;td style='background-color:white'&gt;363&lt;/td&gt;&lt;td style='background-color:white'&gt;364&lt;/td&gt;&lt;td style='background-color:white'&gt;365&lt;/td&gt;&lt;td style='background-color:white'&gt;366&lt;/td&gt;&lt;td style='background-color:red'&gt;367&lt;/td&gt;&lt;td style='background-color:white'&gt;368&lt;/td&gt;&lt;td style='background-color:white'&gt;369&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;370&lt;/td&gt;&lt;td style='background-color:white'&gt;371&lt;/td&gt;&lt;td style='background-color:white'&gt;372&lt;/td&gt;&lt;td style='background-color:red'&gt;373&lt;/td&gt;&lt;td style='background-color:white'&gt;374&lt;/td&gt;&lt;td style='background-color:white'&gt;375&lt;/td&gt;&lt;td style='background-color:white'&gt;376&lt;/td&gt;&lt;td style='background-color:white'&gt;377&lt;/td&gt;&lt;td style='background-color:white'&gt;378&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;379&lt;/td&gt;&lt;td style='background-color:white'&gt;380&lt;/td&gt;&lt;td style='background-color:white'&gt;381&lt;/td&gt;&lt;td style='background-color:white'&gt;382&lt;/td&gt;&lt;td style='background-color:red'&gt;383&lt;/td&gt;&lt;td style='background-color:white'&gt;384&lt;/td&gt;&lt;td style='background-color:white'&gt;385&lt;/td&gt;&lt;td style='background-color:white'&gt;386&lt;/td&gt;&lt;td style='background-color:white'&gt;387&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;388&lt;/td&gt;&lt;td style='background-color:red'&gt;389&lt;/td&gt;&lt;td style='background-color:white'&gt;390&lt;/td&gt;&lt;td style='background-color:white'&gt;391&lt;/td&gt;&lt;td style='background-color:white'&gt;392&lt;/td&gt;&lt;td style='background-color:white'&gt;393&lt;/td&gt;&lt;td style='background-color:white'&gt;394&lt;/td&gt;&lt;td style='background-color:white'&gt;395&lt;/td&gt;&lt;td style='background-color:white'&gt;396&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;397&lt;/td&gt;&lt;td style='background-color:white'&gt;398&lt;/td&gt;&lt;td style='background-color:white'&gt;399&lt;/td&gt;&lt;td style='background-color:white'&gt;400&lt;/td&gt;&lt;td style='background-color:red'&gt;401&lt;/td&gt;&lt;td style='background-color:white'&gt;402&lt;/td&gt;&lt;td style='background-color:white'&gt;403&lt;/td&gt;&lt;td style='background-color:white'&gt;404&lt;/td&gt;&lt;td style='background-color:white'&gt;405&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;406&lt;/td&gt;&lt;td style='background-color:white'&gt;407&lt;/td&gt;&lt;td style='background-color:white'&gt;408&lt;/td&gt;&lt;td style='background-color:red'&gt;409&lt;/td&gt;&lt;td style='background-color:white'&gt;410&lt;/td&gt;&lt;td style='background-color:white'&gt;411&lt;/td&gt;&lt;td style='background-color:white'&gt;412&lt;/td&gt;&lt;td style='background-color:white'&gt;413&lt;/td&gt;&lt;td style='background-color:white'&gt;414&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;415&lt;/td&gt;&lt;td style='background-color:white'&gt;416&lt;/td&gt;&lt;td style='background-color:white'&gt;417&lt;/td&gt;&lt;td style='background-color:white'&gt;418&lt;/td&gt;&lt;td style='background-color:red'&gt;419&lt;/td&gt;&lt;td style='background-color:white'&gt;420&lt;/td&gt;&lt;td style='background-color:red'&gt;421&lt;/td&gt;&lt;td style='background-color:white'&gt;422&lt;/td&gt;&lt;td style='background-color:white'&gt;423&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;424&lt;/td&gt;&lt;td style='background-color:white'&gt;425&lt;/td&gt;&lt;td style='background-color:white'&gt;426&lt;/td&gt;&lt;td style='background-color:white'&gt;427&lt;/td&gt;&lt;td style='background-color:white'&gt;428&lt;/td&gt;&lt;td style='background-color:white'&gt;429&lt;/td&gt;&lt;td style='background-color:white'&gt;430&lt;/td&gt;&lt;td style='background-color:red'&gt;431&lt;/td&gt;&lt;td style='background-color:white'&gt;432&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;433&lt;/td&gt;&lt;td style='background-color:white'&gt;434&lt;/td&gt;&lt;td style='background-color:white'&gt;435&lt;/td&gt;&lt;td style='background-color:white'&gt;436&lt;/td&gt;&lt;td style='background-color:white'&gt;437&lt;/td&gt;&lt;td style='background-color:white'&gt;438&lt;/td&gt;&lt;td style='background-color:red'&gt;439&lt;/td&gt;&lt;td style='background-color:white'&gt;440&lt;/td&gt;&lt;td style='background-color:white'&gt;441&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;442&lt;/td&gt;&lt;td style='background-color:red'&gt;443&lt;/td&gt;&lt;td style='background-color:white'&gt;444&lt;/td&gt;&lt;td style='background-color:white'&gt;445&lt;/td&gt;&lt;td style='background-color:white'&gt;446&lt;/td&gt;&lt;td style='background-color:white'&gt;447&lt;/td&gt;&lt;td style='background-color:white'&gt;448&lt;/td&gt;&lt;td style='background-color:red'&gt;449&lt;/td&gt;&lt;td style='background-color:white'&gt;450&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;451&lt;/td&gt;&lt;td style='background-color:white'&gt;452&lt;/td&gt;&lt;td style='background-color:white'&gt;453&lt;/td&gt;&lt;td style='background-color:white'&gt;454&lt;/td&gt;&lt;td style='background-color:white'&gt;455&lt;/td&gt;&lt;td style='background-color:white'&gt;456&lt;/td&gt;&lt;td style='background-color:red'&gt;457&lt;/td&gt;&lt;td style='background-color:white'&gt;458&lt;/td&gt;&lt;td style='background-color:white'&gt;459&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;460&lt;/td&gt;&lt;td style='background-color:red'&gt;461&lt;/td&gt;&lt;td style='background-color:white'&gt;462&lt;/td&gt;&lt;td style='background-color:red'&gt;463&lt;/td&gt;&lt;td style='background-color:white'&gt;464&lt;/td&gt;&lt;td style='background-color:white'&gt;465&lt;/td&gt;&lt;td style='background-color:white'&gt;466&lt;/td&gt;&lt;td style='background-color:red'&gt;467&lt;/td&gt;&lt;td style='background-color:white'&gt;468&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;469&lt;/td&gt;&lt;td style='background-color:white'&gt;470&lt;/td&gt;&lt;td style='background-color:white'&gt;471&lt;/td&gt;&lt;td style='background-color:white'&gt;472&lt;/td&gt;&lt;td style='background-color:white'&gt;473&lt;/td&gt;&lt;td style='background-color:white'&gt;474&lt;/td&gt;&lt;td style='background-color:white'&gt;475&lt;/td&gt;&lt;td style='background-color:white'&gt;476&lt;/td&gt;&lt;td style='background-color:white'&gt;477&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;478&lt;/td&gt;&lt;td style='background-color:red'&gt;479&lt;/td&gt;&lt;td style='background-color:white'&gt;480&lt;/td&gt;&lt;td style='background-color:white'&gt;481&lt;/td&gt;&lt;td style='background-color:white'&gt;482&lt;/td&gt;&lt;td style='background-color:white'&gt;483&lt;/td&gt;&lt;td style='background-color:white'&gt;484&lt;/td&gt;&lt;td style='background-color:white'&gt;485&lt;/td&gt;&lt;td style='background-color:white'&gt;486&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;487&lt;/td&gt;&lt;td style='background-color:white'&gt;488&lt;/td&gt;&lt;td style='background-color:white'&gt;489&lt;/td&gt;&lt;td style='background-color:white'&gt;490&lt;/td&gt;&lt;td style='background-color:red'&gt;491&lt;/td&gt;&lt;td style='background-color:white'&gt;492&lt;/td&gt;&lt;td style='background-color:white'&gt;493&lt;/td&gt;&lt;td style='background-color:white'&gt;494&lt;/td&gt;&lt;td style='background-color:white'&gt;495&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;496&lt;/td&gt;&lt;td style='background-color:white'&gt;497&lt;/td&gt;&lt;td style='background-color:white'&gt;498&lt;/td&gt;&lt;td style='background-color:red'&gt;499&lt;/td&gt;&lt;td style='background-color:white'&gt;500&lt;/td&gt;&lt;td style='background-color:white'&gt;501&lt;/td&gt;&lt;td style='background-color:white'&gt;502&lt;/td&gt;&lt;td style='background-color:red'&gt;503&lt;/td&gt;&lt;td style='background-color:white'&gt;504&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;505&lt;/td&gt;&lt;td style='background-color:white'&gt;506&lt;/td&gt;&lt;td style='background-color:white'&gt;507&lt;/td&gt;&lt;td style='background-color:white'&gt;508&lt;/td&gt;&lt;td style='background-color:red'&gt;509&lt;/td&gt;&lt;td style='background-color:white'&gt;510&lt;/td&gt;&lt;td style='background-color:white'&gt;511&lt;/td&gt;&lt;td style='background-color:white'&gt;512&lt;/td&gt;&lt;td style='background-color:white'&gt;513&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;514&lt;/td&gt;&lt;td style='background-color:white'&gt;515&lt;/td&gt;&lt;td style='background-color:white'&gt;516&lt;/td&gt;&lt;td style='background-color:white'&gt;517&lt;/td&gt;&lt;td style='background-color:white'&gt;518&lt;/td&gt;&lt;td style='background-color:white'&gt;519&lt;/td&gt;&lt;td style='background-color:white'&gt;520&lt;/td&gt;&lt;td style='background-color:red'&gt;521&lt;/td&gt;&lt;td style='background-color:white'&gt;522&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;523&lt;/td&gt;&lt;td style='background-color:white'&gt;524&lt;/td&gt;&lt;td style='background-color:white'&gt;525&lt;/td&gt;&lt;td style='background-color:white'&gt;526&lt;/td&gt;&lt;td style='background-color:white'&gt;527&lt;/td&gt;&lt;td style='background-color:white'&gt;528&lt;/td&gt;&lt;td style='background-color:white'&gt;529&lt;/td&gt;&lt;td style='background-color:white'&gt;530&lt;/td&gt;&lt;td style='background-color:white'&gt;531&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;532&lt;/td&gt;&lt;td style='background-color:white'&gt;533&lt;/td&gt;&lt;td style='background-color:white'&gt;534&lt;/td&gt;&lt;td style='background-color:white'&gt;535&lt;/td&gt;&lt;td style='background-color:white'&gt;536&lt;/td&gt;&lt;td style='background-color:white'&gt;537&lt;/td&gt;&lt;td style='background-color:white'&gt;538&lt;/td&gt;&lt;td style='background-color:white'&gt;539&lt;/td&gt;&lt;td style='background-color:white'&gt;540&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;541&lt;/td&gt;&lt;td style='background-color:white'&gt;542&lt;/td&gt;&lt;td style='background-color:white'&gt;543&lt;/td&gt;&lt;td style='background-color:white'&gt;544&lt;/td&gt;&lt;td style='background-color:white'&gt;545&lt;/td&gt;&lt;td style='background-color:white'&gt;546&lt;/td&gt;&lt;td style='background-color:red'&gt;547&lt;/td&gt;&lt;td style='background-color:white'&gt;548&lt;/td&gt;&lt;td style='background-color:white'&gt;549&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;550&lt;/td&gt;&lt;td style='background-color:white'&gt;551&lt;/td&gt;&lt;td style='background-color:white'&gt;552&lt;/td&gt;&lt;td style='background-color:white'&gt;553&lt;/td&gt;&lt;td style='background-color:white'&gt;554&lt;/td&gt;&lt;td style='background-color:white'&gt;555&lt;/td&gt;&lt;td style='background-color:white'&gt;556&lt;/td&gt;&lt;td style='background-color:red'&gt;557&lt;/td&gt;&lt;td style='background-color:white'&gt;558&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;559&lt;/td&gt;&lt;td style='background-color:white'&gt;560&lt;/td&gt;&lt;td style='background-color:white'&gt;561&lt;/td&gt;&lt;td style='background-color:white'&gt;562&lt;/td&gt;&lt;td style='background-color:red'&gt;563&lt;/td&gt;&lt;td style='background-color:white'&gt;564&lt;/td&gt;&lt;td style='background-color:white'&gt;565&lt;/td&gt;&lt;td style='background-color:white'&gt;566&lt;/td&gt;&lt;td style='background-color:white'&gt;567&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;568&lt;/td&gt;&lt;td style='background-color:red'&gt;569&lt;/td&gt;&lt;td style='background-color:white'&gt;570&lt;/td&gt;&lt;td style='background-color:red'&gt;571&lt;/td&gt;&lt;td style='background-color:white'&gt;572&lt;/td&gt;&lt;td style='background-color:white'&gt;573&lt;/td&gt;&lt;td style='background-color:white'&gt;574&lt;/td&gt;&lt;td style='background-color:white'&gt;575&lt;/td&gt;&lt;td style='background-color:white'&gt;576&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;577&lt;/td&gt;&lt;td style='background-color:white'&gt;578&lt;/td&gt;&lt;td style='background-color:white'&gt;579&lt;/td&gt;&lt;td style='background-color:white'&gt;580&lt;/td&gt;&lt;td style='background-color:white'&gt;581&lt;/td&gt;&lt;td style='background-color:white'&gt;582&lt;/td&gt;&lt;td style='background-color:white'&gt;583&lt;/td&gt;&lt;td style='background-color:white'&gt;584&lt;/td&gt;&lt;td style='background-color:white'&gt;585&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;586&lt;/td&gt;&lt;td style='background-color:red'&gt;587&lt;/td&gt;&lt;td style='background-color:white'&gt;588&lt;/td&gt;&lt;td style='background-color:white'&gt;589&lt;/td&gt;&lt;td style='background-color:white'&gt;590&lt;/td&gt;&lt;td style='background-color:white'&gt;591&lt;/td&gt;&lt;td style='background-color:white'&gt;592&lt;/td&gt;&lt;td style='background-color:red'&gt;593&lt;/td&gt;&lt;td style='background-color:white'&gt;594&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;595&lt;/td&gt;&lt;td style='background-color:white'&gt;596&lt;/td&gt;&lt;td style='background-color:white'&gt;597&lt;/td&gt;&lt;td style='background-color:white'&gt;598&lt;/td&gt;&lt;td style='background-color:red'&gt;599&lt;/td&gt;&lt;td style='background-color:white'&gt;600&lt;/td&gt;&lt;td style='background-color:red'&gt;601&lt;/td&gt;&lt;td style='background-color:white'&gt;602&lt;/td&gt;&lt;td style='background-color:white'&gt;603&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;604&lt;/td&gt;&lt;td style='background-color:white'&gt;605&lt;/td&gt;&lt;td style='background-color:white'&gt;606&lt;/td&gt;&lt;td style='background-color:red'&gt;607&lt;/td&gt;&lt;td style='background-color:white'&gt;608&lt;/td&gt;&lt;td style='background-color:white'&gt;609&lt;/td&gt;&lt;td style='background-color:white'&gt;610&lt;/td&gt;&lt;td style='background-color:white'&gt;611&lt;/td&gt;&lt;td style='background-color:white'&gt;612&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;613&lt;/td&gt;&lt;td style='background-color:white'&gt;614&lt;/td&gt;&lt;td style='background-color:white'&gt;615&lt;/td&gt;&lt;td style='background-color:white'&gt;616&lt;/td&gt;&lt;td style='background-color:red'&gt;617&lt;/td&gt;&lt;td style='background-color:white'&gt;618&lt;/td&gt;&lt;td style='background-color:red'&gt;619&lt;/td&gt;&lt;td style='background-color:white'&gt;620&lt;/td&gt;&lt;td style='background-color:white'&gt;621&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;622&lt;/td&gt;&lt;td style='background-color:white'&gt;623&lt;/td&gt;&lt;td style='background-color:white'&gt;624&lt;/td&gt;&lt;td style='background-color:white'&gt;625&lt;/td&gt;&lt;td style='background-color:white'&gt;626&lt;/td&gt;&lt;td style='background-color:white'&gt;627&lt;/td&gt;&lt;td style='background-color:white'&gt;628&lt;/td&gt;&lt;td style='background-color:white'&gt;629&lt;/td&gt;&lt;td style='background-color:white'&gt;630&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;631&lt;/td&gt;&lt;td style='background-color:white'&gt;632&lt;/td&gt;&lt;td style='background-color:white'&gt;633&lt;/td&gt;&lt;td style='background-color:white'&gt;634&lt;/td&gt;&lt;td style='background-color:white'&gt;635&lt;/td&gt;&lt;td style='background-color:white'&gt;636&lt;/td&gt;&lt;td style='background-color:white'&gt;637&lt;/td&gt;&lt;td style='background-color:white'&gt;638&lt;/td&gt;&lt;td style='background-color:white'&gt;639&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;640&lt;/td&gt;&lt;td style='background-color:red'&gt;641&lt;/td&gt;&lt;td style='background-color:white'&gt;642&lt;/td&gt;&lt;td style='background-color:red'&gt;643&lt;/td&gt;&lt;td style='background-color:white'&gt;644&lt;/td&gt;&lt;td style='background-color:white'&gt;645&lt;/td&gt;&lt;td style='background-color:white'&gt;646&lt;/td&gt;&lt;td style='background-color:red'&gt;647&lt;/td&gt;&lt;td style='background-color:white'&gt;648&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;649&lt;/td&gt;&lt;td style='background-color:white'&gt;650&lt;/td&gt;&lt;td style='background-color:white'&gt;651&lt;/td&gt;&lt;td style='background-color:white'&gt;652&lt;/td&gt;&lt;td style='background-color:red'&gt;653&lt;/td&gt;&lt;td style='background-color:white'&gt;654&lt;/td&gt;&lt;td style='background-color:white'&gt;655&lt;/td&gt;&lt;td style='background-color:white'&gt;656&lt;/td&gt;&lt;td style='background-color:white'&gt;657&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;658&lt;/td&gt;&lt;td style='background-color:red'&gt;659&lt;/td&gt;&lt;td style='background-color:white'&gt;660&lt;/td&gt;&lt;td style='background-color:red'&gt;661&lt;/td&gt;&lt;td style='background-color:white'&gt;662&lt;/td&gt;&lt;td style='background-color:white'&gt;663&lt;/td&gt;&lt;td style='background-color:white'&gt;664&lt;/td&gt;&lt;td style='background-color:white'&gt;665&lt;/td&gt;&lt;td style='background-color:white'&gt;666&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;667&lt;/td&gt;&lt;td style='background-color:white'&gt;668&lt;/td&gt;&lt;td style='background-color:white'&gt;669&lt;/td&gt;&lt;td style='background-color:white'&gt;670&lt;/td&gt;&lt;td style='background-color:white'&gt;671&lt;/td&gt;&lt;td style='background-color:white'&gt;672&lt;/td&gt;&lt;td style='background-color:red'&gt;673&lt;/td&gt;&lt;td style='background-color:white'&gt;674&lt;/td&gt;&lt;td style='background-color:white'&gt;675&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;676&lt;/td&gt;&lt;td style='background-color:red'&gt;677&lt;/td&gt;&lt;td style='background-color:white'&gt;678&lt;/td&gt;&lt;td style='background-color:white'&gt;679&lt;/td&gt;&lt;td style='background-color:white'&gt;680&lt;/td&gt;&lt;td style='background-color:white'&gt;681&lt;/td&gt;&lt;td style='background-color:white'&gt;682&lt;/td&gt;&lt;td style='background-color:red'&gt;683&lt;/td&gt;&lt;td style='background-color:white'&gt;684&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;685&lt;/td&gt;&lt;td style='background-color:white'&gt;686&lt;/td&gt;&lt;td style='background-color:white'&gt;687&lt;/td&gt;&lt;td style='background-color:white'&gt;688&lt;/td&gt;&lt;td style='background-color:white'&gt;689&lt;/td&gt;&lt;td style='background-color:white'&gt;690&lt;/td&gt;&lt;td style='background-color:red'&gt;691&lt;/td&gt;&lt;td style='background-color:white'&gt;692&lt;/td&gt;&lt;td style='background-color:white'&gt;693&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;694&lt;/td&gt;&lt;td style='background-color:white'&gt;695&lt;/td&gt;&lt;td style='background-color:white'&gt;696&lt;/td&gt;&lt;td style='background-color:white'&gt;697&lt;/td&gt;&lt;td style='background-color:white'&gt;698&lt;/td&gt;&lt;td style='background-color:white'&gt;699&lt;/td&gt;&lt;td style='background-color:white'&gt;700&lt;/td&gt;&lt;td style='background-color:red'&gt;701&lt;/td&gt;&lt;td style='background-color:white'&gt;702&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;703&lt;/td&gt;&lt;td style='background-color:white'&gt;704&lt;/td&gt;&lt;td style='background-color:white'&gt;705&lt;/td&gt;&lt;td style='background-color:white'&gt;706&lt;/td&gt;&lt;td style='background-color:white'&gt;707&lt;/td&gt;&lt;td style='background-color:white'&gt;708&lt;/td&gt;&lt;td style='background-color:red'&gt;709&lt;/td&gt;&lt;td style='background-color:white'&gt;710&lt;/td&gt;&lt;td style='background-color:white'&gt;711&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;712&lt;/td&gt;&lt;td style='background-color:white'&gt;713&lt;/td&gt;&lt;td style='background-color:white'&gt;714&lt;/td&gt;&lt;td style='background-color:white'&gt;715&lt;/td&gt;&lt;td style='background-color:white'&gt;716&lt;/td&gt;&lt;td style='background-color:white'&gt;717&lt;/td&gt;&lt;td style='background-color:white'&gt;718&lt;/td&gt;&lt;td style='background-color:red'&gt;719&lt;/td&gt;&lt;td style='background-color:white'&gt;720&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;721&lt;/td&gt;&lt;td style='background-color:white'&gt;722&lt;/td&gt;&lt;td style='background-color:white'&gt;723&lt;/td&gt;&lt;td style='background-color:white'&gt;724&lt;/td&gt;&lt;td style='background-color:white'&gt;725&lt;/td&gt;&lt;td style='background-color:white'&gt;726&lt;/td&gt;&lt;td style='background-color:red'&gt;727&lt;/td&gt;&lt;td style='background-color:white'&gt;728&lt;/td&gt;&lt;td style='background-color:white'&gt;729&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;730&lt;/td&gt;&lt;td style='background-color:white'&gt;731&lt;/td&gt;&lt;td style='background-color:white'&gt;732&lt;/td&gt;&lt;td style='background-color:red'&gt;733&lt;/td&gt;&lt;td style='background-color:white'&gt;734&lt;/td&gt;&lt;td style='background-color:white'&gt;735&lt;/td&gt;&lt;td style='background-color:white'&gt;736&lt;/td&gt;&lt;td style='background-color:white'&gt;737&lt;/td&gt;&lt;td style='background-color:white'&gt;738&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;739&lt;/td&gt;&lt;td style='background-color:white'&gt;740&lt;/td&gt;&lt;td style='background-color:white'&gt;741&lt;/td&gt;&lt;td style='background-color:white'&gt;742&lt;/td&gt;&lt;td style='background-color:red'&gt;743&lt;/td&gt;&lt;td style='background-color:white'&gt;744&lt;/td&gt;&lt;td style='background-color:white'&gt;745&lt;/td&gt;&lt;td style='background-color:white'&gt;746&lt;/td&gt;&lt;td style='background-color:white'&gt;747&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;748&lt;/td&gt;&lt;td style='background-color:white'&gt;749&lt;/td&gt;&lt;td style='background-color:white'&gt;750&lt;/td&gt;&lt;td style='background-color:red'&gt;751&lt;/td&gt;&lt;td style='background-color:white'&gt;752&lt;/td&gt;&lt;td style='background-color:white'&gt;753&lt;/td&gt;&lt;td style='background-color:white'&gt;754&lt;/td&gt;&lt;td style='background-color:white'&gt;755&lt;/td&gt;&lt;td style='background-color:white'&gt;756&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;757&lt;/td&gt;&lt;td style='background-color:white'&gt;758&lt;/td&gt;&lt;td style='background-color:white'&gt;759&lt;/td&gt;&lt;td style='background-color:white'&gt;760&lt;/td&gt;&lt;td style='background-color:red'&gt;761&lt;/td&gt;&lt;td style='background-color:white'&gt;762&lt;/td&gt;&lt;td style='background-color:white'&gt;763&lt;/td&gt;&lt;td style='background-color:white'&gt;764&lt;/td&gt;&lt;td style='background-color:white'&gt;765&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;766&lt;/td&gt;&lt;td style='background-color:white'&gt;767&lt;/td&gt;&lt;td style='background-color:white'&gt;768&lt;/td&gt;&lt;td style='background-color:red'&gt;769&lt;/td&gt;&lt;td style='background-color:white'&gt;770&lt;/td&gt;&lt;td style='background-color:white'&gt;771&lt;/td&gt;&lt;td style='background-color:white'&gt;772&lt;/td&gt;&lt;td style='background-color:red'&gt;773&lt;/td&gt;&lt;td style='background-color:white'&gt;774&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;775&lt;/td&gt;&lt;td style='background-color:white'&gt;776&lt;/td&gt;&lt;td style='background-color:white'&gt;777&lt;/td&gt;&lt;td style='background-color:white'&gt;778&lt;/td&gt;&lt;td style='background-color:white'&gt;779&lt;/td&gt;&lt;td style='background-color:white'&gt;780&lt;/td&gt;&lt;td style='background-color:white'&gt;781&lt;/td&gt;&lt;td style='background-color:white'&gt;782&lt;/td&gt;&lt;td style='background-color:white'&gt;783&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;784&lt;/td&gt;&lt;td style='background-color:white'&gt;785&lt;/td&gt;&lt;td style='background-color:white'&gt;786&lt;/td&gt;&lt;td style='background-color:red'&gt;787&lt;/td&gt;&lt;td style='background-color:white'&gt;788&lt;/td&gt;&lt;td style='background-color:white'&gt;789&lt;/td&gt;&lt;td style='background-color:white'&gt;790&lt;/td&gt;&lt;td style='background-color:white'&gt;791&lt;/td&gt;&lt;td style='background-color:white'&gt;792&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;793&lt;/td&gt;&lt;td style='background-color:white'&gt;794&lt;/td&gt;&lt;td style='background-color:white'&gt;795&lt;/td&gt;&lt;td style='background-color:white'&gt;796&lt;/td&gt;&lt;td style='background-color:red'&gt;797&lt;/td&gt;&lt;td style='background-color:white'&gt;798&lt;/td&gt;&lt;td style='background-color:white'&gt;799&lt;/td&gt;&lt;td style='background-color:white'&gt;800&lt;/td&gt;&lt;td style='background-color:white'&gt;801&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;802&lt;/td&gt;&lt;td style='background-color:white'&gt;803&lt;/td&gt;&lt;td style='background-color:white'&gt;804&lt;/td&gt;&lt;td style='background-color:white'&gt;805&lt;/td&gt;&lt;td style='background-color:white'&gt;806&lt;/td&gt;&lt;td style='background-color:white'&gt;807&lt;/td&gt;&lt;td style='background-color:white'&gt;808&lt;/td&gt;&lt;td style='background-color:red'&gt;809&lt;/td&gt;&lt;td style='background-color:white'&gt;810&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;811&lt;/td&gt;&lt;td style='background-color:white'&gt;812&lt;/td&gt;&lt;td style='background-color:white'&gt;813&lt;/td&gt;&lt;td style='background-color:white'&gt;814&lt;/td&gt;&lt;td style='background-color:white'&gt;815&lt;/td&gt;&lt;td style='background-color:white'&gt;816&lt;/td&gt;&lt;td style='background-color:white'&gt;817&lt;/td&gt;&lt;td style='background-color:white'&gt;818&lt;/td&gt;&lt;td style='background-color:white'&gt;819&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;820&lt;/td&gt;&lt;td style='background-color:red'&gt;821&lt;/td&gt;&lt;td style='background-color:white'&gt;822&lt;/td&gt;&lt;td style='background-color:red'&gt;823&lt;/td&gt;&lt;td style='background-color:white'&gt;824&lt;/td&gt;&lt;td style='background-color:white'&gt;825&lt;/td&gt;&lt;td style='background-color:white'&gt;826&lt;/td&gt;&lt;td style='background-color:red'&gt;827&lt;/td&gt;&lt;td style='background-color:white'&gt;828&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;829&lt;/td&gt;&lt;td style='background-color:white'&gt;830&lt;/td&gt;&lt;td style='background-color:white'&gt;831&lt;/td&gt;&lt;td style='background-color:white'&gt;832&lt;/td&gt;&lt;td style='background-color:white'&gt;833&lt;/td&gt;&lt;td style='background-color:white'&gt;834&lt;/td&gt;&lt;td style='background-color:white'&gt;835&lt;/td&gt;&lt;td style='background-color:white'&gt;836&lt;/td&gt;&lt;td style='background-color:white'&gt;837&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;838&lt;/td&gt;&lt;td style='background-color:red'&gt;839&lt;/td&gt;&lt;td style='background-color:white'&gt;840&lt;/td&gt;&lt;td style='background-color:white'&gt;841&lt;/td&gt;&lt;td style='background-color:white'&gt;842&lt;/td&gt;&lt;td style='background-color:white'&gt;843&lt;/td&gt;&lt;td style='background-color:white'&gt;844&lt;/td&gt;&lt;td style='background-color:white'&gt;845&lt;/td&gt;&lt;td style='background-color:white'&gt;846&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;847&lt;/td&gt;&lt;td style='background-color:white'&gt;848&lt;/td&gt;&lt;td style='background-color:white'&gt;849&lt;/td&gt;&lt;td style='background-color:white'&gt;850&lt;/td&gt;&lt;td style='background-color:white'&gt;851&lt;/td&gt;&lt;td style='background-color:white'&gt;852&lt;/td&gt;&lt;td style='background-color:red'&gt;853&lt;/td&gt;&lt;td style='background-color:white'&gt;854&lt;/td&gt;&lt;td style='background-color:white'&gt;855&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;856&lt;/td&gt;&lt;td style='background-color:red'&gt;857&lt;/td&gt;&lt;td style='background-color:white'&gt;858&lt;/td&gt;&lt;td style='background-color:red'&gt;859&lt;/td&gt;&lt;td style='background-color:white'&gt;860&lt;/td&gt;&lt;td style='background-color:white'&gt;861&lt;/td&gt;&lt;td style='background-color:white'&gt;862&lt;/td&gt;&lt;td style='background-color:red'&gt;863&lt;/td&gt;&lt;td style='background-color:white'&gt;864&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;865&lt;/td&gt;&lt;td style='background-color:white'&gt;866&lt;/td&gt;&lt;td style='background-color:white'&gt;867&lt;/td&gt;&lt;td style='background-color:white'&gt;868&lt;/td&gt;&lt;td style='background-color:white'&gt;869&lt;/td&gt;&lt;td style='background-color:white'&gt;870&lt;/td&gt;&lt;td style='background-color:white'&gt;871&lt;/td&gt;&lt;td style='background-color:white'&gt;872&lt;/td&gt;&lt;td style='background-color:white'&gt;873&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:white'&gt;874&lt;/td&gt;&lt;td style='background-color:white'&gt;875&lt;/td&gt;&lt;td style='background-color:white'&gt;876&lt;/td&gt;&lt;td style='background-color:red'&gt;877&lt;/td&gt;&lt;td style='background-color:white'&gt;878&lt;/td&gt;&lt;td style='background-color:white'&gt;879&lt;/td&gt;&lt;td style='background-color:white'&gt;880&lt;/td&gt;&lt;td style='background-color:red'&gt;881&lt;/td&gt;&lt;td style='background-color:white'&gt;882&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style='background-color:red'&gt;883&lt;/td&gt;&lt;td style='background-color:white'&gt;884&lt;/td&gt;&lt;td style='background-color:white'&gt;885&lt;/td&gt;&lt;td style='background-color:white'&gt;886&lt;/td&gt;&lt;td style='background-color:red'&gt;887&lt;/td&gt;&lt;td style='background-color:white'&gt;888&lt;/td&gt;&lt;td style='background-color:white'&gt;889&lt;/td&gt;&lt;td style='background-color:white'&gt;890&lt;/td&gt;&lt;td style='background-color:white'&gt;891&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;/table&gt;&lt;br /&gt;A more comprehensive table with numbers listed to 17991 can be found at &lt;a href="http://www.thedamagereport.com/base9-primes.html"&gt;thedamagereport.com&lt;/a&gt;. Maybe you will be "the one" to find the pattern in the primes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3529804395110811764?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3529804395110811764/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3529804395110811764' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3529804395110811764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3529804395110811764'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/07/base-9-spiral.html' title='Base 9 Spiral'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SHqR5Grx8VI/AAAAAAAAAN0/afuoAnJmyMI/s72-c/root_9_spiral.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-8075432986058057491</id><published>2008-07-03T19:53:00.000-07:00</published><updated>2008-07-13T10:17:37.281-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='prime number 18'/><title type='text'>Prime Spiral - Intervals of 18</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SG2Q4IxZ_qI/AAAAAAAAAMU/qGVxno9-TrA/s1600-h/18_factor_prime_01.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SG2Q4IxZ_qI/AAAAAAAAAMU/qGVxno9-TrA/s400/18_factor_prime_01.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5218986837294055074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This circular spiral (click on the above image to enlarge it.) is a distant cousin of the Ulam spiral with the primes up to 499 mapped and indicated in red. First, this spiral is drawn in such a way that all primes fall on dedicated "prime arms" originating with 1, 5, 7, 11, 13, 17 and 19.  Even numbers sit on their own arms. Each number on any given arm is separated from his neighbor by intervals of 18, 36, 72, etc. The arm originating with 2 contains no other primes (of course, because all the numbers on this arm are even). Strangely, the arm originating in 3 contains no other primes either.&lt;br /&gt;&lt;br /&gt;The bizarre thing about this spiral is when you add the digits of any given number within an arm. For example, the arm terminating just to the right of 6 o'clock is the root 19 arm. See the following:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHlwLwtjSyI/AAAAAAAAAMc/eI_bPfl5BMI/s1600-h/18_factor_prime_03.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHlwLwtjSyI/AAAAAAAAAMc/eI_bPfl5BMI/s400/18_factor_prime_03.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5222328590269631266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The first number in this arm is 19. Adding the digits in the integer 19 is a straight forward affair: 1+9=10.&lt;br /&gt;&lt;br /&gt;The number following 19 is 37. Adding the digits produces 3+7=10.&lt;br /&gt;&lt;br /&gt;It goes on like this, with some exceptions where the digits add up to 19. But it's always one or the other, either 10 or 19, or probably 28 too if kept going up the arm. And interesting the digits comprising 19 add up to 10. Are we in fact looking at a segment of &lt;a href="http://www.research.att.com/~njas/sequences/A128140" target="_blank"&gt;Gary W. Adamson's number sequence A238140?&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's the root 11 arm. You can see that each digit in a given number adds up to 11 or the occasional 20.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SHlx2wI-60I/AAAAAAAAAMk/j3tGxTHFveE/s1600-h/18_factor_prime_04.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SHlx2wI-60I/AAAAAAAAAMk/j3tGxTHFveE/s400/18_factor_prime_04.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5222330428362255170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;What is the significance of this organization of primes along these arms? It is more than a simple grouping of numbers, because remember, the spiral originates with 1 at the center then follows a very orderly counter-clockwise path, AND each number within a given arm is separated from its neighbor by 18 or a factor of 18. &lt;br /&gt;&lt;br /&gt;Another interesting bit of math with this spiral concerns predicting which numbers will appear after a given number. Take for example this: 191x2-11=371. I believe it is a coincidence that 371 is 11 steps away from 191 within the arm (if you begin counting at 191). Anyway, the formula seems to work on all the numbers within this arm:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHlz6PwyoUI/AAAAAAAAAMs/gfpmd4AVTdQ/s1600-h/18_factor_prime_05.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHlz6PwyoUI/AAAAAAAAAMs/gfpmd4AVTdQ/s400/18_factor_prime_05.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5222332687413584194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can apply this formula to any number within the arm to predict that a number will appear. The formula n*2-armNumber is modified slightly per each arm, where armNumber is the root integer for a given arm.&lt;br /&gt;&lt;br /&gt;Here is the root 5 arm:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SHl1hhCrZ5I/AAAAAAAAAM0/tTmNI-zgTPE/s1600-h/18_factor_prime_06.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SHl1hhCrZ5I/AAAAAAAAAM0/tTmNI-zgTPE/s400/18_factor_prime_06.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5222334461578536850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In this example the formula n*2-armNumber takes 5 for armNumber. Let's take (131*2)-5 to get 257. It's just uncanny.&lt;br /&gt;&lt;br /&gt;For those of you following along at home, I've created a cheat sheet spiral with each arm numbered along with the general sums for digits in a given arm.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHo4ow-aEcI/AAAAAAAAANc/iUUJkUlLEfg/s1600-h/18_factor_prime_08.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SHo4ow-aEcI/AAAAAAAAANc/iUUJkUlLEfg/s400/18_factor_prime_08.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5222548990882091458" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-8075432986058057491?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/8075432986058057491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=8075432986058057491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8075432986058057491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8075432986058057491'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/07/prime-spiral-factors-of-18.html' title='Prime Spiral - Intervals of 18'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SG2Q4IxZ_qI/AAAAAAAAAMU/qGVxno9-TrA/s72-c/18_factor_prime_01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-6052396085038228660</id><published>2008-07-02T21:49:00.000-07:00</published><updated>2008-07-03T12:02:02.429-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='e ulam spiral mathematical constant'/><title type='text'>e - Mathematical Constant Mapped on a Ulam Spiral</title><content type='html'>Here's what you get when you map the product of the square root of n&lt;sup&gt;2&lt;/sup&gt;   to &lt;a href="http://en.wikipedia.org/wiki/E_(mathematical_constant)" target="_blank"&gt;e&lt;/a&gt; along a Ulam spiral:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SGxbGbI8-DI/AAAAAAAAAL8/g39KE9yvWHs/s1600-h/e__image01.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SGxbGbI8-DI/AAAAAAAAAL8/g39KE9yvWHs/s400/e__image01.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5218646234138212402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Algorithm: (Math.round(Math.sqrt(Math.pow(n, 2.71828 ))*2.71828)%2==0)&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;This unusual creation uses PI and e to display a weird hodge podge of fractal influenced spirals:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SGxd7ZISpmI/AAAAAAAAAME/tvs236oYvcE/s1600-h/e__image02.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SGxd7ZISpmI/AAAAAAAAAME/tvs236oYvcE/s400/e__image02.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5218649343154890338" /&gt;&lt;/a&gt;&lt;br /&gt;Algorithm: (Math.round(Math.sqrt(Math.pow(n, Math.PI ))*2.71828)%2==0)&lt;br /&gt;&lt;br /&gt;A simplification of the algorithm leads to this:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SG0iHTgNdkI/AAAAAAAAAMM/Yi3DtnRdJxQ/s1600-h/e__image03.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SG0iHTgNdkI/AAAAAAAAAMM/Yi3DtnRdJxQ/s400/e__image03.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5218865052082075202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Algorithm: (Math.round(n/2.71828)*n%2==0)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-6052396085038228660?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/6052396085038228660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=6052396085038228660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/6052396085038228660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/6052396085038228660'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/07/e-mathematical-constant-mapped-on-ulam.html' title='e - Mathematical Constant Mapped on a Ulam Spiral'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XjnYO1uZPUs/SGxbGbI8-DI/AAAAAAAAAL8/g39KE9yvWHs/s72-c/e__image01.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-4100040413833905266</id><published>2008-06-18T22:03:00.000-07:00</published><updated>2008-06-25T20:30:29.029-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='modulo PI PHI ulam spiral mathematics spiral numbers Flash actionscript'/><title type='text'>The Strangest, Most Beautiful Spiral</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFno0PwmVCI/AAAAAAAAAJg/xYb2JHig38E/s1600-h/celtic_spiral_large.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFno0PwmVCI/AAAAAAAAAJg/xYb2JHig38E/s400/celtic_spiral_large.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213454027939271714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;When my spiral generator output the above image for the first time, my jaw dropped. I had previously generated some interesting spiral images using triangular and square numbers, images that others have already generated elsewhere. But I have not yet seen anything as complex or intricate as this image, at least using the Ulam spiral algorithm. &lt;br /&gt;&lt;br /&gt;The base calculation for generating this image (using ActionScript) follows:&lt;br /&gt;(Math.round(Math.sqrt(Math.pow(n,2))*(1.6180339887*3.14159265)/2)%2==0)&lt;br /&gt;&lt;br /&gt;It's the kind of pattern that would indeed make for an excellent Persian rug design, where your eye gets lost trying to follow the paths through the maze.&lt;br /&gt;&lt;br /&gt;The following image uses the same calculation to determine the color of the dot, but rather than starting at the center here we are starting at top left 0,0 and moving across _x, then down and repeating until the space is filled. &lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFrQVT_YG7I/AAAAAAAAAKA/W6usPSU-O54/s1600-h/pi-phi_linear.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFrQVT_YG7I/AAAAAAAAAKA/W6usPSU-O54/s400/pi-phi_linear.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213708583196695474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now we can see that the pattern is incredibly simple. If we say gray dots are 0 and red dots are 1, then we get:&lt;br /&gt;0101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000010101010101010101010101000000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000000000000000000000000000101010101010101010101010000000000000000000000000000000000001010101010101010101010100000000000000&lt;br /&gt;&lt;br /&gt;The groups of zeros alternate between 36 zeros and 38 zeros. In between these alternations is a string of zeros and ones. The first set of mixed digits is a 12-digit-long string "010101010101". After that it's always a 23-digit-long string "10101010101010101010101".&lt;br /&gt;&lt;br /&gt;Now I'm trying to fine tune the algorithm to see if I can focus the pattern, perhaps improving it. Here is the result of using (Math.round(Math.sqrt(Math.pow(n, (Math.sqrt(2)+1) ))*2.2)%2==0)...As you can see there is not a huge difference.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFsdD1vcLxI/AAAAAAAAAKc/QCeG_jekOuE/s1600-h/celtic_spiral_improvement_0.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFsdD1vcLxI/AAAAAAAAAKc/QCeG_jekOuE/s400/celtic_spiral_improvement_0.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213792945414352658" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Again...(Math.round(Math.sqrt(Math.pow(pInt, (Math.sqrt(2)+1) ))*2.3)%2==0). It seems the general characteristic of the pattern is similar, yet if you study it the differences become gradually more apparent. The way the spiral patterns are visually iterating reminds me a little bit of M.C. Escher's fish transforming into birds and back again. [See &lt;a href="http://en.wikipedia.org/wiki/Image:Escher%2C_Metamorphosis_II.jpg" target="_blank"&gt;Metamorphosis&lt;/a&gt;]&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFsfZed45tI/AAAAAAAAAKk/Y9_X3w9q-Js/s1600-h/celtic_spiral_improvement_1.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFsfZed45tI/AAAAAAAAAKk/Y9_X3w9q-Js/s400/celtic_spiral_improvement_1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213795516147099346" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After mucking about with the multiplier I have discovered that numbers greater than PI*PHI produce tinier spiral patterns to the point of turning the whole image into a seemingly random block of static. Going the other direction improves the clarity of the spiral patterns. Here is the same algorithm using 1.5 for our multiplier:&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFsnQzt0zMI/AAAAAAAAALE/iXdyjvkFRNw/s1600-h/celtic_spiral_improvement_2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFsnQzt0zMI/AAAAAAAAALE/iXdyjvkFRNw/s400/celtic_spiral_improvement_2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213804163325283522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Multiplier = 1.2&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFsnwePlXBI/AAAAAAAAALM/NxPHcuLibuA/s1600-h/celtic_spiral_improvement_3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFsnwePlXBI/AAAAAAAAALM/NxPHcuLibuA/s400/celtic_spiral_improvement_3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213804707317111826" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Multiplier = .9&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFsoNAQehpI/AAAAAAAAALU/cZU5ybgslLY/s1600-h/celtic_spiral_improvement_4.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFsoNAQehpI/AAAAAAAAALU/cZU5ybgslLY/s400/celtic_spiral_improvement_4.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213805197484000914" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Multiplier = .2&lt;br /&gt;We've crossed the threshold and the spirals are gone.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFso7jGm6oI/AAAAAAAAALc/A0g6nPrn8xE/s1600-h/celtic_spiral_improvement_5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFso7jGm6oI/AAAAAAAAALc/A0g6nPrn8xE/s400/celtic_spiral_improvement_5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213805997111831170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Multiplier = .005&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFspvVtx5rI/AAAAAAAAALk/ED-DejF8lkY/s1600-h/celtic_spiral_improvement_6.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFspvVtx5rI/AAAAAAAAALk/ED-DejF8lkY/s400/celtic_spiral_improvement_6.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5213806886871230130" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Why do spirals form fancy daisy chains when using PI*PHI as the multiplier? Who knows? It's just how the dots line up.&lt;br /&gt;&lt;br /&gt;I am curious as to why having PI as part of the algorithm leads to these spirals. Here is a linear matrix (L to R, T to B) using (Math.round(  Math.pow(Math.sqrt(pInt)/Math.PI, 3.3) )%2==0) per dot.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SGMMyzxEgWI/AAAAAAAAAL0/G1JOrnfYfQE/s1600-h/linear_spiral.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SGMMyzxEgWI/AAAAAAAAAL0/G1JOrnfYfQE/s400/linear_spiral.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5216026860454183266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Another kind of MaxiCode&lt;/h3&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SGHCuvsukqI/AAAAAAAAALs/H8a-fCBYAvY/s1600-h/maxicode.gif"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SGHCuvsukqI/AAAAAAAAALs/H8a-fCBYAvY/s400/maxicode.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5215663951805584034" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Have you ever examined a package delivered by UPS and wondered what those &lt;a href="http://en.wikipedia.org/wiki/MaxiCode" target="_blank"&gt;curious looking labels&lt;/a&gt; containing a matrix of dots are used for? They are quite ingenious and beautiful in their own way. If you've gotten this far in this particular post you have probably noticed how you might generate your own "maxi-code" using the principles of a Ulam spiral, a left-to-right, top-to-bottom pattern, or any contained pattern. Encoding data into a pattern is a pretty simple affair. It's the encryption that is difficult. If we take the above example of converting the Ulam spiral to a series of ones and zeroes, you wind up with what could be interpreted as a set of data encoded as a binary set. But what algorithm should one use to convert these numbers back to human readable data? Or machine-readable data? Who knows! Such is the fun in creating your own patterns, meta-languages and encoding/decoding/codec algorithms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-4100040413833905266?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/4100040413833905266/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=4100040413833905266' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4100040413833905266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4100040413833905266'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/strangest-most-beautiful-spiral.html' title='The Strangest, Most Beautiful Spiral'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SFno0PwmVCI/AAAAAAAAAJg/xYb2JHig38E/s72-c/celtic_spiral_large.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-2377220175995580122</id><published>2008-06-17T20:09:00.001-07:00</published><updated>2008-06-17T21:17:36.132-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='phi ulam spiral'/><title type='text'>Images of Phi Part II</title><content type='html'>A Ulam spiral testing each number for if(Math.round((&lt;i&gt;n&lt;/i&gt; * Math.PI)/1.618)%9==0)&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFh8jtIe-RI/AAAAAAAAAH0/2fe0NS1iHeE/s1600-h/phi-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFh8jtIe-RI/AAAAAAAAAH0/2fe0NS1iHeE/s400/phi-1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213053521533794578" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Same idea, swapping out mod 9 with mod 5: &lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFh9syIDWhI/AAAAAAAAAH8/DOwr4YO-8Bw/s1600-h/phi-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFh9syIDWhI/AAAAAAAAAH8/DOwr4YO-8Bw/s400/phi-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213054777004612114" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: (Math.round(Math.sqrt(Math.pow(n,2))*1.618/2)%5==0)&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFh-qLKLIqI/AAAAAAAAAIE/64HfFQ4giqw/s1600-h/phi-3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFh-qLKLIqI/AAAAAAAAAIE/64HfFQ4giqw/s400/phi-3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213055831696417442" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: (Math.round(Math.sqrt(n*1.618)/2)%5==0)&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFh_scqEzhI/AAAAAAAAAIM/vgaAReHRHuo/s1600-h/phi-4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFh_scqEzhI/AAAAAAAAAIM/vgaAReHRHuo/s400/phi-4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213056970264989202" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: (Math.round(Math.sqrt(n*1.618))%5==0)&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFiAi2cssQI/AAAAAAAAAIU/bVFqwEEtpXI/s1600-h/phi-5.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFiAi2cssQI/AAAAAAAAAIU/bVFqwEEtpXI/s400/phi-5.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213057904901140738" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: (Math.round(Math.sqrt(n*2))%5==0)&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFiDvXHpjtI/AAAAAAAAAIc/AJ8CY6D1ZTI/s1600-h/phi-6.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFiDvXHpjtI/AAAAAAAAAIc/AJ8CY6D1ZTI/s400/phi-6.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213061418364538578" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here are the selected primes up to 13693 from the previous image.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFiFPR0Rg1I/AAAAAAAAAIk/hjyjGZa3onk/s1600-h/phi-6_primes.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFiFPR0Rg1I/AAAAAAAAAIk/hjyjGZa3onk/s400/phi-6_primes.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213063066208535378" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-2377220175995580122?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/2377220175995580122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=2377220175995580122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2377220175995580122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2377220175995580122'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/images-of-phi-1618.html' title='Images of Phi Part II'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XjnYO1uZPUs/SFh8jtIe-RI/AAAAAAAAAH0/2fe0NS1iHeE/s72-c/phi-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-2953594717296828371</id><published>2008-06-17T19:00:00.000-07:00</published><updated>2008-06-17T19:24:57.496-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='primes ulam spiral distribution'/><title type='text'>Prime Numbers Ending in 1</title><content type='html'>A Ulam spiral with only primes ending with the integer 1. We start off 1, 11, 31, 41, 61, 71, 101, 131, 151.....10,331!&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFhsci9ZIQI/AAAAAAAAAHk/gc5GBED46ls/s1600-h/primes-ending-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFhsci9ZIQI/AAAAAAAAAHk/gc5GBED46ls/s400/primes-ending-1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213035806357790978" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This prime goes to 11. Here we have all primes ending with the digits 11 from 11 to 12011.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFhu5ho6zFI/AAAAAAAAAHs/5l0IdhiNvyQ/s1600-h/primes-ending-11.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFhu5ho6zFI/AAAAAAAAAHs/5l0IdhiNvyQ/s400/primes-ending-11.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213038503242943570" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-2953594717296828371?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/2953594717296828371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=2953594717296828371' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2953594717296828371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2953594717296828371'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/prime-numbers-ending-in-1.html' title='Prime Numbers Ending in 1'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SFhsci9ZIQI/AAAAAAAAAHk/gc5GBED46ls/s72-c/primes-ending-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-1539072319740965596</id><published>2008-06-17T16:59:00.000-07:00</published><updated>2008-06-17T19:48:48.166-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='primes 7 ulam spiral distribution'/><title type='text'>Primes Numbers Beginning With 7</title><content type='html'>&lt;p&gt;This is a Ulam spiral showing just the primes that begin with 7 (except for the yellow integer 1 at center). So, we have 7, 71, 73, 79 in the center group. The middle ring contains 701, 709, 719, 727, 733, 739, 743, 751, 757, 751, 761, 769, 773, 787, and 797. The outer ring contains 7151, 7159, 7193.... The reason we have squares appearing is fairly obvious. What I find interesting is the distribution of primes within each level. There are notable gaps in the outermost ring. Of course, that ring contains a few thousand numbers so the distribution could appear however we decide to fire off the spiral.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFhQmqgLszI/AAAAAAAAAGs/6Nw_YRxQl94/s1600-h/primes-starting-with-7s.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFhQmqgLszI/AAAAAAAAAGs/6Nw_YRxQl94/s400/primes-starting-with-7s.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213005193855873842" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Same idea, this time primes beginning with 2. Notice the deficit of primes in the lower edge of the outer ring.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFhYtVMBt4I/AAAAAAAAAG0/Yt-Kxaa57s4/s1600-h/primes-starting-with-2s.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFhYtVMBt4I/AAAAAAAAAG0/Yt-Kxaa57s4/s400/primes-starting-with-2s.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213014104486295426" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-1539072319740965596?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/1539072319740965596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=1539072319740965596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/1539072319740965596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/1539072319740965596'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/primes-numbers-beginning-with-7.html' title='Primes Numbers Beginning With 7'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XjnYO1uZPUs/SFhQmqgLszI/AAAAAAAAAGs/6Nw_YRxQl94/s72-c/primes-starting-with-7s.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-5503527744269842147</id><published>2008-06-15T00:08:00.000-07:00</published><updated>2008-06-15T00:32:12.003-07:00</updated><title type='text'>Corner Primes</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFTAEl3eb9I/AAAAAAAAAGk/GfHYLepwotk/s1600-h/corner_primes.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFTAEl3eb9I/AAAAAAAAAGk/GfHYLepwotk/s400/corner_primes.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5212001853891309522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Primes on "corners" are connected with a line. A corner, in the case of a Ulam Spiral, is like corners in real life. It's where we turn to go in a different direction. The corner primes in this image are:&lt;br/&gt;&lt;br /&gt;2,3,5,7,13,17,31,37,43,73,101,157,197,211,241,257,307,401,421,463,577,601,677,757,1123,1297, and 1483.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now if you take the average of these numbers you get 242.074074074.... Subtract 1 because I said so, and you get 241.074074074..., which rounds to 241. Prime!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Do the same with 2,3,5,7,13,17. Averages to 7.8 - 1 = 6.8. Rounds to 7. Bingo. Prime!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Do it with 2,3,5,7,13,17, and 31. Averages to 11.142857. Don't subtract the 1 because then our rounded average would not be prime. Dang it.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Weird? Yes. Significant? Nope.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-5503527744269842147?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/5503527744269842147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=5503527744269842147' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/5503527744269842147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/5503527744269842147'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/corner-primes.html' title='Corner Primes'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XjnYO1uZPUs/SFTAEl3eb9I/AAAAAAAAAGk/GfHYLepwotk/s72-c/corner_primes.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3848545027915914017</id><published>2008-06-14T23:19:00.000-07:00</published><updated>2008-06-14T23:28:06.683-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='prime number map connect dots'/><title type='text'>Connect the Prime Dots</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFS0o6FnDbI/AAAAAAAAAGU/Hi15jMIGwEI/s1600-h/Primes_up-to-337.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFS0o6FnDbI/AAAAAAAAAGU/Hi15jMIGwEI/s400/Primes_up-to-337.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211989283655060914" /&gt;&lt;/a&gt;&lt;br /&gt;Here's the basic algorithm: Starting with 1, cycle through all numbers and test each for prime. If the number is prime, connect a line from the last prime number to the current prime number. The particular map stops at 337.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Zooming out to prime #14033, I give you this:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFS2a8okmEI/AAAAAAAAAGc/ENS5VfOvpmY/s1600-h/the_whole_enchilada.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFS2a8okmEI/AAAAAAAAAGc/ENS5VfOvpmY/s400/the_whole_enchilada.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211991242843658306" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3848545027915914017?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3848545027915914017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3848545027915914017' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3848545027915914017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3848545027915914017'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/connect-prime-dots.html' title='Connect the Prime Dots'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SFS0o6FnDbI/AAAAAAAAAGU/Hi15jMIGwEI/s72-c/Primes_up-to-337.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-8611359387575504526</id><published>2008-06-14T20:24:00.001-07:00</published><updated>2008-06-14T21:31:27.389-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam spiral prime number fractal'/><title type='text'>Primes Overlapping Fractals on a Ulam Spiral</title><content type='html'>&lt;p&gt;Here is a typical Ulam spiral. Each bright dot is a prime number.&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFSLmZrRPII/AAAAAAAAAFU/6mhNbWKaFn8/s1600-h/primes_ulam_spiral.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFSLmZrRPII/AAAAAAAAAFU/6mhNbWKaFn8/s400/primes_ulam_spiral.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211944160618167426" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;And here is our "rug" with the lovely Celtic pattern generated by multiplying the golden mean with PI. Where do the primes fall upon this pattern?&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFSNaqzUzYI/AAAAAAAAAFc/oJLWBsd5WzE/s1600-h/celtic_ulam_spiral.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFSNaqzUzYI/AAAAAAAAAFc/oJLWBsd5WzE/s400/celtic_ulam_spiral.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211946158080183682" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Overlapped primes:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFSSTbpf6PI/AAAAAAAAAFs/xU-rw2UBC5Y/s1600-h/primes-overlap-celtic.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFSSTbpf6PI/AAAAAAAAAFs/xU-rw2UBC5Y/s400/primes-overlap-celtic.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211951531311491314" /&gt;&lt;/a&gt;As you can see, it's a complete mess. Some of the primes fit into the pattern, some don't, where the primes sit in the negative space. Nothing significant is happening here. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Or is there? Take a look at this:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFSUkLpf9lI/AAAAAAAAAF0/ex-NcHkYjP0/s1600-h/primes-overlap-celtic-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFSUkLpf9lI/AAAAAAAAAF0/ex-NcHkYjP0/s400/primes-overlap-celtic-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211954018097559122" /&gt;&lt;/a&gt;The primes tend to "favor" areas where the celtic pattern's positive space occupies. That is, the negative space of the pattern, the dark regions, by and large are not polluted with primes. Of course you will find exceptions and even a contradiction: There are plenty of positive space regions (masses of red dots) where the primes also avoid. Another way to say this is the primes favor the edges, and if we continue to draw this pattern outward we may gain resolution into the nature of this happy random accident. &lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-8611359387575504526?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/8611359387575504526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=8611359387575504526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8611359387575504526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8611359387575504526'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/primes-overlapping-fractals-on-ulam.html' title='Primes Overlapping Fractals on a Ulam Spiral'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SFSLmZrRPII/AAAAAAAAAFU/6mhNbWKaFn8/s72-c/primes_ulam_spiral.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-4762922125775510507</id><published>2008-06-14T01:32:00.000-07:00</published><updated>2008-06-14T21:36:07.718-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='golden mean ratio ulam spiral'/><title type='text'>Alien Signals</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFOCQy4dUmI/AAAAAAAAAEk/FRFls9eMGhI/s1600-h/sqrt-PIxGold-Power-01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFOCQy4dUmI/AAAAAAAAAEk/FRFls9eMGhI/s400/sqrt-PIxGold-Power-01.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211652418845889122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;code&gt;if(Math.round(Math.sqrt(Math.pow(&lt;i&gt;n&lt;/i&gt;,2))*(1.6180339887*3.14159265)/2)%5==0){//paint a dot}&lt;/code&gt;. I'm not sure what the significance is of multiplying PI with the Golden Mean. But it sure looks cool.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;A little more number crunching: &lt;code&gt;if(Math.round(Math.sqrt(Math.pow(pInt, (Math.sqrt(2)+1) ))*(1.6180339887*3.14159265)/2)%2==0){//paint weird pattern}&lt;/code&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFOE28KPhYI/AAAAAAAAAEs/HZnNLhCAAnk/s1600-h/sqrt-PIxGold-Power-02.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFOE28KPhYI/AAAAAAAAAEs/HZnNLhCAAnk/s320/sqrt-PIxGold-Power-02.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211655273194685826" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Tighten up the resolution and you approach a nice pattern for a wool rug.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFOKBvuHwSI/AAAAAAAAAE0/GIy72HJFdEc/s1600-h/sqrt-PIxGold-Power-03.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFOKBvuHwSI/AAAAAAAAAE0/GIy72HJFdEc/s400/sqrt-PIxGold-Power-03.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211660956392210722" /&gt;&lt;/a&gt;&lt;br /&gt;Note that the picture gets clearer the farther from center you go. It seems there is simply more mathematical "space" for the pattern to be expressed.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFOK_-N1_WI/AAAAAAAAAE8/pr_JSi7fe6A/s1600-h/sqrt-PIxGold-Power-04.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFOK_-N1_WI/AAAAAAAAAE8/pr_JSi7fe6A/s400/sqrt-PIxGold-Power-04.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211662025435250018" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-4762922125775510507?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/4762922125775510507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=4762922125775510507' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4762922125775510507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4762922125775510507'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/alien-painting.html' title='Alien Signals'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SFOCQy4dUmI/AAAAAAAAAEk/FRFls9eMGhI/s72-c/sqrt-PIxGold-Power-01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-5603567417772936328</id><published>2008-06-14T00:50:00.001-07:00</published><updated>2008-06-17T22:22:55.607-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sin ulam spiral'/><title type='text'>Sin mod n, Square roots and PI</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFN4bMqWHRI/AAAAAAAAAD0/uxPOepZ10Cc/s1600-h/sin-01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFN4bMqWHRI/AAAAAAAAAD0/uxPOepZ10Cc/s400/sin-01.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211641602448432402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Calculation: &lt;code&gt;if(Math.round(Math.sin(&lt;i&gt;n&lt;/i&gt;))%6==0){//paint it!}&lt;/code&gt; As it turns out, it doesn't need to be 6 to generate this pattern because we round the SIN calculation first. So, &lt;code&gt;if(Math.round(Math.sin(pInt)*Math.PI)%3==0){...}&lt;/code&gt; generates this:&lt;/p&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFN6q1O5rRI/AAAAAAAAAD8/_tYkopUZsLM/s1600-h/sin-02.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFN6q1O5rRI/AAAAAAAAAD8/_tYkopUZsLM/s320/sin-02.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211644070060469522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFSeS89N5kI/AAAAAAAAAF8/raDikZnEUJE/s1600-h/sin-02-hi.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFSeS89N5kI/AAAAAAAAAF8/raDikZnEUJE/s400/sin-02-hi.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211964717212231234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr /&gt;&lt;br /&gt;&lt;h3&gt;And then there's this...&lt;/h3&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFN8HSvgUUI/AAAAAAAAAEE/kzaKw8oOhAg/s1600-h/sqrt-PI-01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFN8HSvgUUI/AAAAAAAAAEE/kzaKw8oOhAg/s400/sqrt-PI-01.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211645658529812802" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;if(Math.round(Math.sqrt(pInt)*3.14159265)%2==0){//draw Tempest!}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Same formula as above but showing only the prime numbers.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFSiPXFwd2I/AAAAAAAAAGE/Xtgx5uao04I/s1600-h/sqrt-PI-01_primes_overlay.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFSiPXFwd2I/AAAAAAAAAGE/Xtgx5uao04I/s400/sqrt-PI-01_primes_overlay.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211969053554407266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br/&gt;&lt;br /&gt;And again with the primes blurred to enhance the pattern they create.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFSi7fecjhI/AAAAAAAAAGM/bmjOtu383_U/s1600-h/sqrt-PI-01_primes_overlay-e.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFSi7fecjhI/AAAAAAAAAGM/bmjOtu383_U/s400/sqrt-PI-01_primes_overlay-e.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211969811719687698" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Same stuff, modding 3 this time:&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFN9KKZd2vI/AAAAAAAAAEM/7gDvUSly7i4/s1600-h/sqrt-PI-02.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFN9KKZd2vI/AAAAAAAAAEM/7gDvUSly7i4/s200/sqrt-PI-02.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211646807341128434" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Modulo 4:&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFN-JOncuxI/AAAAAAAAAEU/76hxHwx9Xwo/s1600-h/sqrt-PI-03.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFN-JOncuxI/AAAAAAAAAEU/76hxHwx9Xwo/s200/sqrt-PI-03.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211647890805275410" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Let's take the average of PI and the Golden Ratio and mod that by 2...Holy guacamole!&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFOAWMZ6bgI/AAAAAAAAAEc/UmTmcPgsFtk/s1600-h/sqrt-PIxGold-01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFOAWMZ6bgI/AAAAAAAAAEc/UmTmcPgsFtk/s320/sqrt-PIxGold-01.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211650312573185538" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;So if you were looking for a visual representation of what the relationship amongst primes and PI and PHI might look like, look no further.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: (Math.round(Math.sqrt(Math.pow(pInt,2))*(1.6180339887*3.14159265)/2)%5==0)&lt;/p&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFibog1w3qI/AAAAAAAAAJM/33DBIBWdei0/s1600-h/pi-phi-primes.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFibog1w3qI/AAAAAAAAAJM/33DBIBWdei0/s400/pi-phi-primes.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213087688993857186" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-5603567417772936328?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/5603567417772936328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=5603567417772936328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/5603567417772936328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/5603567417772936328'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/sin-mod-6.html' title='Sin mod n, Square roots and PI'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XjnYO1uZPUs/SFN4bMqWHRI/AAAAAAAAAD0/uxPOepZ10Cc/s72-c/sin-01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3159550822371537977</id><published>2008-06-14T00:24:00.000-07:00</published><updated>2008-06-17T22:06:09.535-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='square root of 2 ulam spiral'/><title type='text'>Silver Ratio</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNyIYB2DaI/AAAAAAAAADc/QQGCfsjYjQI/s1600-h/silver-ratio-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNyIYB2DaI/AAAAAAAAADc/QQGCfsjYjQI/s400/silver-ratio-1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211634682012503458" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Here we go round and round Ulam's spiral, testing each number not for primality, but if(Math.round(&lt;i&gt;n&lt;/i&gt;/1+1.41421)*&lt;i&gt;n&lt;/i&gt;%5==0), paint circle. Basically another twisted formatter using 1+√2 modulo 5. Why 5? Why not?&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Strange things happen around this number: &lt;a href="http://en.wikipedia.org/wiki/Square_root_of_2" target="_blank"&gt;Square root of 2&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Same calc, swapping in modulo 7. Looks a bit like a cousin to the &lt;i&gt;n&lt;/i&gt; mod 7 image.&lt;/p&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFN0H8_mFOI/AAAAAAAAADk/QTCw1W69MDs/s1600-h/silver-ratio-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFN0H8_mFOI/AAAAAAAAADk/QTCw1W69MDs/s320/silver-ratio-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211636873778566370" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Go modulo 8:&lt;/p&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFN2QH3yY1I/AAAAAAAAADs/MaxAtkNKt1E/s1600-h/silver-ratio-3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFN2QH3yY1I/AAAAAAAAADs/MaxAtkNKt1E/s320/silver-ratio-3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211639213160817490" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Calculation per dot:  (Math.round(pInt/(Math.sqrt(2)+1))%5==0)&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFiXmQqJnwI/AAAAAAAAAJE/sxH3MeFDWF0/s1600-h/silver-ratio-4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFiXmQqJnwI/AAAAAAAAAJE/sxH3MeFDWF0/s400/silver-ratio-4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213083252243930882" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3159550822371537977?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3159550822371537977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3159550822371537977' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3159550822371537977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3159550822371537977'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/silver-ratio.html' title='Silver Ratio'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNyIYB2DaI/AAAAAAAAADc/QQGCfsjYjQI/s72-c/silver-ratio-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-725630197921933802</id><published>2008-06-14T00:08:00.000-07:00</published><updated>2008-06-17T21:17:15.753-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='golden mean ratio ulam spiral'/><title type='text'>Images of Phi Part I</title><content type='html'>&lt;code&gt;if(Math.round(&lt;i&gt;n&lt;/i&gt;/1.6180339887)*&lt;i&gt;n&lt;/i&gt;%2==0){//paint the dot a color&lt;/code&gt;&lt;br /&gt;&lt;p&gt;Behold:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNudBQDZAI/AAAAAAAAADU/m9dAaQIq1Hk/s1600-h/RoundGoldenMean-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNudBQDZAI/AAAAAAAAADU/m9dAaQIq1Hk/s400/RoundGoldenMean-1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211630638628824066" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;if(Math.round(&lt;i&gt;n&lt;/i&gt;/1.6180339887)*&lt;i&gt;n&lt;/i&gt;%2==0){//paint the dot a color}&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Another good pattern for a rug.&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFOMR8GDA2I/AAAAAAAAAFE/zHqiCkJPgXs/s1600-h/RoundGoldenMean-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFOMR8GDA2I/AAAAAAAAAFE/zHqiCkJPgXs/s400/RoundGoldenMean-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211663433614951266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-725630197921933802?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/725630197921933802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=725630197921933802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/725630197921933802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/725630197921933802'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/16180339887.html' title='Images of Phi Part I'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNudBQDZAI/AAAAAAAAADU/m9dAaQIq1Hk/s72-c/RoundGoldenMean-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-2304076452856811639</id><published>2008-06-13T23:51:00.001-07:00</published><updated>2008-06-17T21:59:10.364-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fractal pi modulo'/><title type='text'>3.14159265</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFNqfVGESHI/AAAAAAAAAC8/vi_DbYIdpaQ/s1600-h/RoundToPi-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFNqfVGESHI/AAAAAAAAAC8/vi_DbYIdpaQ/s320/RoundToPi-1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211626280268875890" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This is a fairly strange calculation, but here goes:&lt;br/&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;if( Math.round( &lt;i&gt;n&lt;/i&gt; /)*&lt;i&gt;n&lt;/i&gt;%2==0 ) {//color the dot}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;A lot of fractal-like features with this formula. Here's another using the same calculation but using mod 3.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFNsBgnASoI/AAAAAAAAADE/5mt8XcpZmGs/s1600-h/RoundToPi-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFNsBgnASoI/AAAAAAAAADE/5mt8XcpZmGs/s320/RoundToPi-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211627966986996354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using 5 as the modulo divisor delivers strange results. My favorite of the lot:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNtDM0PFpI/AAAAAAAAADM/57tqD-xlwdM/s1600-h/RoundToPi-3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNtDM0PFpI/AAAAAAAAADM/57tqD-xlwdM/s400/RoundToPi-3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211629095545149074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;How about a nice, modern looking rug?&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFONlhLnecI/AAAAAAAAAFM/FZ6nUHbtrnY/s1600-h/RoundToPi-4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFONlhLnecI/AAAAAAAAAFM/FZ6nUHbtrnY/s400/RoundToPi-4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211664869499566530" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: Math.round(Math.sqrt(pInt)*Math.PI)%5==0&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFiQ46QSqdI/AAAAAAAAAIs/MUq6NF8ms8g/s1600-h/pi-1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFiQ46QSqdI/AAAAAAAAAIs/MUq6NF8ms8g/s400/pi-1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213075876066011602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Calculation per dot: Math.round(pInt*Math.PI)%5==0&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFiSHL-5MdI/AAAAAAAAAI0/4-aiU1Qzf_k/s1600-h/pi-2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFiSHL-5MdI/AAAAAAAAAI0/4-aiU1Qzf_k/s400/pi-2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213077220854673874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Calculation per dot: Math.round(((Math.pow(pInt, 2))*Math.PI) * (Math.sqrt(2)+1))%5==0. Some of the patterns in here look like hiragana. If you look closely you can also find Kilroy. And no, I didn't put him in there.&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFiVIE_cBqI/AAAAAAAAAI8/4nesGFnJ3hM/s1600-h/matrix.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_XjnYO1uZPUs/SFiVIE_cBqI/AAAAAAAAAI8/4nesGFnJ3hM/s400/matrix.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5213080534692660898" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-2304076452856811639?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/2304076452856811639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=2304076452856811639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2304076452856811639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/2304076452856811639'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/mathroundpint314159265pint20.html' title='3.14159265'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XjnYO1uZPUs/SFNqfVGESHI/AAAAAAAAAC8/vi_DbYIdpaQ/s72-c/RoundToPi-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-1993795922906849370</id><published>2008-06-13T22:34:00.000-07:00</published><updated>2008-06-14T01:50:08.460-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='modulo 3 ulam spiral mathematics spiral numbers Flash actionscript'/><title type='text'>Visualizing Modulo 1 through 6</title><content type='html'>&lt;p&gt;Modulo 1 and 2...Pretty much what you'd expect from dividing things individually and then by 2s.&lt;/p&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNifQRLxoI/AAAAAAAAACc/P8HZHmh_OSs/s1600-h/mod1.jpg"&gt;&lt;img style="text-align:center; margin:0px auto 10px;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNifQRLxoI/AAAAAAAAACc/P8HZHmh_OSs/s320/mod1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211617482880304770" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNjTngZX7I/AAAAAAAAACk/wEuYrWoke4M/s1600-h/mod2.jpg"&gt;&lt;img style="text-align:center; cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNjTngZX7I/AAAAAAAAACk/wEuYrWoke4M/s320/mod2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211618382471323570" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="550" id="modulus3" align="middle"&gt;&lt;br /&gt;&lt;param name="allowScriptAccess" value="sameDomain" /&gt;&lt;br /&gt;&lt;param name="movie" value="http://www.thedamagereport.com/number_generators/modulus3.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="wmode" value="transparent" /&gt;&lt;param name="bgcolor" value="#000000" /&gt;&lt;embed src="http://www.thedamagereport.com/number_generators/modulus3.swf" quality="high" wmode="transparent" bgcolor="#000000" width="500" height="550" name="modulus3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;p&gt;There is no rule that states we can only plot primes with Ulam's spiral. This is what happens when you perform &lt;i&gt;n&lt;/i&gt; mod 3 as you plot each dot. Hmmm... &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Same idea, only mod 4:&lt;/p&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFNbxm7Q-DI/AAAAAAAAAB0/RV38jYyyYfw/s1600-h/mod4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFNbxm7Q-DI/AAAAAAAAAB0/RV38jYyyYfw/s320/mod4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211610101618636850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;And it just gets better. Mod 6:&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNcuJuQSuI/AAAAAAAAAB8/m-hi9rvTuDU/s1600-h/mod6.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNcuJuQSuI/AAAAAAAAAB8/m-hi9rvTuDU/s320/mod6.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211611141751458530" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-1993795922906849370?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/1993795922906849370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=1993795922906849370' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/1993795922906849370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/1993795922906849370'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/modulo-3.html' title='Visualizing Modulo 1 through 6'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNifQRLxoI/AAAAAAAAACc/P8HZHmh_OSs/s72-c/mod1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-4569348097368543775</id><published>2008-06-13T22:28:00.000-07:00</published><updated>2008-06-13T22:34:41.640-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='modulo 5 ulam spiral'/><title type='text'>Modulo 5</title><content type='html'>&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="550" id="modulus5" align="middle"&gt;&lt;br /&gt;&lt;param name="allowScriptAccess" value="sameDomain" /&gt;&lt;br /&gt;&lt;param name="movie" value="http://www.thedamagereport.com/number_generators/modulus5.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="wmode" value="transparent" /&gt;&lt;param name="bgcolor" value="#000000" /&gt;&lt;embed src="http://www.thedamagereport.com/number_generators/modulus5.swf" quality="high" wmode="transparent" bgcolor="#000000" width="500" height="550" name="modulus5" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" &gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;n&lt;/i&gt; mod 5&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-4569348097368543775?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/4569348097368543775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=4569348097368543775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4569348097368543775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/4569348097368543775'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/modulo-5.html' title='Modulo 5'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-8723135025141015639</id><published>2008-06-13T21:38:00.000-07:00</published><updated>2008-06-13T23:40:43.580-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='8'/><category scheme='http://www.blogger.com/atom/ns#' term='modulo 7'/><category scheme='http://www.blogger.com/atom/ns#' term='10 ulam spiral'/><category scheme='http://www.blogger.com/atom/ns#' term='9'/><title type='text'>Modulo 7, 8, 9, 10, 16, 21</title><content type='html'>&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="550" id="modulus7" align="middle"&gt;&lt;br /&gt;&lt;param name="allowScriptAccess" value="sameDomain" /&gt;&lt;br /&gt;&lt;param name="movie" value="http://www.thedamagereport.com/number_generators/modulus7.swf" /&gt;&lt;param name="quality" value="high" /&gt;&lt;param name="wmode" value="transparent" /&gt;&lt;param name="bgcolor" value="#000000" /&gt;&lt;embed src="http://www.thedamagereport.com/number_generators/modulus7.swf" quality="high" wmode="transparent" bgcolor="#000000" width="500" height="550" name="modulus7" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" &gt;&lt;/embed&gt;&lt;br /&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;n&lt;/i&gt; mod 7&lt;/p&gt;&lt;br /&gt;&lt;div style="border-top:solid 1px #494646"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNdhH6DeoI/AAAAAAAAACE/D3hWAEuXriQ/s1600-h/mod8.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNdhH6DeoI/AAAAAAAAACE/D3hWAEuXriQ/s320/mod8.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211612017437407874" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Mod 8. Like a scene from Space Invaders.&lt;/p&gt;&lt;br /&gt;&lt;div style="border-top:solid 1px #494646"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNehECcbhI/AAAAAAAAACM/UUxpUSGqclc/s1600-h/mod9.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNehECcbhI/AAAAAAAAACM/UUxpUSGqclc/s320/mod9.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211613115910483474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Mod 9.&lt;/p&gt;&lt;br /&gt;&lt;div style="border-top:solid 1px #494646"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNfSRBSYaI/AAAAAAAAACU/osO6qes8Ayg/s1600-h/mod10.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNfSRBSYaI/AAAAAAAAACU/osO6qes8Ayg/s320/mod10.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211613961208881570" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Mod 10, in blue at positions 10 all the way to 3420.&lt;/p&gt;&lt;br /&gt;&lt;div style="border-top:solid 1px #494646"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNkpb5b6pI/AAAAAAAAACs/7HBkXWExpiU/s1600-h/mod16.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XjnYO1uZPUs/SFNkpb5b6pI/AAAAAAAAACs/7HBkXWExpiU/s320/mod16.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211619856823872146" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Compare this to Mod 8.&lt;/p&gt;&lt;br /&gt;&lt;div style="border-top:solid 1px #494646"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFNl6mIkBmI/AAAAAAAAAC0/UuNVYfSwqns/s1600-h/mod21.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_XjnYO1uZPUs/SFNl6mIkBmI/AAAAAAAAAC0/UuNVYfSwqns/s320/mod21.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211621251141076578" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;Mod 21&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-8723135025141015639?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/8723135025141015639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=8723135025141015639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8723135025141015639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/8723135025141015639'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/modulo-7.html' title='Modulo 7, 8, 9, 10, 16, 21'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SFNdhH6DeoI/AAAAAAAAACE/D3hWAEuXriQ/s72-c/mod8.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7772800703483337582.post-3249349863731891194</id><published>2008-06-13T19:21:00.000-07:00</published><updated>2008-06-13T19:33:17.377-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ulam mathmatics spiral prime numbers Flash actionscript'/><title type='text'>Visualizing Prime Numbers</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFMtRP_D_LI/AAAAAAAAABs/7cjS-MAktuk/s1600-h/primes01.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_XjnYO1uZPUs/SFMtRP_D_LI/AAAAAAAAABs/7cjS-MAktuk/s320/primes01.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5211558968169856178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;This is the output from a Ulam spiral generator I built in Flash. The pattern is based on the &lt;a href="http://en.wikipedia.org/wiki/Ulam_spiral" target="_blank"&gt;Ulam spiral concept&lt;/a&gt;. I got the idea to play around with mapping prime numbers after reading a biography on &lt;a href="http://www.amazon.com/MAN-WHO-LOVED-ONLY-NUMBERS/dp/0786884061/ref=pd_bbs_sr_2?ie=UTF8&amp;s=books&amp;qid=1213329555&amp;sr=8-2" target="_blank"&gt;Paul Erdos&lt;/a&gt; which talked about Stanislaw Ulam's now famous doodles. There's all kinds of patterns one can derive from this. Depending on how you draw out the pattern, you can indicate the interesting property where primes only fall on diagonals. But since that ground has been covered, I was hoping to discover the face of God, Elvis, or both.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;   &lt;p&gt;Here I've colored each prime an independent color based on one of four directions the individual dot was plotted (the gray circles are composites, not primes). The cyan dots are also prime and are found at the end of each direction. Interestingly, there are no primes on the southeast quadrant between the red and green sections. There are similar prime DMZs, if you look. Apparently there isn't anything terribly profound about this pattern (some say), but I don't believe the naysayers. Hell, they just proved that &lt;a href="http://seedmagazine.com/news/2006/03/prime_numbers_get_hitched.php" target="_blank"&gt;42 really is a significant number&lt;/a&gt; in the universe.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;This blog contains many of the variants I have generated.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7772800703483337582-3249349863731891194?l=ulamspiral.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ulamspiral.blogspot.com/feeds/3249349863731891194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7772800703483337582&amp;postID=3249349863731891194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3249349863731891194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7772800703483337582/posts/default/3249349863731891194'/><link rel='alternate' type='text/html' href='http://ulamspiral.blogspot.com/2008/06/visualizing-prime-numbers.html' title='Visualizing Prime Numbers'/><author><name>mofostopheles</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_XjnYO1uZPUs/SfIdcJOJvII/AAAAAAAAAhA/eu7JL604gHE/S220/145x145_profile_pic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XjnYO1uZPUs/SFMtRP_D_LI/AAAAAAAAABs/7cjS-MAktuk/s72-c/primes01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
