sum of divisors of n

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Print the sum of divisors of n for n = 1 .. 100. (OEIS A000203).

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

1
3
4
7
6
12
8
15
13
18
12
28
14
24
24
31
18
39
20
42
32
36
24
60
31
42
40
56
30
72
32
63
48
54
48
91
38
60
56
90
42
96
44
84
78
72
48
124
57
93
72
98
54
120
72
120
80
90
60
168
62
96
104
127
84
144
68
126
96
144
72
195
74
114
124
140
96
168
80
186
121
126
84
224
108
132
120
180
90
234
112
168
128
144
120
252
98
171
156
217

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs460.03242014/12/07 04:22:030B / 23B / 22B
2Histocrat460.03112015/04/18 07:47:410B / 23B / 22B

Ruby2 _

RankUserSizeTimeDateStatistics
1mitchs470.11342015/11/05 11:16:200B / 25B / 20B

Perl _

RankUserSizeTimeDateStatistics
1teebee440.01122015/01/25 02:22:280B / 16B / 26B
2llhuii440.01332015/11/07 23:17:470B / 16B / 26B
3ninjalj540.01392012/12/15 07:16:370B / 24B / 30B
4BioFALSE560.00012013/01/28 20:10:440B / 26B / 27B
5esc120570.00012012/12/08 23:32:180B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1clock560.03392012/11/13 17:04:060B / 36B / 12B
2teebee560.02402012/11/14 09:13:500B / 36B / 12B
3twobit560.04152012/11/14 12:08:540B / 36B / 12B
4leonid560.01862012/12/14 08:25:050B / 36B / 12B
5mitchs560.03182014/12/07 04:17:590B / 36B / 12B
6llhuii560.02972014/12/07 16:34:510B / 36B / 12B
7hallvabo560.04502015/05/24 18:38:140B / 36B / 12B
8560.03142015/06/27 04:10:110B / ?B / ?B
9xsot560.03622015/08/18 17:03:500B / 36B / 12B
10rolf560.03592015/11/08 05:42:470B / 36B / 12B
11recursive600.01772012/11/16 07:28:540B / 37B / 15B
12z650.02132012/11/19 02:25:570B / ?B / ?B
13foo690.01792012/10/22 13:52:520B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii570.15912014/12/07 16:37:460B / 36B / 14B
2mitchs570.04912014/12/07 16:40:400B / 36B / 14B
3teebee570.05832015/01/03 07:54:280B / 36B / 14B

PHP _

RankUserSizeTimeDateStatistics
1clock590.01852012/10/25 13:41:070B / 24B / 34B
2teebee590.04852012/10/25 15:33:030B / 24B / 34B
3Ryan2440.02352012/10/22 11:45:510B / ?B / ?B

Pike _

RankUserSizeTimeDateStatistics
1teebee720.04982015/03/14 07:13:180B / 36B / 34B
2clock740.06162015/03/14 02:16:530B / 39B / 33B

Scheme _

RankUserSizeTimeDateStatistics
1kaki730.09962013/03/25 05:10:030B / 40B / 26B

Arc _

RankUserSizeTimeDateStatistics
1clock530.96972012/11/13 17:57:410B / 29B / 16B
2teebee530.87802013/01/02 22:13:540B / 29B / 16B

Io _

RankUserSizeTimeDateStatistics
1clock470.09122012/10/30 15:49:440B / 30B / 16B
2teebee470.08412012/11/02 08:35:370B / 30B / 16B
3pooq500.08742012/10/25 19:14:360B / 29B / 21B

JavaScript _

RankUserSizeTimeDateStatistics
1nn500.01222012/10/23 00:09:270B / 27B / 23B
2teebee500.01282012/10/23 04:37:320B / 27B / 23B
3clock500.03372012/10/23 12:14:040B / 27B / 23B
4madshall500.02062013/08/09 05:25:420B / 27B / 23B
5_nderscore500.02052013/08/09 23:47:340B / 27B / 23B
6Sait2000560.01592012/12/03 18:32:500B / ?B / ?B
7Skilover87610.02282013/09/19 21:04:310B / ?B / ?B
8aridon620.02122013/09/06 03:13:340B / 30B / 32B
9SuperJedi224880.01992015/03/27 01:00:330B / 43B / 34B

