Lucas-Lehmer test: Difference between revisions

Content deleted Content added
m →‎{{header|REXX}}: corrected verb conjugation, added comments, changed (title) header, added whitespace, enforced correct numeric form (scientific), added DO-END comment labels. -- ~~~~
m →‎{{header|REXX}}: changed the '''output''' wording. -- ~~~~
Line 1,172: Line 1,172:
if j*j>x then return 1 /*past the sqrt of X? It's prime*/
if j*j>x then return 1 /*past the sqrt of X? It's prime*/
end /*j*/</lang>
end /*j*/</lang>
'''output''' when the following is used: <tt> 10000 </tt>
'''output''' when the following is used for input: <tt> 10000 </tt>
<pre style="overflow:scroll">
<pre style="overflow:scroll">
══════════════════════════list═══════════════════════════
══════════════════════════list═══════════════════════════