Collatz Problem

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

Collatz Problem
http://en.wikipedia.org/wiki/Collatz_conjecture

Options

exec is denied

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

Sample input:_

3

Sample output:

3
10
5
16
8
4
2
1

Sample input:_

11

Sample output:

11
34
17
52
26
13
40
20
10
5
16
8
4
2
1

Sample input:_

27

Sample output:

27
82
41
124
62
31
94
47
142
71
214
107
322
161
484
242
121
364
182
91
274
137
412
206
103
310
155
466
233
700
350
175
526
263
790
395
1186
593
1780
890
445
1336
668
334
167
502
251
754
377
1132
566
283
850
425
1276
638
319
958
479
1438
719
2158
1079
3238
1619
4858
2429
7288
3644
1822
911
2734
1367
4102
2051
6154
3077
9232
4616
2308
1154
577
1732
866
433
1300
650
325
976
488
244
122
61
184
92
46
23
70
35
106
53
160
80
40
20
10
5
16
8
4
2
1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1flagitious(luck)360.00022010/03/15 15:03:240B / 21B / 13B
2primo (luck)360.01922010/03/18 19:47:380B / 21B / 14B
3murky-satyr410.00232010/03/14 20:33:040B / 15B / 22B
4primo410.01532010/03/17 22:12:210B / 24B / 14B
5uru420.00212010/03/14 22:17:340B / 26B / 13B
6kaki420.00212010/03/15 00:05:320B / 23B / 17B
7yvl420.00282010/03/15 14:08:460B / 25B / 15B
8msk420.00222010/03/23 20:20:570B / 26B / 13B
9eban430.00222010/03/14 18:48:430B / 25B / 15B
10osa_k430.00302010/03/23 20:49:150B / 26B / 15B
11lpm11440.04772010/03/27 05:02:220B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1yibe390.13272010/03/14 13:10:030B / 15B / 24B
2unau390.00162010/03/14 13:55:580B / 15B / 24B
3primo390.00202010/03/15 19:17:280B / 20B / 19B
4osa_k390.00172010/03/23 20:50:290B / 15B / 24B
5ySas390.02822010/03/27 16:44:200B / 15B / 24B
6Mithran410.00172010/03/17 19:39:550B / 14B / 27B
7prakash420.00172010/03/16 06:37:460B / 14B / 28B
8eban440.00172010/03/14 18:52:150B / 16B / 28B
9nai440.00162010/03/17 21:44:020B / 16B / 28B
10msk440.00182010/03/23 22:27:560B / 16B / 28B
11TAKO/j0nKI450.00162010/03/14 18:26:360B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1primo440.00822010/03/17 22:25:590B / 27B / 16B
2hirose440.04562010/03/21 14:51:430B / 27B / 16B
3hallvabo470.05962010/03/25 23:55:090B / 27B / 18B
4betaveros480.01152010/03/15 19:05:511B / 27B / 18B
5recursive480.01202010/03/16 00:49:410B / 29B / 16B
6tobiesque480.01052010/03/16 10:09:121B / 27B / 18B
7chiz490.01252010/03/16 07:06:091B / 28B / 17B
8wrongrook490.06922010/03/28 02:14:441B / ?B / ?B
9gregh560.00812010/03/14 12:39:440B / 38B / 11B
10showyou570.05902010/03/25 15:49:240B / ?B / ?B
11croyal590.00872010/03/15 22:04:180B / ?B / ?B
12JJeep630.03792010/03/19 06:20:063B / 39B / 11B

PHP _

