tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
5
Task/Perfect-numbers/Slate/perfect-numbers.slate
Normal file
5
Task/Perfect-numbers/Slate/perfect-numbers.slate
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
n@(Integer traits) isPerfect
|
||||
[
|
||||
(((2 to: n // 2 + 1) select: [| :m | (n rem: m) isZero])
|
||||
inject: 1 into: #+ `er) = n
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue