Anonymous user
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>
This is the output for the REXX program to produce a Ulam spiral (for primes);
'''Output''' when the following is used for input: <tt> 416 </tt>▼
▲
<pre style="font-size:25%">▼
(Shown at <sup>'''1'''</sup>/<sub>'''8'''</sub> size.)
<b>
▀ ▄ ▀ ▀ ▀ ▄▀ ▀ ▄▀ ▀ ▄ ▀ ▀ ▄ ▄ ▀ ▄ ▄ ▄ ▄ ▄ ▀ ▀ ▀ ▀ ▄ ▀ ▀ ▀ ▄ ▀▄ ▄ ▄ ▄ ▀ ▀ ▄ ▀ ▄ ▀ ▀▄ ▀ ▄ ▄ ▀ ▀ ▄ ▀▄ ▄ ▄ ▄▀ ▄▀ ▀ ▄ ▀ ▀ ▀ ▀
▀▄ ▄ ▄ ▄▀ ▀ ▀ ▄ ▀▄ ▄ ▀▄ ▀ ▀▄ ▀ ▀ ▀ ▄ ▀ ▄ ▀ ▄ ▀ ▀ ▀ ▄ ▄▀ ▄ ▄ ▀▄ ▀▄ ▄ ▄ ▄ ▀ ▀ ▀ ▀ ▀ ▀ ▄ ▄ ▀ ▄ ▄ ▄ ▀ ▄ ▀ ▄ ▀▄ ▀ ▀ ▄ ▀ ▀
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
<pre>
1 is the starting point, 173056 numbers used, 15758 primes found, largest prime: 173053
|