RankUserSizeTimeDateStatistics
1primo530.03352010/03/15 19:20:301B / 27B / 25B
2o-cn530.04212010/03/19 14:00:291B / 27B / 25B
3TAKO/j0nKI580.01922010/03/14 17:54:580B / 30B / 28B
4ideo810.04172010/03/16 01:46:230B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki650.00362010/03/14 23:58:090B / 28B / 31B
2KirarinSnow660.00262010/03/14 11:39:510B / 31B / 31B
3murky-satyr660.03562010/03/15 04:47:200B / 23B / 35B
4murky-satyr630.34652010/04/06 01:50:590B / 28B / 31B
5kaki630.05842011/01/28 06:46:130B / 28B / 31B
6cddddr660.28182011/05/05 15:46:500B / 29B / 29B

Common LISP _

RankUserSizeTimeDateStatistics
1youz680.10132010/03/20 20:29:030B / 32B / 30B
2kozima680.09222010/03/20 20:40:310B / 32B / 30B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr543.73992010/03/27 11:54:360B / 28B / 20B
2youz553.88372010/03/23 20:00:000B / 18B / 29B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr602.98552010/03/24 07:36:260B / 22B / 35B
2youz643.02052010/03/23 12:50:320B / 24B / 35B
3tanon692.98622010/03/27 00:54:440B / ?B / ?B
4pla733.01672010/03/26 23:54:010B / 30B / 35B
5croyal1282.94932010/03/15 23:12:350B / ?B / ?B
6murky-satyr573.64462010/03/28 17:44:520B / 22B / 32B
7uochan655.41102010/11/24 21:39:150B / ?B / ?B

LilyPond _

RankUserSizeTimeDateStatistics
1KirarinSnow742.28822010/03/14 11:38:300B / 34B / 36B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr630.28132010/03/25 01:49:500B / 32B / 28B
2pooq780.27142010/03/15 19:06:413B / 47B / 27B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr450.00242010/03/14 10:26:220B / 20B / 25B
2nn450.00662010/03/14 11:23:550B / 27B / 18B
3o-cn450.00252010/03/17 06:51:130B / 27B / 18B
4xulapp450.03582010/03/25 04:59:330B / 27B / 18B
5mooz450.00252010/03/25 22:26:150B / 27B / 18B
6ktt460.00242010/03/14 23:40:160B / 28B / 18B
7TAKO/j0nKI460.00242010/03/14 23:56:010B / 28B / 18B
8cherenkov460.00242010/03/18 18:32:570B / 28B / 18B
9inaniwa460.00502010/03/19 13:00:510B / 28B / 18B
10msk460.03192010/03/23 22:01:040B / 28B / 18B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr580.07912010/03/27 11:19:040B / 29B / 25B
2pooq590.00172010/03/15 23:07:150B / 35B / 23B
3yamaya590.02852010/03/20 00:30:540B / 35B / 21B

Xtal _

RankUserSizeTimeDateStatistics
1murky-satyr510.05912010/03/27 18:26:460B / 29B / 22B
2pooq510.06132010/03/27 19:23:370B / 29B / 22B

Cyan _

RankUserSizeTimeDateStatistics
1youz563.21132010/03/23 19:59:190B / 26B / 26B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr770.11782010/03/27 19:11:510B / 47B / 28B

Prolog _

RankUserSizeTimeDateStatistics
1pooq830.29682010/03/15 11:02:240B / 42B / 36B
2teebee660.16172012/03/05 06:15:200B / 31B / 33B
3pooq710.15392012/03/05 06:04:130B / 35B / 31B

Forth _

RankUserSizeTimeDateStatistics
151b1150.11222010/03/22 23:48:350B / 77B / 9B
2zzo38970.10482011/05/10 15:19:090B / 59B / 18B
351b1030.06182010/04/03 23:05:130B / 70B / 8B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*460.03412010/03/18 06:35:310B / 26B / 20B

Erlang _

RankUserSizeTimeDateStatistics
151b1450.48582010/03/22 23:38:510B / 73B / 63B

J _

RankUserSizeTimeDateStatistics
1pooq380.08052010/03/14 10:40:230B / 9B / 29B
2I., S.(pooq(Maxima))350.15552011/01/28 20:14:210B / 9B / 26B
3medialuna850.07422014/08/13 23:21:580B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1teebee300.03422013/03/03 11:54:030B / 10B / 20B

