Ulam spiral (for primes)/REXX: Difference between revisions

m
added a closing tag.
(added a larger Ulam prime spiral.)
 
m (added a closing tag.)
 
(5 intermediate revisions by 2 users not shown)
Line 1:
<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[REXX]]</span><hr>
==REXX==
 
This is the output for the REXX program to produce a Ulam spiral (for primes);
 
'''Output''' &nbsp; when the following is used for input: &nbsp; <tt> 416 </tt>
 
'''Output''' {{out|output|text=&nbsp; when the following is used for input: &nbsp; <tt> 416 </tt>}}
(Shown at one quarter size.)
 
<pre style="font-size:25%">
(Shown at &nbsp; <sup>'''1'''</sup>/<sub>'''8'''</sub> &nbsp; size.)
<b>
<pre style="font-size:2513%">
▀ ▄ ▀ ▀ ▀ ▄▀ ▀ ▄▀ ▀ ▄ ▀ ▀ ▄ ▄ ▀ ▄ ▄ ▄ ▄ ▄ ▀ ▀ ▀ ▀ ▄ ▀ ▀ ▀ ▄ ▀▄ ▄ ▄ ▄ ▀ ▀ ▄ ▀ ▄ ▀ ▀▄ ▀ ▄ ▄ ▀ ▀ ▄ ▀▄ ▄ ▄ ▄▀ ▄▀ ▀ ▄ ▀ ▀ ▀ ▀
▀▄ ▄ ▄ ▄▀ ▀ ▀ ▄ ▀▄ ▄ ▀▄ ▀ ▀▄ ▀ ▀ ▀ ▄ ▀ ▄ ▀ ▄ ▀ ▀ ▀ ▄ ▄▀ ▄ ▄ ▀▄ ▀▄ ▄ ▄ ▄ ▀ ▀ ▀ ▀ ▀ ▀ ▄ ▄ ▀ ▄ ▄ ▄ ▀ ▄ ▀ ▄ ▀▄ ▀ ▀ ▄ ▀ ▀
Line 218 ⟶ 219:
1 is the starting point, 173056 numbers used, 15758 primes found, largest prime: 173053
</pre>
</b>
The last line shown (above) is reshownre-shown here (below) at 100%:
<pre>
1 is the starting point, 173056 numbers used, 15758 primes found, largest prime: 173053