Timeline for Find the sum of the divisors of N
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 26, 2022 at 11:32 | comment | added | Anders Ellern Bilgrau |
Note: that anonymous functions in the later versions of R now can now use the syntax \(x) instead of function(x) . So you can save quite a few characters there.
|
|
Oct 10, 2017 at 17:15 | history | edited | Giuseppe | CC BY-SA 3.0 |
added 373 characters in body
|
Sep 8, 2017 at 15:59 | comment | added | Giuseppe | @RuiBarradas a function is a perfectly good submission. to test it, you obviously have to call it as I do in the first submission. | |
Sep 8, 2017 at 15:58 | comment | added | Rui Barradas |
Shouldn't the second be numbers::Sigma(N) ? Like this it outputs the source code of function Sigma .
|
|
Sep 8, 2017 at 12:18 | comment | added | Giuseppe | @gstats yes, but then I should get +4 bytes per meta discussion. If you have a strong opinion you can weigh in on Jarko's answer but as nobody has suggested an alternative, that stands in my mind. | |
Sep 8, 2017 at 12:07 | comment | added | gstats |
For the first one you can save 2 bytes with N=scan();
|
|
Sep 8, 2017 at 0:39 | history | answered | Giuseppe | CC BY-SA 3.0 |