C _

RankUserSizeTimeDateStatistics
1not590.00032010/03/14 20:27:560B / 30B / 29B
2inaniwa(rand)590.00032010/03/14 22:26:180B / 31B / 28B
351b(rand)590.00042010/03/14 22:33:220B / 31B / 28B
4nai590.00032010/03/16 04:06:340B / 30B / 29B
5msk(rand)590.00032010/03/20 18:01:370B / 31B / 28B
6inaniwa640.00102010/03/14 11:19:010B / 33B / 31B
7chocobi640.00102010/03/14 13:21:220B / 33B / 31B
851b640.00102010/03/14 21:01:590B / 33B / 31B
9porges640.00102010/03/15 14:26:360B / ?B / ?B
10nn640.00102010/03/15 22:25:200B / 33B / 31B
11msk640.00102010/03/20 17:03:330B / 33B / 31B
12uru640.02382010/03/27 20:27:100B / 33B / 31B
13eban650.00102010/03/14 18:38:540B / 33B / 32B
14Gunman650.00102010/03/19 11:57:290B / 33B / 32B
15TAKO/j0nKI660.00932010/03/14 18:39:360B / 34B / 32B
16GreaseMonkey680.00102010/03/14 13:52:230B / 35B / 33B
17tanakh680.01162010/03/26 21:29:570B / 34B / 34B
18mht730.02382010/03/26 18:29:510B / ?B / ?B
19not570.00032010/04/12 21:03:020B / 29B / 28B
20nai580.00042010/03/28 21:32:540B / 30B / 28B
21%20590.03702015/02/15 22:29:350B / 32B / 27B
22csanders660.04242010/11/30 09:23:430B / 34B / 32B

C++ _

RankUserSizeTimeDateStatistics
1nn820.00112010/03/15 22:43:580B / 45B / 35B
2TAKO/j0nKI850.00112010/03/15 01:03:371B / 46B / 36B

D _

RankUserSizeTimeDateStatistics
151b870.00152010/03/14 21:34:040B / 54B / 30B

Go _

RankUserSizeTimeDateStatistics
1uru1110.01382010/03/27 20:38:280B / 67B / 40B

OCaml _

RankUserSizeTimeDateStatistics
1ksk730.23272010/03/15 23:26:400B / 43B / 27B
2xsd770.06262010/03/14 22:56:120B / 43B / 28B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa580.00202010/03/14 21:46:030B / ?B / ?B
2rst76580.00202010/03/15 23:52:190B / 34B / 19B
3konn700.00202010/03/21 12:01:400B / 40B / 27B
4Lost_dog720.02382010/03/27 21:49:100B / 43B / 23B
5pi8027740.03062010/03/26 19:07:200B / 45B / 23B
6aaa750.00202010/03/20 09:23:000B / 43B / 21B
7nobsun780.00202010/03/16 09:14:470B / 48B / 24B
8TAKO/j0nKI1000.00182010/03/18 18:11:140B / 65B / 23B

ObjC _

RankUserSizeTimeDateStatistics
1%20590.03622015/02/15 22:38:150B / 32B / 27B

Java _

RankUserSizeTimeDateStatistics
1msk1150.28572010/03/23 20:35:330B / 80B / 32B
2mulder_fbi1150.27622010/03/24 01:03:050B / 80B / 32B
3hallvabo1160.31022010/03/26 19:28:030B / 81B / 32B
4nattow1260.28642010/03/15 19:12:180B / 87B / 36B
5tanakh1270.28882010/03/26 22:18:130B / 89B / 34B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*880.00112010/03/17 10:05:590B / 59B / 24B
2uru920.00112010/03/17 20:57:400B / 61B / 25B
3pooq1040.00112010/03/14 22:01:120B / 67B / 29B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*660.00132010/03/17 20:42:530B / 38B / 27B

