Proper divisors: Difference between revisions
Content added Content deleted
m (→{{header|RPL}}: typo) |
m (→{{header|Sidef}}: update) |
||
Line 6,231: | Line 6,231: | ||
{{trans|Raku}} |
{{trans|Raku}} |
||
<syntaxhighlight lang="ruby">func propdiv (n) { |
<syntaxhighlight lang="ruby">func propdiv (n) { |
||
n.divisors. |
n.divisors.first(-1) |
||
} |
} |
||