Timeline for Another amicable number problem
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 8, 2014 at 23:36 | comment | added | xnor | Save a char by using a Boolean multiplier in place of the condition: sum(i*(x%i<1)for i in range(1,x)). | |
| Jul 11, 2011 at 18:18 | comment | added | leonardo | good tips Charles! | |
| Jul 9, 2011 at 15:10 | comment | added | Charles Beattie | just xrange to range %0 causes an error | |
| Jul 9, 2011 at 14:55 | history | edited | Alexandru | CC BY-SA 3.0 | deleted 3 characters in body |
| Jul 9, 2011 at 14:41 | comment | added | Charles Beattie | Suggestion xrange(1,x) => range(x) and not x%i to x%i<1 | |
| Jul 6, 2011 at 16:22 | history | answered | Alexandru | CC BY-SA 3.0 |