C# _

RankUserSizeTimeDateStatistics
1mulder_fbi1240.16252010/03/24 01:03:210B / 85B / 34B
2Hex1270.21552010/03/15 03:11:480B / ?B / ?B
3chocobi1290.16062010/03/14 13:28:050B / 88B / 36B
4darefilz1290.16892010/03/16 09:41:200B / 88B / 36B
5TAKO/j0nKI1350.16392010/03/14 15:04:010B / 92B / 38B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*(LF)2410.04592012/01/02 12:36:250B / 170B / 41B

Maxima _

RankUserSizeTimeDateStatistics
1pooq620.73062010/03/15 23:06:460B / 36B / 23B

Octave _

RankUserSizeTimeDateStatistics
1pooq640.68442011/10/22 22:11:310B / 39B / 25B

Asymptote _

RankUserSizeTimeDateStatistics
1chocobi591.53402010/03/14 19:14:450B / 37B / 21B
2teebee(xulapp)540.64532011/12/14 00:30:260B / 32B / 21B
3xulapp561.49732010/04/12 03:16:010B / 34B / 21B

AWK _

RankUserSizeTimeDateStatistics
1nn370.00132010/03/14 21:57:250B / 20B / 17B
2yamaya370.02582010/03/20 00:31:510B / 20B / 17B
3eban380.00122010/03/14 19:20:320B / 20B / 17B
4unau380.00122010/03/14 19:38:150B / 20B / 17B
5pgas380.00132010/03/14 21:14:270B / 20B / 17B

sed _

RankUserSizeTimeDateStatistics
1msk5950.02432010/03/27 23:00:400B / 348B / 125B
2%201590.12822016/11/26 12:26:330B / 59B / 85B

Bash _

RankUserSizeTimeDateStatistics
1pgas510.00402010/03/18 21:06:120B / 24B / 23B
2yamaya510.04192010/03/20 00:31:270B / 22B / 27B
3eban580.00892010/03/14 18:04:510B / 30B / 23B

wake _

RankUserSizeTimeDateStatistics
1murky-satyr1010.61282010/08/05 15:19:410B / 40B / 56B
2emoken1080.62142010/07/27 07:35:030B / 43B / 59B

bc _

RankUserSizeTimeDateStatistics
1Carlos Gutierrez420.00212010/03/20 06:09:140B / 18B / 22B
2pooq510.00112010/03/16 17:36:190B / 27B / 23B
3eban520.00172010/03/14 18:35:250B / 28B / 23B
4unau610.00212010/03/14 20:02:230B / 32B / 28B
5teebee(Carlos Gutierrez)410.10662011/07/04 03:43:330B / 17B / 22B

dc _

RankUserSizeTimeDateStatistics
1tails (Carlos Gutierrez)240.08662012/03/20 16:11:170B / 15B / 9B
2Carlos Gutierrez250.01122010/04/04 21:11:030B / 15B / 10B

Postscript _

RankUserSizeTimeDateStatistics
1KirarinSnow(bin)450.24512010/03/14 12:07:2213B / 23B / 9B
2yshl(bin)450.25222010/03/14 23:26:0214B / 21B / 10B
3KirarinSnow(ASCII85)690.23942010/03/14 15:49:380B / 43B / 25B
4KirarinSnow720.23882010/03/14 12:06:500B / 48B / 13B
5yshl730.24412010/03/14 23:25:530B / 53B / 8B

R _

RankUserSizeTimeDateStatistics
1pooq610.53532010/03/15 23:11:340B / 33B / 28B
2pooq600.46282012/11/03 23:04:090B / 34B / 26B

QCL _

RankUserSizeTimeDateStatistics
1pooq730.00482010/03/16 00:18:270B / 45B / 21B

Whitespace _

RankUserSizeTimeDateStatistics
1kaz_u1050.04112016/11/25 00:10:000B / 0B / 0B
2%201140.04092015/02/15 22:02:140B / 0B / 0B

