Abundant, deficient and perfect number classifications: Difference between revisions

Content added Content deleted
m (→‎{{header|Lua}}: The factors are summed not counted - doh!)
m (→‎{{header|MiniScript}}: The factors get summed, not counted -doh!)
Line 3,357: Line 3,357:


=={{header|MiniScript}}==
=={{header|MiniScript}}==
{{Trans|Lua|Counting the factors using a table}}
{{Trans|Lua|Summing the factors using a table}}
<syntaxhighlight lang="miniscript">
<syntaxhighlight lang="miniscript">
// classify the numbers 1 : 20 000 as abudant, deficient or perfect
// classify the numbers 1 : 20 000 as abudant, deficient or perfect