Lua _

RankUserSizeTimeDateStatistics
1pooq600.03742012/10/27 11:46:120B / 38B / 14B
2twobit600.02152012/11/14 12:20:000B / 38B / 14B

Tcl _

RankUserSizeTimeDateStatistics
1clock900.05802013/02/02 20:05:410B / 50B / 25B

Xtal _

RankUserSizeTimeDateStatistics
1teebee520.02142012/10/27 10:57:380B / 29B / 23B
2clock520.01752012/11/13 17:38:120B / 29B / 23B
3pooq540.10752012/10/25 18:52:230B / 30B / 24B

Crystal _

RankUserSizeTimeDateStatistics
1mitchs480.00672015/11/22 10:17:550B / 25B / 21B

SNOBOL _

RankUserSizeTimeDateStatistics
1clock960.01332013/03/23 01:57:330B / 42B / 30B

Icon _

RankUserSizeTimeDateStatistics
1clock710.01132012/12/22 19:57:570B / 44B / 22B
2teebee710.01192013/02/25 11:03:360B / 44B / 22B

REXX _

RankUserSizeTimeDateStatistics
1*yuko*550.00582014/03/19 00:13:590B / 33B / 18B
2teebee570.02232013/01/09 02:13:040B / 35B / 15B
3clock570.02042013/02/02 14:42:240B / 35B / 9B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee280.06922012/10/22 16:03:580B / 19B / 9B
2clock280.01132012/10/23 02:14:460B / 19B / 9B
3mitchs280.16712014/05/16 04:36:430B / 19B / 9B
4Hendrik280.00812014/05/17 02:59:470B / 19B / 9B

Smalltalk _

RankUserSizeTimeDateStatistics
1teebee610.03562014/06/08 12:27:340B / 33B / 25B
2clock620.04172013/01/05 14:38:580B / 33B / 27B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*550.01382012/10/30 23:45:560B / 37B / 14B
2clock550.01462012/10/31 02:24:000B / 37B / 13B
3teebee550.01362012/11/02 08:33:440B / 37B / 13B
4pooq560.15322012/10/25 19:28:370B / 37B / 11B

Erlang _

RankUserSizeTimeDateStatistics
1teebee1050.10822016/07/14 00:09:100B / 57B / 43B

J _

RankUserSizeTimeDateStatistics
1I., S.210.02042012/10/22 21:24:340B / 9B / 12B
2medialuna550.01832014/08/11 15:15:590B / ?B / ?B

A+ _

RankUserSizeTimeDateStatistics
1teebee330.02432013/07/15 16:37:1211B / 11B / 11B

K _

RankUserSizeTimeDateStatistics
1clock210.00722013/04/12 02:09:120B / 8B / 13B
2teebee210.01012013/04/21 08:38:420B / 8B / 13B
3twobit230.00862012/11/14 23:36:320B / 8B / 15B

C _

RankUserSizeTimeDateStatistics
1llhuii640.00012014/12/07 16:12:200B / 31B / 33B
2nu670.00012012/11/11 03:05:540B / 35B / 32B
3david_werecat670.01072012/12/07 01:39:520B / 33B / 34B
4L.A.I.N.670.01272012/12/15 05:47:520B / 32B / 35B
5nn680.00012012/11/10 19:26:210B / 32B / 36B
6tak680.00012012/12/07 15:43:140B / ?B / ?B
7eiyuu690.01472012/12/12 16:14:570B / 32B / 37B
8inaniwa700.00012012/11/10 22:20:050B / 36B / 34B
9%20720.00012015/03/26 05:28:060B / 35B / 37B
10brow740.01042012/12/14 19:18:290B / 36B / 38B
11smkt760.00012012/10/27 12:47:410B / 39B / 37B

Haskell _

RankUserSizeTimeDateStatistics
1henkma540.01792012/10/27 05:31:100B / 32B / 18B
2notogawa540.01912012/11/03 00:23:200B / 32B / 18B
3kaki540.01882012/12/03 05:20:420B / 32B / 19B
4int-e540.01232014/12/07 03:56:460B / 32B / 21B
5tttaki550.01402012/11/01 23:59:210B / 31B / 21B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii640.00012015/08/15 12:14:080B / ?B / ?B
2%20720.01132015/03/26 05:28:110B / 35B / 37B

Java _

RankUserSizeTimeDateStatistics
1clock870.09032012/10/26 12:59:190B / 50B / 35B
2teebee870.12802012/10/26 23:53:430B / 50B / 35B

Pascal _

RankUserSizeTimeDateStatistics
1teebee1020.00012014/01/04 20:35:060B / 67B / 25B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*500.00692012/10/28 14:30:580B / 26B / 24B
2teebee500.00482015/01/23 08:42:590B / 26B / 24B

C# _

RankUserSizeTimeDateStatistics
1teebee1110.05912012/10/28 11:03:370B / 71B / 36B
2clock1110.05482012/10/28 13:45:390B / 71B / 36B
3Hendrik1110.04332015/07/01 11:19:260B / 71B / 36B

Chapel _

RankUserSizeTimeDateStatistics
1clock580.01612013/10/13 00:21:120B / 31B / 22B

Maxima _

RankUserSizeTimeDateStatistics
1teebee340.42222012/10/23 05:14:500B / 24B / 10B
2clock340.58922012/10/23 14:11:390B / 24B / 10B
3pooq340.75162012/10/25 12:22:310B / 24B / 10B
4mitchs340.45592015/09/15 11:14:000B / 24B / 10B

gnuplot _

RankUserSizeTimeDateStatistics
1*yuko*580.02052015/03/08 17:30:530B / 30B / 26B
2teebee660.02042014/12/06 22:08:590B / 29B / 36B

Octave _

RankUserSizeTimeDateStatistics
1teebee460.23712014/12/31 09:03:040B / 30B / 15B

REBOL _

RankUserSizeTimeDateStatistics
1teebee670.04262013/01/04 09:46:450B / 38B / 14B
2clock670.02842013/01/04 10:19:310B / 38B / 14B

Euphoria _

RankUserSizeTimeDateStatistics
1teebee790.01412013/12/26 00:09:510B / 53B / 14B
2clock790.00012014/01/28 03:17:070B / 53B / 14B

AWK _

RankUserSizeTimeDateStatistics
1llhuii481.10422014/12/07 15:29:450B / ?B / ?B
2teebee500.01172012/11/10 19:31:200B / 25B / 25B
3nn500.01132012/11/10 20:44:030B / 25B / 25B
4ninjalj550.01612012/12/15 10:24:080B / 24B / 30B

jq _

RankUserSizeTimeDateStatistics
1teebee390.02642015/02/10 17:29:520B / 20B / 18B
2clock420.03742015/02/09 23:01:300B / 16B / 26B

Bash _

RankUserSizeTimeDateStatistics
1mitchs210.17392015/09/03 04:42:446B / 5B / 8B
2mitchs (alt)340.01992016/03/06 05:45:550B / 19B / 12B
3llhuii430.00772015/01/11 23:47:310B / 18B / 23B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii430.14952015/01/11 23:47:590B / 18B / 23B

Fish _

RankUserSizeTimeDateStatistics
1llhuii450.09862015/01/11 23:48:120B / 22B / 21B

bc _

RankUserSizeTimeDateStatistics
1teebee490.02502012/10/25 03:31:180B / 26B / 22B
2clock490.04002012/10/25 11:12:270B / 24B / 24B
3ninjalj490.03512012/12/15 10:19:360B / 24B / 24B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii480.01222014/12/07 15:30:270B / 24B / 24B
2teebee490.01172014/03/21 06:09:300B / 25B / 24B
3ninjalj550.01492012/12/15 10:28:240B / 24B / 30B

