Count in factors: Difference between revisions

m
m (→‎{{header|REXX}}: added CLI support for specifying the "x" in the output (the multiplier characters), used a template for the output sedtions.)
Line 1,833:
 
=={{header|Julia}}==
<lang julia>using Primes, Printf
{{works with|Julia|0.6}}
 
<lang julia>using Primes
function strfactor(n::Integer)
n > -2 || return "-1 × " * strfactor(-n)
4,105

edits