totient function

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 totient function.

f(10000) to f(10300).

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

*NOTHING*

Sample output:

4000
9792
3332
8568
4800
4928
5002
10006
3312
10008
2880
6440
5004
8640
3336
8008
4992
5616
5008
9744
2656
9100
5010
6144
4272
8000
3336
9720
4752
6684
3712
8592
2880
9828
4816
5328
4608
10036
2856
10038
4000
6692
5020
9020
3240
6720
5022
6272
4992
9264
2640
9108
4296
6696
4560
8040
3344
9856
4876
5736
4016
10060
3024
9688
4608
4800
4308
10066
3352
10068
3744
6696
5032
8628
3168
7200
4560
6716
5038
10078
2304
9472
4970
6720
5040
8064
3280
7800
4608
6264
4032
10090
3248
10092
4284
5376
5040
9636
2880
10098
4000
5184
5050
10102
3360
7728
4860
6732
4104
9180
2688
10110
4992
6740
4656
6528
3360
9900
5058
6744
3520
9744
2880
9880
5060
5400
4920
8640
3360
8676
4048
6120
4736
10132
3372
8104
4320
6480
4896
10138
2496
10140
4600
5544
5056
8112
3168
9936
4872
6336
3360
10150
3312
8400
5076
5408
5076
8700
3384
10158
4032
6768
5080
10162
2640
7632
4224
6776
4800
10168
2688
8712
5084
6780
5086
7200
3328
10176
4356
6048
4064
10180
3392
9568
4752
4608
4620
9960
3384
9724
4072
6552
4032
10192
3396
8152
5096
6120
5098
8280
2560
10100
5100
6408
5100
7488
2916
9976
4480
6560
4080
10210
3168
8748
5106
5424
5104
9600
3120
9280
3456
6812
4824
10222
3360
8160
5112
5832
5112
9984
2400
9432
5112
6804
4032
7744
3408
9856
5118
6824
4096
7560
3408
10242
4704
5456
4968
10246
2880
9936
4000
6336
4640
10252
3416
7008
5120
6288
4884
10258
2592
9900
4392
6200
5128
8208
3248
10266
4800
5832
3744
10270
3392
10272
4660
5440
4392
9996
3420
9720
4096
6512
4992
8064
3424
7040
4968
6804
5136
10288
2352
10000
4920
6624
5146
7840
2880
8820
4860
6864
4080

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1flagitious640.28322010/01/08 05:34:170B / 29B / 30B
2ksk690.77752010/01/04 20:18:470B / 32B / 33B
3leonid700.22162010/01/03 20:00:360B / 45B / 23B
4murky-satyr700.23152010/01/06 05:16:060B / 45B / 23B
5uru770.63402010/01/03 15:29:190B / 40B / 32B
6kaki800.23352010/01/02 17:27:350B / 55B / 24B
7shinh1000.62192010/01/02 09:44:260B / 59B / 26B

Python _

RankUserSizeTimeDateStatistics
1murky-satyr930.68412010/01/11 13:50:050B / 53B / 35B
2recursive970.78022010/01/06 02:56:430B / 55B / 36B
3hallvabo990.50662009/12/30 09:09:040B / 53B / 33B
4betaveros2082.29742010/01/12 18:07:1813B / 105B / 44B

PHP _

RankUserSizeTimeDateStatistics
1o-cn950.23962010/02/27 22:53:140B / 39B / 55B

Scheme _

RankUserSizeTimeDateStatistics
1murky-satyr1400.44772010/01/11 08:45:430B / 63B / 56B
2kaki1521.16332010/01/11 08:40:190B / 73B / 60B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1021.94262009/12/31 09:07:190B / 62B / 27B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr1153.52742010/01/06 05:24:400B / 55B / 38B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr760.33692010/01/06 05:22:430B / 42B / 34B
2nn760.43392010/01/09 21:24:330B / 42B / 34B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr1130.38172010/01/07 22:41:140B / 73B / 21B

PARI/GP _

RankUserSizeTimeDateStatistics
1clock(teebee)360.04172012/05/09 02:33:440B / 26B / 10B
2teebee370.08032012/03/27 06:23:160B / 28B / 9B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*1011.06312010/01/10 21:40:030B / 68B / 23B
2*yuko*922.15962011/11/22 23:57:000B / 60B / 23B

J _

RankUserSizeTimeDateStatistics
1pooq170.11082010/01/07 17:24:390B / 11B / 6B
2medialuna190.03592014/08/19 22:15:300B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1c|mell460.00012010/01/12 16:05:030B / 27B / 19B
2murky-satyr960.00012010/01/12 21:10:440B / 48B / 48B
3nn970.00012010/01/11 14:46:110B / 50B / 47B
4msk980.41852010/01/01 13:52:500B / 48B / 50B
5inaniwa980.46522010/01/05 12:08:200B / 42B / 56B
651b990.41362010/01/02 17:17:450B / 48B / 51B
751b(fast)990.00012010/01/02 17:26:310B / 52B / 47B
8not(murky-satyr)930.00012010/02/02 17:40:520B / 46B / 47B
9inaniwa970.43012010/01/13 08:06:460B / 42B / 55B
10PaulĂ´1620.00012010/02/25 07:06:004B / 85B / 66B

D _

RankUserSizeTimeDateStatistics
151b1080.00172010/01/02 17:28:480B / 59B / 47B

Go _

RankUserSizeTimeDateStatistics
1uru1230.00012010/01/10 15:13:130B / 73B / 43B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1160.07822010/01/04 20:15:120B / 68B / 39B
2xsd1212.58132010/01/12 22:18:080B / 72B / 37B
3xsd1140.14452010/09/16 01:20:120B / 67B / 38B

Haskell _

RankUserSizeTimeDateStatistics
1Lost_dog600.64622009/12/30 00:43:470B / 35B / 24B
2rst76600.64242009/12/30 11:08:410B / 35B / 22B
3konn620.66562009/12/30 21:23:370B / 37B / 23B
4_650.62812009/12/30 11:22:350B / 40B / 23B

Pascal _

RankUserSizeTimeDateStatistics
1uru1660.00482010/01/12 00:11:590B / 113B / 33B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1190.01492010/01/10 21:41:060B / 76B / 39B
2*yuko*970.06452011/11/22 23:33:580B / 58B / 34B

Maxima _

RankUserSizeTimeDateStatistics
1msk400.44052010/01/04 00:20:100B / 29B / 11B
2pooq460.48352010/01/03 21:56:380B / 27B / 18B

AWK _

RankUserSizeTimeDateStatistics
1nn800.14602010/01/11 14:18:220B / 42B / 36B
2llhuii(nn)790.14992014/08/19 22:42:030B / ?B / ?B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)782.75332009/12/31 20:32:0930B / 28B / 20B
2yshl1292.61892009/12/31 20:34:090B / 93B / 18B

GolfScript _

RankUserSizeTimeDateStatistics
1betaveros6390.04912010/01/12 21:00:040B / 407B / 231B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik350.04942017/01/04 20:03:060B / 24B / 11B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr470.08892010/01/06 05:19:200B / 21B / 24B
2leonid480.08042010/01/03 20:04:430B / 24B / 22B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr805.56852010/01/07 22:28:550B / 48B / 30B
2nn802.78902010/01/09 21:40:150B / 46B / 30B

Language Ranking_

RankLangUserSizeScore
1Jpooq1710000
2BurlesqueHendrik354857
3PARI/GPclock(teebee)364722
4Maximamsk404250
5Cc|mell463695
6gorubymurky-satyr473617
7HaskellLost_dog602833
8Rubyflagitious642656
9JavaScriptmurky-satyr762236
10Postscriptyshl(bin)782179
11AWKllhuii(nn)792151
12Groovymurky-satyr802125
13BASIC*yuko*921847
14Pythonmurky-satyr931827
15PHPo-cn951789
16Fortran*yuko*971752
17Common LISPkozima1021666
18D51b1081574
19Luamurky-satyr1131504
20OCamlxsd1141491
21Arcmurky-satyr1151478
22Gouru1231382
23Schememurky-satyr1401214
24Pascaluru1661024
25GolfScriptbetaveros639266

return top