Befunge _

RankUserSizeTimeDateStatistics
1flagitious290.00162010/03/16 05:34:440B / 7B / 20B
2pla300.00342010/03/27 10:59:460B / 8B / 21B
3kaki320.00942010/03/15 09:03:030B / 7B / 22B

GolfScript _

RankUserSizeTimeDateStatistics
1nn200.10652010/03/14 13:13:200B / 4B / 16B
2KirarinSnow200.11012010/03/18 10:02:260B / 6B / 14B
3flagitious210.21412010/03/16 05:34:410B / 6B / 15B
4yvl210.29202010/03/27 18:31:050B / 7B / 14B
5irori230.11062010/03/14 11:47:060B / 7B / 16B
6betaveros230.10162010/03/15 19:12:160B / 6B / 17B

gs2 _

RankUserSizeTimeDateStatistics
1whio200.29172017/04/28 01:22:538B / 6B / 4B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu210.32392010/11/10 22:43:020B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*520.41012012/01/02 08:26:3131B / 11B / 6B

DOS _

RankUserSizeTimeDateStatistics
1*yuko*497.95112012/01/06 07:22:5435B / 10B / 3B

Vim _

RankUserSizeTimeDateStatistics
1pla360.13512010/03/16 04:46:442B / 21B / 12B
2nn400.12892010/03/15 20:34:442B / 20B / 17B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr360.09502010/03/14 20:33:330B / 11B / 22B

Groovy _

RankUserSizeTimeDateStatistics
1nn593.52792010/03/14 13:45:450B / 36B / 23B
2murky-satyr593.52652010/03/14 20:08:040B / 29B / 30B
3croyal1903.53782010/03/16 03:09:520B / ?B / ?B

Scala _

RankUserSizeTimeDateStatistics
1pooq6410.17062011/02/25 18:24:290B / 42B / 19B

Logo _

RankUserSizeTimeDateStatistics
1teebee560.04202011/03/23 08:46:440B / 29B / 19B

Language Ranking_

RankLangUserSizeScore
1GolfScriptnn2010000
2gs2whio2010000
3FlogScriptmilieu219523
4dctails (Carlos Gutierrez)248333
5Befungeflagitious296896
6Kteebee306666
7JI., S.(pooq(Maxima))355714
8gorubymurky-satyr365555
9Rubyflagitious(luck)365555
10Vimpla365555
11AWKnn375405
12Perlyibe395128
13bcteebee(Carlos Gutierrez)414878
14Pythonprimo444545
15JavaScriptmurky-satyr454444
16PostscriptKirarinSnow(bin)454444
17BASIC*yuko*464347
18DOS*yuko*494081
19Bashpgas513921
20Xtalmurky-satyr513921
21z80*yuko*523846
22PHPprimo533773
23Arcmurky-satyr543703
24Asymptoteteebee(xulapp)543703
25Cyanyouz563571
26Logoteebee563571
27Clojuremurky-satyr573508
28Cnot573508
29Haskellnotogawa583448
30Luamurky-satyr583448
31Groovynn593389
32ObjC%20593389
33Rpooq603333
34Maximapooq623225
35Iomurky-satyr633174
36Schememurky-satyr633174
37Scalapooq643125
38Octavepooq643125
39Fortran*yuko*663030
40Prologteebee663030
41Common LISPyouz682941
42OCamlksk732739
43QCLpooq732739
44LilyPondKirarinSnow742702
45Smalltalkmurky-satyr772597
46C++nn822439
47D51b872298
48Pascal*yuko*882272
49Forthzzo38972061
50wakemurky-satyr1011980
51Whitespacekaz_u1051904
52Gouru1111801
53Javamsk1151739
54C#mulder_fbi1241612
55Erlang51b1451379
56sed%201591257
57COBOL*yuko*(LF)241829

return top