R _

RankUserSizeTimeDateStatistics
1teebee390.18822012/10/24 15:00:430B / 23B / 15B
2clock390.18912012/10/24 15:21:390B / 23B / 14B

QCL _

RankUserSizeTimeDateStatistics
1teebee720.09312012/12/16 08:21:500B / 45B / 19B
2clock720.09642012/12/16 10:14:210B / 45B / 19B
3pooq780.03962012/10/25 20:16:450B / 49B / 18B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1760.17132016/07/09 05:13:530B / 1B / 175B
2mitchs1920.14062016/07/09 05:10:330B / 0B / 192B
3g33k4660.00012013/01/29 14:18:2499B / ?B / ?B

Whitespace _

RankUserSizeTimeDateStatistics
1kaz_u1280.01362015/04/26 00:52:520B / 0B / 0B
2mitchs1320.02472015/03/26 05:55:410B / 0B / 0B
3%201420.03222015/03/26 06:00:480B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1tails220.22292012/10/22 23:20:000B / 4B / 18B
2clock220.23372013/03/03 03:51:430B / 2B / 20B
3jonathan camacho250.22742014/01/26 07:59:292B / 5B / 18B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs100.18942015/01/11 15:59:375B / 3B / 2B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik130.01882014/10/07 05:35:190B / 8B / 5B
2AndoDaan130.01512014/10/07 05:50:080B / 8B / 5B
3teebee130.02442014/10/07 06:58:310B / 8B / 5B
4clock130.02332015/01/14 01:24:520B / 8B / 5B
5mroman130.01462015/05/26 19:46:110B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*400.00012012/10/22 22:02:0122B / 11B / 4B

goruby _

RankUserSizeTimeDateStatistics
1mitchs350.06522016/03/06 06:24:560B / 15B / 19B

Groovy _

RankUserSizeTimeDateStatistics
1nn421.02902012/10/23 00:16:100B / 26B / 15B
2clock421.26122012/10/23 12:21:140B / 26B / 14B

Scala _

RankUserSizeTimeDateStatistics
1teebee472.78332014/05/10 05:15:220B / 30B / 13B
2clock482.92402012/11/13 17:20:170B / 32B / 11B

Logo _

RankUserSizeTimeDateStatistics
1teebee520.21452013/01/02 21:57:400B / 30B / 17B
2clock520.19322013/01/28 14:14:000B / 30B / 17B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs1010000
2BurlesqueHendrik137692
3JI., S.214761
4Kclock214761
5Bashmitchs214761
6GolfScripttails224545
7PARI/GPteebee283571
8A+teebee333030
9Maximateebee342941
10gorubymitchs352857
11Rteebee392564
12jqteebee392564
13z80*yuko*402500
14Groovynn422380
15Zshllhuii432325
16Perlteebee442272
17Fishllhuii452222
18Rubymitchs462173
19Octaveteebee462173
20Ioclock472127
21Scalateebee472127
22Ruby2mitchs472127
23AWKllhuii482083
24xgawkllhuii482083
25Crystalmitchs482083
26bcteebee492040
27JavaScriptnn502000
28Fortran*yuko*502000
29Xtalteebee521923
30Logoteebee521923
31Arcclock531886
32Haskellhenkma541851
33BASIC*yuko*551818
34REXX*yuko*551818
35Pythonclock561785
36Python3llhuii571754
37Chapelclock581724
38gnuplot*yuko*581724
39PHPclock591694
40Luapooq601666
41Smalltalkteebee611639
42Cllhuii641562
43ObjCllhuii641562
44REBOLteebee671492
45Iconclock711408
46QCLteebee721388
47Piketeebee721388
48Schemekaki731369
49Euphoriateebee791265
50Javaclock871149
51Tclclock901111
52SNOBOLclock961041
53Pascalteebee102980
54Erlangteebee105952
55C#teebee111900
56Whitespacekaz_u128781
57Brainfuckmitchs (cheat)176568

return top