Factors of an integer: Difference between revisions

m
→‎optimized version: used a smaller font size for output, used a template for the output section.
m (→‎optimized version: added/changed whitespace and comments.)
m (→‎optimized version: used a smaller font size for output, used a template for the output section.)
Line 4,130:
if j*j==x then return a j b /*Was X a square? Then insert √ x */
return a b /*return the divisors of both lists. */</lang>
'''{{out|output''' |text=&nbsp; when using the input used isof: &nbsp; &nbsp; <tt> -6 &nbsp; 200 </tt>}}
 
<pre style="height:65ex">
(Shown at &nbsp; <big>'''<sup>3</sup>/<sub>4</sub>'''</big> &nbsp; size.)
<pre style="font-size:75%;height:65ex85ex">
n #divisors divisors
══════ ═════════ ════════════════════════════════════════════════════════════