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| |
{{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 |